Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.ui.behavior.fsm/src/org/eclipse/etrice/ui/behavior/fsm/provider/GenModelProvider.xtend')
-rw-r--r--plugins/org.eclipse.etrice.ui.behavior.fsm/src/org/eclipse/etrice/ui/behavior/fsm/provider/GenModelProvider.xtend3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.etrice.ui.behavior.fsm/src/org/eclipse/etrice/ui/behavior/fsm/provider/GenModelProvider.xtend b/plugins/org.eclipse.etrice.ui.behavior.fsm/src/org/eclipse/etrice/ui/behavior/fsm/provider/GenModelProvider.xtend
index 5c7a56d06..0d4c303e9 100644
--- a/plugins/org.eclipse.etrice.ui.behavior.fsm/src/org/eclipse/etrice/ui/behavior/fsm/provider/GenModelProvider.xtend
+++ b/plugins/org.eclipse.etrice.ui.behavior.fsm/src/org/eclipse/etrice/ui/behavior/fsm/provider/GenModelProvider.xtend
@@ -26,6 +26,7 @@ import org.eclipse.etrice.ui.behavior.fsm.editor.AbstractFSMDiagramTypeProvider
import org.eclipse.graphiti.dt.IDiagramTypeProvider
import org.eclipse.graphiti.services.Graphiti
import org.eclipse.etrice.core.genmodel.fsm.fsmgen.FSMGenElement
+import org.eclipse.etrice.core.genmodel.fsm.BasicFsmGenBuilderFactory
class GenModelProvider {
@@ -37,7 +38,7 @@ class GenModelProvider {
new(AbstractFSMDiagramTypeProvider fsmDiagramProvider) {
this.fsmDiagramProvider = fsmDiagramProvider
- builder = new BasicFsmGenBuilder(fsmDiagramProvider.injector)
+ builder = fsmDiagramProvider.injector.getInstance(BasicFsmGenBuilderFactory).create
}
def updateModel() {

Back to the top