Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/stereotypeproperty/xtext/ui/internal/AppliedStereotypePropertyActivator.java')
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/stereotypeproperty/xtext/ui/internal/AppliedStereotypePropertyActivator.java30
1 files changed, 15 insertions, 15 deletions
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/stereotypeproperty/xtext/ui/internal/AppliedStereotypePropertyActivator.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/stereotypeproperty/xtext/ui/internal/AppliedStereotypePropertyActivator.java
index b20839d2788..9de37e6c4da 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/stereotypeproperty/xtext/ui/internal/AppliedStereotypePropertyActivator.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/stereotypeproperty/xtext/ui/internal/AppliedStereotypePropertyActivator.java
@@ -19,35 +19,35 @@ import com.google.inject.Module;
/**
* This class was generated. Customizations should only happen in a newly
- * introduced subclass.
+ * introduced subclass.
*/
public class AppliedStereotypePropertyActivator extends AbstractUIPlugin {
-
+
public static final String ORG_ECLIPSE_PAPYRUS_UML_TEXTEDIT_STEREOTYPEPROPERTY_XTEXT_APPLIEDSTEREOTYPEPROPERTY = "org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext.AppliedStereotypeProperty";
-
+
private static final Logger logger = Logger.getLogger(AppliedStereotypePropertyActivator.class);
-
+
private static AppliedStereotypePropertyActivator INSTANCE;
-
+
private Map<String, Injector> injectors = Collections.synchronizedMap(Maps.<String, Injector> newHashMapWithExpectedSize(1));
-
+
@Override
public void start(BundleContext context) throws Exception {
super.start(context);
INSTANCE = this;
}
-
+
@Override
public void stop(BundleContext context) throws Exception {
injectors.clear();
INSTANCE = null;
super.stop(context);
}
-
+
public static AppliedStereotypePropertyActivator getInstance() {
return INSTANCE;
}
-
+
public Injector getInjector(String language) {
synchronized (injectors) {
Injector injector = injectors.get(language);
@@ -57,7 +57,7 @@ public class AppliedStereotypePropertyActivator extends AbstractUIPlugin {
return injector;
}
}
-
+
protected Injector createInjector(String language) {
try {
Module runtimeModule = getRuntimeModule(language);
@@ -76,20 +76,20 @@ public class AppliedStereotypePropertyActivator extends AbstractUIPlugin {
if (ORG_ECLIPSE_PAPYRUS_UML_TEXTEDIT_STEREOTYPEPROPERTY_XTEXT_APPLIEDSTEREOTYPEPROPERTY.equals(grammar)) {
return new org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext.AppliedStereotypePropertyRuntimeModule();
}
-
+
throw new IllegalArgumentException(grammar);
}
-
+
protected Module getUiModule(String grammar) {
if (ORG_ECLIPSE_PAPYRUS_UML_TEXTEDIT_STEREOTYPEPROPERTY_XTEXT_APPLIEDSTEREOTYPEPROPERTY.equals(grammar)) {
return new org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext.ui.AppliedStereotypePropertyUiModule(this);
}
-
+
throw new IllegalArgumentException(grammar);
}
-
+
protected Module getSharedStateModule() {
return new SharedStateModule();
}
-
+
}

Back to the top