Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.constraintwithessentialocl.xtext/src/org/eclipse/papyrus/uml/textedit/constraintwithessentialocl/xtext/EssentialOCLPopupPlugin.java')
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.constraintwithessentialocl.xtext/src/org/eclipse/papyrus/uml/textedit/constraintwithessentialocl/xtext/EssentialOCLPopupPlugin.java71
1 files changed, 0 insertions, 71 deletions
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.constraintwithessentialocl.xtext/src/org/eclipse/papyrus/uml/textedit/constraintwithessentialocl/xtext/EssentialOCLPopupPlugin.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.constraintwithessentialocl.xtext/src/org/eclipse/papyrus/uml/textedit/constraintwithessentialocl/xtext/EssentialOCLPopupPlugin.java
deleted file mode 100644
index b60d8fe21f7..00000000000
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.constraintwithessentialocl.xtext/src/org/eclipse/papyrus/uml/textedit/constraintwithessentialocl/xtext/EssentialOCLPopupPlugin.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * 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:
- * E.D.Willink - Initial API and implementation
- * CEA LIST - Architecture refactoring
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.uml.textedit.constraintwithessentialocl.xtext;
-
-import org.eclipse.ocl.examples.xtext.essentialocl.ui.internal.EssentialOCLActivator;
-import org.eclipse.ocl.examples.xtext.essentialocl.utilities.EssentialOCLPlugin;
-
-import com.google.inject.Module;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class EssentialOCLPopupPlugin extends EssentialOCLActivator
-{
- // The shared instance.
- private static EssentialOCLPopupPlugin plugin;
-
- /**
- * Returns the shared instance.
- */
- public static EssentialOCLPopupPlugin getInstance() {
- return plugin;
- }
-
- /**
- * Obtains my plug-in ID.
- *
- * @return my plug-in ID
- */
- public static String getPluginId() {
- return getInstance().getBundle().getSymbolicName();
- }
-
- /**
- * The constructor.
- */
- public EssentialOCLPopupPlugin() {
- super();
- plugin = this;
- }
-
-
- protected Module getRuntimeModule(String grammar) {
- if (EssentialOCLPlugin.LANGUAGE_ID.equals(grammar)) {
- return new EssentialOCLPopupRuntimeModule();
- }
-
- throw new IllegalArgumentException(grammar);
- }
-
- protected Module getUiModule(String grammar) {
- if (EssentialOCLPlugin.LANGUAGE_ID.equals(grammar)) {
- return new EssentialOCLPopupUiModule(this);
- }
-
- throw new IllegalArgumentException(grammar);
- }
-}

Back to the top