blob: c08b637bfbbf07a288ea5736165bac8ecd208aef [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016 KPIT Technologies.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Jan Mauersberger- initial API and implementation
* Sascha Baumgart- initial API and implementation
*******************************************************************************/
/*
*
*/
package org.eclipse.opencert.vocabulary.diagram.providers;
import org.eclipse.opencert.vocabulary.diagram.part.VocabularyDiagramEditorPlugin;
/**
* @generated
*/
public class ElementInitializers {
protected ElementInitializers() {
// use #getInstance to access cached instance
}
/**
* @generated
*/
public static ElementInitializers getInstance() {
ElementInitializers cached = VocabularyDiagramEditorPlugin
.getInstance().getElementInitializers();
if (cached == null) {
VocabularyDiagramEditorPlugin.getInstance().setElementInitializers(
cached = new ElementInitializers());
}
return cached;
}
}