|
@@ -1,27 +1,41 @@
|
|
|
-/*
|
|
|
- * generated by Xtext
|
|
|
+/**
|
|
|
+ * Copyright (c) 2011 committers of YAKINDU and others.
|
|
|
+ * 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:
|
|
|
+ * committers of YAKINDU - initial API and implementation
|
|
|
+ *
|
|
|
*/
|
|
|
package org.yakindu.sct.statechart.core.resource.factory;
|
|
|
|
|
|
+import org.eclipse.core.runtime.IExecutableExtensionFactory;
|
|
|
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
|
|
|
import org.osgi.framework.Bundle;
|
|
|
|
|
|
import com.google.inject.Injector;
|
|
|
|
|
|
/**
|
|
|
- * This class was generated. Customizations should only happen in a newly
|
|
|
- * introduced subclass.
|
|
|
+ * {@link IExecutableExtensionFactory} to use with classes from this bundle.
|
|
|
+ *
|
|
|
+ * @author andreas muelder
|
|
|
+ *
|
|
|
*/
|
|
|
-public class ExpressionsExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
|
|
|
+public class ExpressionsExecutableExtensionFactory extends
|
|
|
+ AbstractGuiceAwareExecutableExtensionFactory {
|
|
|
|
|
|
@Override
|
|
|
protected Bundle getBundle() {
|
|
|
- return org.yakindu.sct.statechart.core.resource.Activator.getDefault().getBundle();
|
|
|
+ return org.yakindu.sct.statechart.core.resource.Activator.getDefault()
|
|
|
+ .getBundle();
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@Override
|
|
|
protected Injector getInjector() {
|
|
|
- return org.yakindu.sct.statechart.ui.internal.ExpressionsActivator.getInstance().getInjector("org.yakindu.sct.statechart.Expressions");
|
|
|
+ return org.yakindu.sct.statechart.ui.internal.ExpressionsActivator
|
|
|
+ .getInstance().getInjector(
|
|
|
+ "org.yakindu.sct.statechart.Expressions"); //$//$NON-NLS-N$
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
}
|