/* * Copyright (c) 2007 Borland Software Corporation * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Dmitry Stadnik (Borland) - initial API and implementation */ package org.eclipse.gmf.examples.taipan.port.diagram.providers; import org.eclipse.gmf.examples.taipan.port.diagram.part.PortDiagramEditorPlugin; /** * @generated */ public class ElementInitializers { protected ElementInitializers() { // use #getInstance to access cached instance } /** * @generated */ public static ElementInitializers getInstance() { ElementInitializers cached = PortDiagramEditorPlugin.getInstance().getElementInitializers(); if (cached == null) { PortDiagramEditorPlugin.getInstance().setElementInitializers(cached = new ElementInitializers()); } return cached; } }