diff options
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ui')
10 files changed, 1645 insertions, 1345 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/META-INF/MANIFEST.MF b/Application/hu.bme.mit.inf.dslreasoner.application.ui/META-INF/MANIFEST.MF index df5caadc..38bb7dbd 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/META-INF/MANIFEST.MF +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/META-INF/MANIFEST.MF | |||
@@ -1,27 +1,32 @@ | |||
1 | Manifest-Version: 1.0 | 1 | Manifest-Version: 1.0 |
2 | Bundle-ManifestVersion: 2 | 2 | Bundle-ManifestVersion: 2 |
3 | Bundle-Name: hu.bme.mit.inf.dslreasoner.application.ui | 3 | Bundle-Name: hu.bme.mit.inf.dslreasoner.application.ui |
4 | Bundle-Vendor: My Company | 4 | Bundle-Vendor: My Company |
5 | Bundle-Version: 1.0.0.qualifier | 5 | Bundle-Version: 1.0.0.qualifier |
6 | Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.application.ui; singleton:=true | 6 | Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.application.ui; singleton:=true |
7 | Bundle-ActivationPolicy: lazy | 7 | Bundle-ActivationPolicy: lazy |
8 | Require-Bundle: hu.bme.mit.inf.dslreasoner.application, | 8 | Require-Bundle: hu.bme.mit.inf.dslreasoner.application, |
9 | hu.bme.mit.inf.dslreasoner.application.ide, | 9 | hu.bme.mit.inf.dslreasoner.application.ide, |
10 | org.eclipse.xtext.ui, | 10 | org.eclipse.xtext.ui, |
11 | org.eclipse.xtext.ui.shared, | 11 | org.eclipse.xtext.ui.shared, |
12 | org.eclipse.xtext.ui.codetemplates.ui, | 12 | org.eclipse.xtext.ui.codetemplates.ui, |
13 | org.eclipse.ui.editors;bundle-version="3.5.0", | 13 | org.eclipse.ui.editors;bundle-version="3.5.0", |
14 | org.eclipse.ui.ide;bundle-version="3.5.0", | 14 | org.eclipse.ui.ide;bundle-version="3.5.0", |
15 | org.eclipse.ui, | 15 | org.eclipse.ui;bundle-version="3.108.1", |
16 | org.eclipse.compare, | 16 | org.eclipse.ui.workbench.texteditor, |
17 | org.eclipse.xtext.builder, | 17 | org.eclipse.ui.console;bundle-version="3.6.201", |
18 | org.eclipse.xtend.lib;resolution:=optional, | 18 | org.eclipse.jface;bundle-version="3.12.2", |
19 | org.eclipse.xtext.xbase.lib, | 19 | org.eclipse.core.filesystem, |
20 | org.eclipse.viatra.addon.validation.runtime.ui;bundle-version="1.7.0" | 20 | org.eclipse.text, |
21 | Import-Package: org.apache.log4j | 21 | org.eclipse.compare, |
22 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8 | 22 | org.eclipse.xtext.builder, |
23 | Export-Package: hu.bme.mit.inf.dslreasoner.application.ui.quickfix, | 23 | org.eclipse.xtend.lib;bundle-version="2.14.0";resolution:=optional, |
24 | hu.bme.mit.inf.dslreasoner.application.ui.contentassist, | 24 | org.eclipse.xtext.xbase.lib;bundle-version="2.14.0", |
25 | hu.bme.mit.inf.dslreasoner.application.ui.internal | 25 | org.eclipse.viatra.addon.validation.runtime.ui;bundle-version="1.7.0" |
26 | Bundle-Activator: hu.bme.mit.inf.dslreasoner.application.ui.internal.ApplicationActivator | 26 | Import-Package: org.apache.log4j |
27 | Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.application.ui | 27 | Bundle-RequiredExecutionEnvironment: JavaSE-1.8 |
28 | Export-Package: hu.bme.mit.inf.dslreasoner.application.ui.quickfix, | ||
29 | hu.bme.mit.inf.dslreasoner.application.ui.contentassist, | ||
30 | hu.bme.mit.inf.dslreasoner.application.ui.internal | ||
31 | Bundle-Activator: hu.bme.mit.inf.dslreasoner.application.ui.internal.ApplicationActivator | ||
32 | Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.application.ui | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/plugin.xml b/Application/hu.bme.mit.inf.dslreasoner.application.ui/plugin.xml index 099d6993..304df098 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/plugin.xml +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/plugin.xml | |||
@@ -419,12 +419,20 @@ | |||
419 | point="org.eclipse.ui.menus"> | 419 | point="org.eclipse.ui.menus"> |
420 | <menuContribution | 420 | <menuContribution |
421 | allPopups="false" | 421 | allPopups="false" |
422 | locationURI="popup:org.eclipse.ui.popup.any?after=org.eclipse.viatra.addon.validation.runtime.ui.menu"> | 422 | locationURI="popup:hu.bme.mit.inf.dslreasoner.application.ui.menu"> |
423 | <command | 423 | <command |
424 | commandId="hu.bme.mit.inf.dslreasoner.application.ui.executescript" | 424 | commandId="hu.bme.mit.inf.dslreasoner.application.ui.executescript" |
425 | label="VIATRA Solver: Execute" | 425 | label="Execute Application Configuration" |
426 | style="push"> | 426 | style="push"> |
427 | </command> | 427 | </command> |
428 | </menuContribution> | 428 | </menuContribution> |
429 | <menuContribution | ||
430 | allPopups="false" | ||
431 | locationURI="popup:org.eclipse.ui.popup.any?after=org.eclipse.viatra.addon.validation.runtime.ui.menu"> | ||
432 | <menu | ||
433 | id="hu.bme.mit.inf.dslreasoner.application.ui.menu" | ||
434 | label="VIATRA Solver"> | ||
435 | </menu> | ||
436 | </menuContribution> | ||
429 | </extension> | 437 | </extension> |
430 | </plugin> | 438 | </plugin> |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/plugin.xml_gen b/Application/hu.bme.mit.inf.dslreasoner.application.ui/plugin.xml_gen index fd03c81e..c580c851 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/plugin.xml_gen +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/plugin.xml_gen | |||
@@ -1,410 +1,425 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <?eclipse version="3.0"?> | 2 | <?eclipse version="3.0"?> |
3 | <plugin> | 3 | <plugin> |
4 | <extension | 4 | <extension |
5 | point="org.eclipse.ui.editors"> | 5 | point="org.eclipse.ui.editors"> |
6 | <editor | 6 | <editor |
7 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor" | 7 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor" |
8 | contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor" | 8 | contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor" |
9 | default="true" | 9 | default="true" |
10 | extensions="vsconfig" | 10 | extensions="vsconfig" |
11 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" | 11 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" |
12 | name="ApplicationConfiguration Editor"> | 12 | name="ApplicationConfiguration Editor"> |
13 | </editor> | 13 | </editor> |
14 | </extension> | 14 | </extension> |
15 | <extension | 15 | <extension |
16 | point="org.eclipse.ui.handlers"> | 16 | point="org.eclipse.ui.handlers"> |
17 | <handler | 17 | <handler |
18 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler" | 18 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler" |
19 | commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration"> | 19 | commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration"> |
20 | <activeWhen> | 20 | <activeWhen> |
21 | <reference | 21 | <reference |
22 | definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"> | 22 | definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"> |
23 | </reference> | 23 | </reference> |
24 | </activeWhen> | 24 | </activeWhen> |
25 | </handler> | 25 | </handler> |
26 | <handler | 26 | <handler |
27 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler" | 27 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler" |
28 | commandId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.validate"> | 28 | commandId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.validate"> |
29 | <activeWhen> | 29 | <activeWhen> |
30 | <reference | 30 | <reference |
31 | definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"> | 31 | definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"> |
32 | </reference> | 32 | </reference> |
33 | </activeWhen> | 33 | </activeWhen> |
34 | </handler> | 34 | </handler> |
35 | <!-- copy qualified name --> | 35 | <!-- copy qualified name --> |
36 | <handler | 36 | <handler |
37 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedNameHandler" | 37 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedNameHandler" |
38 | commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"> | 38 | commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"> |
39 | <activeWhen> | 39 | <activeWhen> |
40 | <reference definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened" /> | 40 | <reference definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened" /> |
41 | </activeWhen> | 41 | </activeWhen> |
42 | </handler> | 42 | </handler> |
43 | <handler | 43 | <handler |
44 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedNameHandler" | 44 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedNameHandler" |
45 | commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"> | 45 | commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"> |
46 | <activeWhen> | 46 | <activeWhen> |
47 | <and> | 47 | <and> |
48 | <reference definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.XtextEditor.opened" /> | 48 | <reference definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.XtextEditor.opened" /> |
49 | <iterate> | 49 | <iterate> |
50 | <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" /> | 50 | <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" /> |
51 | </iterate> | 51 | </iterate> |
52 | </and> | 52 | </and> |
53 | </activeWhen> | 53 | </activeWhen> |
54 | </handler> | 54 | </handler> |
55 | </extension> | 55 | </extension> |
56 | <extension point="org.eclipse.core.expressions.definitions"> | 56 | <extension point="org.eclipse.core.expressions.definitions"> |
57 | <definition id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"> | 57 | <definition id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"> |
58 | <and> | 58 | <and> |
59 | <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/> | 59 | <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/> |
60 | <with variable="activeEditor"> | 60 | <with variable="activeEditor"> |
61 | <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName" | 61 | <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName" |
62 | value="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" | 62 | value="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" |
63 | forcePluginActivation="true"/> | 63 | forcePluginActivation="true"/> |
64 | </with> | 64 | </with> |
65 | </and> | 65 | </and> |
66 | </definition> | 66 | </definition> |
67 | <definition id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.XtextEditor.opened"> | 67 | <definition id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.XtextEditor.opened"> |
68 | <and> | 68 | <and> |
69 | <reference definitionId="isXtextEditorActive"/> | 69 | <reference definitionId="isXtextEditorActive"/> |
70 | <with variable="activeEditor"> | 70 | <with variable="activeEditor"> |
71 | <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName" | 71 | <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName" |
72 | value="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" | 72 | value="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" |
73 | forcePluginActivation="true"/> | 73 | forcePluginActivation="true"/> |
74 | </with> | 74 | </with> |
75 | </and> | 75 | </and> |
76 | </definition> | 76 | </definition> |
77 | </extension> | 77 | </extension> |
78 | <extension | 78 | <extension |
79 | point="org.eclipse.ui.preferencePages"> | 79 | point="org.eclipse.ui.preferencePages"> |
80 | <page | 80 | <page |
81 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage" | 81 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage" |
82 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" | 82 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" |
83 | name="ApplicationConfiguration"> | 83 | name="ApplicationConfiguration"> |
84 | <keywordReference id="hu.bme.mit.inf.dslreasoner.application.ui.keyword_ApplicationConfiguration"/> | 84 | <keywordReference id="hu.bme.mit.inf.dslreasoner.application.ui.keyword_ApplicationConfiguration"/> |
85 | </page> | 85 | </page> |
86 | <page | 86 | <page |
87 | category="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" | 87 | category="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" |
88 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage" | 88 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage" |
89 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.coloring" | 89 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.coloring" |
90 | name="Syntax Coloring"> | 90 | name="Syntax Coloring"> |
91 | <keywordReference id="hu.bme.mit.inf.dslreasoner.application.ui.keyword_ApplicationConfiguration"/> | 91 | <keywordReference id="hu.bme.mit.inf.dslreasoner.application.ui.keyword_ApplicationConfiguration"/> |
92 | </page> | 92 | </page> |
93 | <page | 93 | <page |
94 | category="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" | 94 | category="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" |
95 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage" | 95 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage" |
96 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.templates" | 96 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.templates" |
97 | name="Templates"> | 97 | name="Templates"> |
98 | <keywordReference id="hu.bme.mit.inf.dslreasoner.application.ui.keyword_ApplicationConfiguration"/> | 98 | <keywordReference id="hu.bme.mit.inf.dslreasoner.application.ui.keyword_ApplicationConfiguration"/> |
99 | </page> | 99 | </page> |
100 | </extension> | 100 | </extension> |
101 | <extension | 101 | <extension |
102 | point="org.eclipse.ui.propertyPages"> | 102 | point="org.eclipse.ui.propertyPages"> |
103 | <page | 103 | <page |
104 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage" | 104 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage" |
105 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" | 105 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" |
106 | name="ApplicationConfiguration"> | 106 | name="ApplicationConfiguration"> |
107 | <keywordReference id="hu.bme.mit.inf.dslreasoner.application.ui.keyword_ApplicationConfiguration"/> | 107 | <keywordReference id="hu.bme.mit.inf.dslreasoner.application.ui.keyword_ApplicationConfiguration"/> |
108 | <enabledWhen> | 108 | <enabledWhen> |
109 | <adapt type="org.eclipse.core.resources.IProject"/> | 109 | <adapt type="org.eclipse.core.resources.IProject"/> |
110 | </enabledWhen> | 110 | </enabledWhen> |
111 | <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/> | 111 | <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/> |
112 | </page> | 112 | </page> |
113 | </extension> | 113 | </extension> |
114 | <extension | 114 | <extension |
115 | point="org.eclipse.ui.keywords"> | 115 | point="org.eclipse.ui.keywords"> |
116 | <keyword | 116 | <keyword |
117 | id="hu.bme.mit.inf.dslreasoner.application.ui.keyword_ApplicationConfiguration" | 117 | id="hu.bme.mit.inf.dslreasoner.application.ui.keyword_ApplicationConfiguration" |
118 | label="ApplicationConfiguration"/> | 118 | label="ApplicationConfiguration"/> |
119 | </extension> | 119 | </extension> |
120 | <extension | 120 | <extension |
121 | point="org.eclipse.ui.commands"> | 121 | point="org.eclipse.ui.commands"> |
122 | <command | 122 | <command |
123 | description="Trigger expensive validation" | 123 | description="Trigger expensive validation" |
124 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.validate" | 124 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.validate" |
125 | name="Validate"> | 125 | name="Validate"> |
126 | </command> | 126 | </command> |
127 | <!-- copy qualified name --> | 127 | <!-- copy qualified name --> |
128 | <command | 128 | <command |
129 | id="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName" | 129 | id="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName" |
130 | categoryId="org.eclipse.ui.category.edit" | 130 | categoryId="org.eclipse.ui.category.edit" |
131 | description="Copy the qualified name for the selected element" | 131 | description="Copy the qualified name for the selected element" |
132 | name="Copy Qualified Name"> | 132 | name="Copy Qualified Name"> |
133 | </command> | 133 | </command> |
134 | <command | 134 | <command |
135 | id="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName" | 135 | id="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName" |
136 | categoryId="org.eclipse.ui.category.edit" | 136 | categoryId="org.eclipse.ui.category.edit" |
137 | description="Copy the qualified name for the selected element" | 137 | description="Copy the qualified name for the selected element" |
138 | name="Copy Qualified Name"> | 138 | name="Copy Qualified Name"> |
139 | </command> | 139 | </command> |
140 | </extension> | 140 | </extension> |
141 | <extension point="org.eclipse.ui.menus"> | 141 | <extension point="org.eclipse.ui.menus"> |
142 | <menuContribution | 142 | <menuContribution |
143 | locationURI="popup:#TextEditorContext?after=group.edit"> | 143 | locationURI="popup:#TextEditorContext?after=group.edit"> |
144 | <command | 144 | <command |
145 | commandId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.validate" | 145 | commandId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.validate" |
146 | style="push" | 146 | style="push" |
147 | tooltip="Trigger expensive validation"> | 147 | tooltip="Trigger expensive validation"> |
148 | <visibleWhen checkEnabled="false"> | 148 | <visibleWhen checkEnabled="false"> |
149 | <reference | 149 | <reference |
150 | definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"> | 150 | definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"> |
151 | </reference> | 151 | </reference> |
152 | </visibleWhen> | 152 | </visibleWhen> |
153 | </command> | 153 | </command> |
154 | </menuContribution> | 154 | </menuContribution> |
155 | <!-- copy qualified name --> | 155 | <!-- copy qualified name --> |
156 | <menuContribution locationURI="popup:#TextEditorContext?after=copy"> | 156 | <menuContribution locationURI="popup:#TextEditorContext?after=copy"> |
157 | <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName" | 157 | <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName" |
158 | style="push" tooltip="Copy Qualified Name"> | 158 | style="push" tooltip="Copy Qualified Name"> |
159 | <visibleWhen checkEnabled="false"> | 159 | <visibleWhen checkEnabled="false"> |
160 | <reference definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened" /> | 160 | <reference definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened" /> |
161 | </visibleWhen> | 161 | </visibleWhen> |
162 | </command> | 162 | </command> |
163 | </menuContribution> | 163 | </menuContribution> |
164 | <menuContribution locationURI="menu:edit?after=copy"> | 164 | <menuContribution locationURI="menu:edit?after=copy"> |
165 | <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName" | 165 | <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName" |
166 | style="push" tooltip="Copy Qualified Name"> | 166 | style="push" tooltip="Copy Qualified Name"> |
167 | <visibleWhen checkEnabled="false"> | 167 | <visibleWhen checkEnabled="false"> |
168 | <reference definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened" /> | 168 | <reference definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened" /> |
169 | </visibleWhen> | 169 | </visibleWhen> |
170 | </command> | 170 | </command> |
171 | </menuContribution> | 171 | </menuContribution> |
172 | <menuContribution locationURI="popup:org.eclipse.xtext.ui.outline?after=additions"> | 172 | <menuContribution locationURI="popup:org.eclipse.xtext.ui.outline?after=additions"> |
173 | <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName" | 173 | <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName" |
174 | style="push" tooltip="Copy Qualified Name"> | 174 | style="push" tooltip="Copy Qualified Name"> |
175 | <visibleWhen checkEnabled="false"> | 175 | <visibleWhen checkEnabled="false"> |
176 | <and> | 176 | <and> |
177 | <reference definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.XtextEditor.opened" /> | 177 | <reference definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.XtextEditor.opened" /> |
178 | <iterate> | 178 | <iterate> |
179 | <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" /> | 179 | <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" /> |
180 | </iterate> | 180 | </iterate> |
181 | </and> | 181 | </and> |
182 | </visibleWhen> | 182 | </visibleWhen> |
183 | </command> | 183 | </command> |
184 | </menuContribution> | 184 | </menuContribution> |
185 | </extension> | 185 | </extension> |
186 | <extension point="org.eclipse.ui.menus"> | 186 | <extension point="org.eclipse.ui.menus"> |
187 | <menuContribution locationURI="popup:#TextEditorContext?endof=group.find"> | 187 | <menuContribution locationURI="popup:#TextEditorContext?endof=group.find"> |
188 | <command commandId="org.eclipse.xtext.ui.editor.FindReferences"> | 188 | <command commandId="org.eclipse.xtext.ui.editor.FindReferences"> |
189 | <visibleWhen checkEnabled="false"> | 189 | <visibleWhen checkEnabled="false"> |
190 | <reference definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"> | 190 | <reference definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"> |
191 | </reference> | 191 | </reference> |
192 | </visibleWhen> | 192 | </visibleWhen> |
193 | </command> | 193 | </command> |
194 | </menuContribution> | 194 | </menuContribution> |
195 | </extension> | 195 | </extension> |
196 | <extension point="org.eclipse.ui.handlers"> | 196 | <extension point="org.eclipse.ui.handlers"> |
197 | <handler | 197 | <handler |
198 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler" | 198 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler" |
199 | commandId="org.eclipse.xtext.ui.editor.FindReferences"> | 199 | commandId="org.eclipse.xtext.ui.editor.FindReferences"> |
200 | <activeWhen> | 200 | <activeWhen> |
201 | <reference | 201 | <reference |
202 | definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"> | 202 | definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"> |
203 | </reference> | 203 | </reference> |
204 | </activeWhen> | 204 | </activeWhen> |
205 | </handler> | 205 | </handler> |
206 | </extension> | 206 | </extension> |
207 | <!-- adding resource factories --> | 207 | <extension point="org.eclipse.core.contenttype.contentTypes"> |
208 | <extension | 208 | <content-type |
209 | point="org.eclipse.emf.ecore.extension_parser"> | 209 | base-type="org.eclipse.core.runtime.text" |
210 | <parser | 210 | file-extensions="vsconfig" |
211 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory" | 211 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.contenttype" |
212 | type="vsconfig"> | 212 | name="ApplicationConfiguration File" |
213 | </parser> | 213 | priority="normal"> |
214 | </extension> | 214 | </content-type> |
215 | <extension point="org.eclipse.xtext.extension_resourceServiceProvider"> | 215 | </extension> |
216 | <resourceServiceProvider | 216 | <!-- adding resource factories --> |
217 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider" | 217 | <extension |
218 | uriExtension="vsconfig"> | 218 | point="org.eclipse.emf.ecore.extension_parser"> |
219 | </resourceServiceProvider> | 219 | <parser |
220 | </extension> | 220 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory" |
221 | <!-- marker definitions for hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration --> | 221 | type="vsconfig"> |
222 | <extension | 222 | </parser> |
223 | id="applicationconfiguration.check.fast" | 223 | </extension> |
224 | name="ApplicationConfiguration Problem" | 224 | <extension point="org.eclipse.xtext.extension_resourceServiceProvider"> |
225 | point="org.eclipse.core.resources.markers"> | 225 | <resourceServiceProvider |
226 | <super type="org.eclipse.xtext.ui.check.fast"/> | 226 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider" |
227 | <persistent value="true"/> | 227 | uriExtension="vsconfig"> |
228 | </extension> | 228 | </resourceServiceProvider> |
229 | <extension | 229 | </extension> |
230 | id="applicationconfiguration.check.normal" | 230 | <!-- marker definitions for hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration --> |
231 | name="ApplicationConfiguration Problem" | 231 | <extension |
232 | point="org.eclipse.core.resources.markers"> | 232 | id="applicationconfiguration.check.fast" |
233 | <super type="org.eclipse.xtext.ui.check.normal"/> | 233 | name="ApplicationConfiguration Problem" |
234 | <persistent value="true"/> | 234 | point="org.eclipse.core.resources.markers"> |
235 | </extension> | 235 | <super type="org.eclipse.xtext.ui.check.fast"/> |
236 | <extension | 236 | <persistent value="true"/> |
237 | id="applicationconfiguration.check.expensive" | 237 | </extension> |
238 | name="ApplicationConfiguration Problem" | 238 | <extension |
239 | point="org.eclipse.core.resources.markers"> | 239 | id="applicationconfiguration.check.normal" |
240 | <super type="org.eclipse.xtext.ui.check.expensive"/> | 240 | name="ApplicationConfiguration Problem" |
241 | <persistent value="true"/> | 241 | point="org.eclipse.core.resources.markers"> |
242 | </extension> | 242 | <super type="org.eclipse.xtext.ui.check.normal"/> |
243 | <extension point="org.eclipse.xtext.builder.participant"> | 243 | <persistent value="true"/> |
244 | <participant | 244 | </extension> |
245 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant" | 245 | <extension |
246 | fileExtensions="vsconfig"/> | 246 | id="applicationconfiguration.check.expensive" |
247 | </extension> | 247 | name="ApplicationConfiguration Problem" |
248 | <extension point="org.eclipse.ui.preferencePages"> | 248 | point="org.eclipse.core.resources.markers"> |
249 | <page | 249 | <super type="org.eclipse.xtext.ui.check.expensive"/> |
250 | category="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" | 250 | <persistent value="true"/> |
251 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage" | 251 | </extension> |
252 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.compiler.preferencePage" | 252 | <extension point="org.eclipse.xtext.builder.participant"> |
253 | name="Compiler"> | 253 | <participant |
254 | <keywordReference id="hu.bme.mit.inf.dslreasoner.application.ui.keyword_ApplicationConfiguration"/> | 254 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant" |
255 | </page> | 255 | fileExtensions="vsconfig"/> |
256 | </extension> | 256 | </extension> |
257 | <extension point="org.eclipse.ui.propertyPages"> | 257 | <extension point="org.eclipse.ui.preferencePages"> |
258 | <page | 258 | <page |
259 | category="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" | 259 | category="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" |
260 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage" | 260 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage" |
261 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.compiler.propertyPage" | 261 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.compiler.preferencePage" |
262 | name="Compiler"> | 262 | name="Compiler"> |
263 | <keywordReference id="hu.bme.mit.inf.dslreasoner.application.ui.keyword_ApplicationConfiguration"/> | 263 | <keywordReference id="hu.bme.mit.inf.dslreasoner.application.ui.keyword_ApplicationConfiguration"/> |
264 | <enabledWhen> | 264 | </page> |
265 | <adapt type="org.eclipse.core.resources.IProject"/> | 265 | </extension> |
266 | </enabledWhen> | 266 | <extension point="org.eclipse.ui.propertyPages"> |
267 | <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/> | 267 | <page |
268 | </page> | 268 | category="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" |
269 | </extension> | 269 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage" |
270 | <extension point="org.eclipse.ui.menus"> | 270 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.compiler.propertyPage" |
271 | <menuContribution locationURI="popup:#TextEditorContext?after=xtext.ui.openDeclaration"> | 271 | name="Compiler"> |
272 | <command | 272 | <keywordReference id="hu.bme.mit.inf.dslreasoner.application.ui.keyword_ApplicationConfiguration"/> |
273 | commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand" | 273 | <enabledWhen> |
274 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.OpenGeneratedCode" | 274 | <adapt type="org.eclipse.core.resources.IProject"/> |
275 | style="push"> | 275 | </enabledWhen> |
276 | <visibleWhen checkEnabled="false"> | 276 | <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/> |
277 | <reference definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened" /> | 277 | </page> |
278 | </visibleWhen> | 278 | </extension> |
279 | </command> | 279 | <extension point="org.eclipse.ui.menus"> |
280 | </menuContribution> | 280 | <menuContribution locationURI="popup:#TextEditorContext?after=xtext.ui.openDeclaration"> |
281 | </extension> | 281 | <command |
282 | <extension point="org.eclipse.ui.handlers"> | 282 | commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand" |
283 | <handler | 283 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.OpenGeneratedCode" |
284 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.generator.trace.OpenGeneratedFileHandler" | 284 | style="push"> |
285 | commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand"> | 285 | <visibleWhen checkEnabled="false"> |
286 | <activeWhen> | 286 | <reference definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened" /> |
287 | <reference definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened" /> | 287 | </visibleWhen> |
288 | </activeWhen> | 288 | </command> |
289 | </handler> | 289 | </menuContribution> |
290 | </extension> | 290 | </extension> |
291 | <!-- Quick Outline --> | 291 | <extension point="org.eclipse.ui.handlers"> |
292 | <extension | 292 | <handler |
293 | point="org.eclipse.ui.handlers"> | 293 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.generator.trace.OpenGeneratedFileHandler" |
294 | <handler | 294 | commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand"> |
295 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler" | 295 | <activeWhen> |
296 | commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"> | 296 | <reference definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened" /> |
297 | <activeWhen> | 297 | </activeWhen> |
298 | <reference | 298 | </handler> |
299 | definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"> | 299 | </extension> |
300 | </reference> | 300 | <!-- Quick Outline --> |
301 | </activeWhen> | 301 | <extension |
302 | </handler> | 302 | point="org.eclipse.ui.handlers"> |
303 | </extension> | 303 | <handler |
304 | <extension | 304 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler" |
305 | point="org.eclipse.ui.commands"> | 305 | commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"> |
306 | <command | 306 | <activeWhen> |
307 | description="Open the quick outline." | 307 | <reference |
308 | id="org.eclipse.xtext.ui.editor.outline.QuickOutline" | 308 | definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"> |
309 | name="Quick Outline"> | 309 | </reference> |
310 | </command> | 310 | </activeWhen> |
311 | </extension> | 311 | </handler> |
312 | <extension point="org.eclipse.ui.menus"> | 312 | </extension> |
313 | <menuContribution | 313 | <extension |
314 | locationURI="popup:#TextEditorContext?after=group.open"> | 314 | point="org.eclipse.ui.commands"> |
315 | <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline" | 315 | <command |
316 | style="push" | 316 | description="Open the quick outline." |
317 | tooltip="Open Quick Outline"> | 317 | id="org.eclipse.xtext.ui.editor.outline.QuickOutline" |
318 | <visibleWhen checkEnabled="false"> | 318 | name="Quick Outline"> |
319 | <reference definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"/> | 319 | </command> |
320 | </visibleWhen> | 320 | </extension> |
321 | </command> | 321 | <extension point="org.eclipse.ui.menus"> |
322 | </menuContribution> | 322 | <menuContribution |
323 | </extension> | 323 | locationURI="popup:#TextEditorContext?after=group.open"> |
324 | <!-- quickfix marker resolution generator for hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration --> | 324 | <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline" |
325 | <extension | 325 | style="push" |
326 | point="org.eclipse.ui.ide.markerResolution"> | 326 | tooltip="Open Quick Outline"> |
327 | <markerResolutionGenerator | 327 | <visibleWhen checkEnabled="false"> |
328 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" | 328 | <reference definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"/> |
329 | markerType="hu.bme.mit.inf.dslreasoner.application.ui.applicationconfiguration.check.fast"> | 329 | </visibleWhen> |
330 | <attribute | 330 | </command> |
331 | name="FIXABLE_KEY" | 331 | </menuContribution> |
332 | value="true"> | 332 | </extension> |
333 | </attribute> | 333 | <!-- quickfix marker resolution generator for hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration --> |
334 | </markerResolutionGenerator> | 334 | <extension |
335 | <markerResolutionGenerator | 335 | point="org.eclipse.ui.ide.markerResolution"> |
336 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" | 336 | <markerResolutionGenerator |
337 | markerType="hu.bme.mit.inf.dslreasoner.application.ui.applicationconfiguration.check.normal"> | 337 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" |
338 | <attribute | 338 | markerType="hu.bme.mit.inf.dslreasoner.application.ui.applicationconfiguration.check.fast"> |
339 | name="FIXABLE_KEY" | 339 | <attribute |
340 | value="true"> | 340 | name="FIXABLE_KEY" |
341 | </attribute> | 341 | value="true"> |
342 | </markerResolutionGenerator> | 342 | </attribute> |
343 | <markerResolutionGenerator | 343 | </markerResolutionGenerator> |
344 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" | 344 | <markerResolutionGenerator |
345 | markerType="hu.bme.mit.inf.dslreasoner.application.ui.applicationconfiguration.check.expensive"> | 345 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" |
346 | <attribute | 346 | markerType="hu.bme.mit.inf.dslreasoner.application.ui.applicationconfiguration.check.normal"> |
347 | name="FIXABLE_KEY" | 347 | <attribute |
348 | value="true"> | 348 | name="FIXABLE_KEY" |
349 | </attribute> | 349 | value="true"> |
350 | </markerResolutionGenerator> | 350 | </attribute> |
351 | </extension> | 351 | </markerResolutionGenerator> |
352 | <!-- Rename Refactoring --> | 352 | <markerResolutionGenerator |
353 | <extension point="org.eclipse.ui.handlers"> | 353 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" |
354 | <handler | 354 | markerType="hu.bme.mit.inf.dslreasoner.application.ui.applicationconfiguration.check.expensive"> |
355 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler" | 355 | <attribute |
356 | commandId="org.eclipse.xtext.ui.refactoring.RenameElement"> | 356 | name="FIXABLE_KEY" |
357 | <activeWhen> | 357 | value="true"> |
358 | <reference | 358 | </attribute> |
359 | definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"> | 359 | </markerResolutionGenerator> |
360 | </reference> | 360 | </extension> |
361 | </activeWhen> | 361 | <!-- Rename Refactoring --> |
362 | </handler> | 362 | <extension point="org.eclipse.ui.handlers"> |
363 | </extension> | 363 | <handler |
364 | <extension point="org.eclipse.ui.menus"> | 364 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler" |
365 | <menuContribution | 365 | commandId="org.eclipse.xtext.ui.refactoring.RenameElement"> |
366 | locationURI="popup:#TextEditorContext?after=group.edit"> | 366 | <activeWhen> |
367 | <command commandId="org.eclipse.xtext.ui.refactoring.RenameElement" | 367 | <reference |
368 | style="push"> | 368 | definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"> |
369 | <visibleWhen checkEnabled="false"> | 369 | </reference> |
370 | <reference | 370 | </activeWhen> |
371 | definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"> | 371 | </handler> |
372 | </reference> | 372 | </extension> |
373 | </visibleWhen> | 373 | <extension point="org.eclipse.ui.menus"> |
374 | </command> | 374 | <menuContribution |
375 | </menuContribution> | 375 | locationURI="popup:#TextEditorContext?after=group.edit"> |
376 | </extension> | 376 | <command commandId="org.eclipse.xtext.ui.refactoring.RenameElement" |
377 | <extension point="org.eclipse.ui.preferencePages"> | 377 | style="push"> |
378 | <page | 378 | <visibleWhen checkEnabled="false"> |
379 | category="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" | 379 | <reference |
380 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferencePage" | 380 | definitionId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Editor.opened"> |
381 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.refactoring" | 381 | </reference> |
382 | name="Refactoring"> | 382 | </visibleWhen> |
383 | <keywordReference id="hu.bme.mit.inf.dslreasoner.application.ui.keyword_ApplicationConfiguration"/> | 383 | </command> |
384 | </page> | 384 | </menuContribution> |
385 | </extension> | 385 | </extension> |
386 | <extension point="org.eclipse.compare.contentViewers"> | 386 | <extension point="org.eclipse.ui.preferencePages"> |
387 | <viewer id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.compare.contentViewers" | 387 | <page |
388 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator" | 388 | category="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" |
389 | extensions="vsconfig"> | 389 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferencePage" |
390 | </viewer> | 390 | id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.refactoring" |
391 | </extension> | 391 | name="Refactoring"> |
392 | <extension point="org.eclipse.compare.contentMergeViewers"> | 392 | <keywordReference id="hu.bme.mit.inf.dslreasoner.application.ui.keyword_ApplicationConfiguration"/> |
393 | <viewer id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.compare.contentMergeViewers" | 393 | </page> |
394 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator" | 394 | </extension> |
395 | extensions="vsconfig" label="ApplicationConfiguration Compare"> | 395 | <extension point="org.eclipse.compare.contentViewers"> |
396 | </viewer> | 396 | <viewer id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.compare.contentViewers" |
397 | </extension> | 397 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator" |
398 | <extension point="org.eclipse.ui.editors.documentProviders"> | 398 | extensions="vsconfig"> |
399 | <provider id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.editors.documentProviders" | 399 | </viewer> |
400 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider" | 400 | <contentTypeBinding |
401 | extensions="vsconfig"> | 401 | contentTypeId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.contenttype" |
402 | </provider> | 402 | contentViewerId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.compare.contentViewers" /> |
403 | </extension> | 403 | </extension> |
404 | <extension point="org.eclipse.team.core.fileTypes"> | 404 | <extension point="org.eclipse.compare.contentMergeViewers"> |
405 | <fileTypes | 405 | <viewer id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.compare.contentMergeViewers" |
406 | extension="vsconfig" | 406 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator" |
407 | type="text"> | 407 | extensions="vsconfig" label="ApplicationConfiguration Compare"> |
408 | </fileTypes> | 408 | </viewer> |
409 | </extension> | 409 | <contentTypeBinding |
410 | </plugin> | 410 | contentTypeId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.contenttype" |
411 | contentMergeViewerId="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.compare.contentMergeViewers" /> | ||
412 | </extension> | ||
413 | <extension point="org.eclipse.ui.editors.documentProviders"> | ||
414 | <provider id="hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.editors.documentProviders" | ||
415 | class="hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider" | ||
416 | extensions="vsconfig"> | ||
417 | </provider> | ||
418 | </extension> | ||
419 | <extension point="org.eclipse.team.core.fileTypes"> | ||
420 | <fileTypes | ||
421 | extension="vsconfig" | ||
422 | type="text"> | ||
423 | </fileTypes> | ||
424 | </extension> | ||
425 | </plugin> | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/AbstractApplicationConfigurationUiModule.java b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/AbstractApplicationConfigurationUiModule.java index 15fa1ba3..2a28262e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/AbstractApplicationConfigurationUiModule.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/AbstractApplicationConfigurationUiModule.java | |||
@@ -1,286 +1,286 @@ | |||
1 | /* | 1 | /* |
2 | * generated by Xtext 2.12.0 | 2 | * generated by Xtext 2.17.0 |
3 | */ | 3 | */ |
4 | package hu.bme.mit.inf.dslreasoner.application.ui; | 4 | package hu.bme.mit.inf.dslreasoner.application.ui; |
5 | 5 | ||
6 | import com.google.inject.Binder; | 6 | import com.google.inject.Binder; |
7 | import com.google.inject.Provider; | 7 | import com.google.inject.Provider; |
8 | import com.google.inject.name.Names; | 8 | import com.google.inject.name.Names; |
9 | import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.ApplicationConfigurationParser; | 9 | import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.ApplicationConfigurationParser; |
10 | import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.PartialApplicationConfigurationContentAssistParser; | 10 | import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.PartialApplicationConfigurationContentAssistParser; |
11 | import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal.InternalApplicationConfigurationLexer; | 11 | import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal.InternalApplicationConfigurationLexer; |
12 | import hu.bme.mit.inf.dslreasoner.application.ui.contentassist.ApplicationConfigurationProposalProvider; | 12 | import hu.bme.mit.inf.dslreasoner.application.ui.contentassist.ApplicationConfigurationProposalProvider; |
13 | import hu.bme.mit.inf.dslreasoner.application.ui.labeling.ApplicationConfigurationDescriptionLabelProvider; | 13 | import hu.bme.mit.inf.dslreasoner.application.ui.labeling.ApplicationConfigurationDescriptionLabelProvider; |
14 | import hu.bme.mit.inf.dslreasoner.application.ui.labeling.ApplicationConfigurationLabelProvider; | 14 | import hu.bme.mit.inf.dslreasoner.application.ui.labeling.ApplicationConfigurationLabelProvider; |
15 | import hu.bme.mit.inf.dslreasoner.application.ui.outline.ApplicationConfigurationOutlineTreeProvider; | 15 | import hu.bme.mit.inf.dslreasoner.application.ui.outline.ApplicationConfigurationOutlineTreeProvider; |
16 | import hu.bme.mit.inf.dslreasoner.application.ui.quickfix.ApplicationConfigurationQuickfixProvider; | 16 | import hu.bme.mit.inf.dslreasoner.application.ui.quickfix.ApplicationConfigurationQuickfixProvider; |
17 | import org.eclipse.compare.IViewerCreator; | 17 | import org.eclipse.compare.IViewerCreator; |
18 | import org.eclipse.core.resources.IWorkspaceRoot; | 18 | import org.eclipse.core.resources.IWorkspaceRoot; |
19 | import org.eclipse.core.resources.ResourcesPlugin; | 19 | import org.eclipse.core.resources.ResourcesPlugin; |
20 | import org.eclipse.jface.viewers.ILabelProvider; | 20 | import org.eclipse.jface.viewers.ILabelProvider; |
21 | import org.eclipse.ui.plugin.AbstractUIPlugin; | 21 | import org.eclipse.ui.plugin.AbstractUIPlugin; |
22 | import org.eclipse.xtext.builder.BuilderParticipant; | 22 | import org.eclipse.xtext.builder.BuilderParticipant; |
23 | import org.eclipse.xtext.builder.EclipseOutputConfigurationProvider; | 23 | import org.eclipse.xtext.builder.EclipseOutputConfigurationProvider; |
24 | import org.eclipse.xtext.builder.IXtextBuilderParticipant; | 24 | import org.eclipse.xtext.builder.IXtextBuilderParticipant; |
25 | import org.eclipse.xtext.builder.builderState.IBuilderState; | 25 | import org.eclipse.xtext.builder.builderState.IBuilderState; |
26 | import org.eclipse.xtext.builder.clustering.CurrentDescriptions; | 26 | import org.eclipse.xtext.builder.clustering.CurrentDescriptions; |
27 | import org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource; | 27 | import org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource; |
28 | import org.eclipse.xtext.builder.nature.NatureAddingEditorCallback; | 28 | import org.eclipse.xtext.builder.nature.NatureAddingEditorCallback; |
29 | import org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess; | 29 | import org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess; |
30 | import org.eclipse.xtext.generator.IContextualOutputConfigurationProvider; | 30 | import org.eclipse.xtext.generator.IContextualOutputConfigurationProvider; |
31 | import org.eclipse.xtext.ide.LexerIdeBindings; | 31 | import org.eclipse.xtext.ide.LexerIdeBindings; |
32 | import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser; | 32 | import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser; |
33 | import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; | 33 | import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; |
34 | import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser; | 34 | import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser; |
35 | import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; | 35 | import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; |
36 | import org.eclipse.xtext.parser.antlr.ITokenDefProvider; | 36 | import org.eclipse.xtext.parser.antlr.ITokenDefProvider; |
37 | import org.eclipse.xtext.parser.antlr.LexerProvider; | 37 | import org.eclipse.xtext.parser.antlr.LexerProvider; |
38 | import org.eclipse.xtext.resource.IResourceDescriptions; | 38 | import org.eclipse.xtext.resource.IResourceDescriptions; |
39 | import org.eclipse.xtext.resource.containers.IAllContainersState; | 39 | import org.eclipse.xtext.resource.containers.IAllContainersState; |
40 | import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider; | 40 | import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider; |
41 | import org.eclipse.xtext.service.SingletonBinding; | 41 | import org.eclipse.xtext.service.SingletonBinding; |
42 | import org.eclipse.xtext.ui.DefaultUiModule; | 42 | import org.eclipse.xtext.ui.DefaultUiModule; |
43 | import org.eclipse.xtext.ui.UIBindings; | 43 | import org.eclipse.xtext.ui.UIBindings; |
44 | import org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator; | 44 | import org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator; |
45 | import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialEditingContentAssistContextFactory; | 45 | import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialEditingContentAssistContextFactory; |
46 | import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.PartialEditingContentAssistContextFactory; | 46 | import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.PartialEditingContentAssistContextFactory; |
47 | import org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage; | 47 | import org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage; |
48 | import org.eclipse.xtext.ui.codetemplates.ui.preferences.TemplatesLanguageConfiguration; | 48 | import org.eclipse.xtext.ui.codetemplates.ui.preferences.TemplatesLanguageConfiguration; |
49 | import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar; | 49 | import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar; |
50 | import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistry; | 50 | import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistry; |
51 | import org.eclipse.xtext.ui.compare.DefaultViewerCreator; | 51 | import org.eclipse.xtext.ui.compare.DefaultViewerCreator; |
52 | import org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource; | 52 | import org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource; |
53 | import org.eclipse.xtext.ui.editor.IXtextEditorCallback; | 53 | import org.eclipse.xtext.ui.editor.IXtextEditorCallback; |
54 | import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; | 54 | import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; |
55 | import org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher; | 55 | import org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher; |
56 | import org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider; | 56 | import org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider; |
57 | import org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper; | 57 | import org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper; |
58 | import org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher; | 58 | import org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher; |
59 | import org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper; | 59 | import org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper; |
60 | import org.eclipse.xtext.ui.editor.contentassist.antlr.DelegatingContentAssistContextFactory; | 60 | import org.eclipse.xtext.ui.editor.contentassist.antlr.DelegatingContentAssistContextFactory; |
61 | import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; | 61 | import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; |
62 | import org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider; | 62 | import org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider; |
63 | import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer; | 63 | import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer; |
64 | import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider; | 64 | import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider; |
65 | import org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage; | 65 | import org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage; |
66 | import org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator; | 66 | import org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator; |
67 | import org.eclipse.xtext.ui.refactoring.IReferenceUpdater; | 67 | import org.eclipse.xtext.ui.refactoring.IReferenceUpdater; |
68 | import org.eclipse.xtext.ui.refactoring.IRenameRefactoringProvider; | 68 | import org.eclipse.xtext.ui.refactoring.IRenameRefactoringProvider; |
69 | import org.eclipse.xtext.ui.refactoring.IRenameStrategy; | 69 | import org.eclipse.xtext.ui.refactoring.IRenameStrategy; |
70 | import org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator; | 70 | import org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator; |
71 | import org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater; | 71 | import org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater; |
72 | import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider; | 72 | import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider; |
73 | import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy; | 73 | import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy; |
74 | import org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport; | 74 | import org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport; |
75 | import org.eclipse.xtext.ui.refactoring.ui.IRenameSupport; | 75 | import org.eclipse.xtext.ui.refactoring.ui.IRenameSupport; |
76 | import org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences; | 76 | import org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences; |
77 | import org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider; | 77 | import org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider; |
78 | import org.eclipse.xtext.ui.shared.Access; | 78 | import org.eclipse.xtext.ui.shared.Access; |
79 | 79 | ||
80 | /** | 80 | /** |
81 | * Manual modifications go to {@link ApplicationConfigurationUiModule}. | 81 | * Manual modifications go to {@link ApplicationConfigurationUiModule}. |
82 | */ | 82 | */ |
83 | @SuppressWarnings("all") | 83 | @SuppressWarnings("all") |
84 | public abstract class AbstractApplicationConfigurationUiModule extends DefaultUiModule { | 84 | public abstract class AbstractApplicationConfigurationUiModule extends DefaultUiModule { |
85 | 85 | ||
86 | public AbstractApplicationConfigurationUiModule(AbstractUIPlugin plugin) { | 86 | public AbstractApplicationConfigurationUiModule(AbstractUIPlugin plugin) { |
87 | super(plugin); | 87 | super(plugin); |
88 | } | 88 | } |
89 | 89 | ||
90 | // contributed by org.eclipse.xtext.xtext.generator.ImplicitFragment | 90 | // contributed by org.eclipse.xtext.xtext.generator.ImplicitFragment |
91 | public Provider<? extends IAllContainersState> provideIAllContainersState() { | 91 | public Provider<? extends IAllContainersState> provideIAllContainersState() { |
92 | return Access.getJavaProjectsState(); | 92 | return Access.getJavaProjectsState(); |
93 | } | 93 | } |
94 | 94 | ||
95 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | 95 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
96 | public Class<? extends IProposalConflictHelper> bindIProposalConflictHelper() { | 96 | public Class<? extends IProposalConflictHelper> bindIProposalConflictHelper() { |
97 | return AntlrProposalConflictHelper.class; | 97 | return AntlrProposalConflictHelper.class; |
98 | } | 98 | } |
99 | 99 | ||
100 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | 100 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
101 | public void configureContentAssistLexer(Binder binder) { | 101 | public void configureContentAssistLexer(Binder binder) { |
102 | binder.bind(Lexer.class) | 102 | binder.bind(Lexer.class) |
103 | .annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST)) | 103 | .annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST)) |
104 | .to(InternalApplicationConfigurationLexer.class); | 104 | .to(InternalApplicationConfigurationLexer.class); |
105 | } | 105 | } |
106 | 106 | ||
107 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | 107 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
108 | public void configureHighlightingLexer(Binder binder) { | 108 | public void configureHighlightingLexer(Binder binder) { |
109 | binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class) | 109 | binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class) |
110 | .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING)) | 110 | .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING)) |
111 | .to(hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal.InternalApplicationConfigurationLexer.class); | 111 | .to(hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal.InternalApplicationConfigurationLexer.class); |
112 | } | 112 | } |
113 | 113 | ||
114 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | 114 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
115 | public void configureHighlightingTokenDefProvider(Binder binder) { | 115 | public void configureHighlightingTokenDefProvider(Binder binder) { |
116 | binder.bind(ITokenDefProvider.class) | 116 | binder.bind(ITokenDefProvider.class) |
117 | .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING)) | 117 | .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING)) |
118 | .to(AntlrTokenDefProvider.class); | 118 | .to(AntlrTokenDefProvider.class); |
119 | } | 119 | } |
120 | 120 | ||
121 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | 121 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
122 | public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() { | 122 | public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() { |
123 | return DelegatingContentAssistContextFactory.class; | 123 | return DelegatingContentAssistContextFactory.class; |
124 | } | 124 | } |
125 | 125 | ||
126 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | 126 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
127 | public Class<? extends IContentAssistParser> bindIContentAssistParser() { | 127 | public Class<? extends IContentAssistParser> bindIContentAssistParser() { |
128 | return ApplicationConfigurationParser.class; | 128 | return ApplicationConfigurationParser.class; |
129 | } | 129 | } |
130 | 130 | ||
131 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 | 131 | // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 |
132 | public void configureContentAssistLexerProvider(Binder binder) { | 132 | public void configureContentAssistLexerProvider(Binder binder) { |
133 | binder.bind(InternalApplicationConfigurationLexer.class).toProvider(LexerProvider.create(InternalApplicationConfigurationLexer.class)); | 133 | binder.bind(InternalApplicationConfigurationLexer.class).toProvider(LexerProvider.create(InternalApplicationConfigurationLexer.class)); |
134 | } | 134 | } |
135 | 135 | ||
136 | // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 | 136 | // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 |
137 | public Class<? extends PrefixMatcher> bindPrefixMatcher() { | 137 | public Class<? extends PrefixMatcher> bindPrefixMatcher() { |
138 | return FQNPrefixMatcher.class; | 138 | return FQNPrefixMatcher.class; |
139 | } | 139 | } |
140 | 140 | ||
141 | // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 | 141 | // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 |
142 | public Class<? extends IDependentElementsCalculator> bindIDependentElementsCalculator() { | 142 | public Class<? extends IDependentElementsCalculator> bindIDependentElementsCalculator() { |
143 | return DefaultDependentElementsCalculator.class; | 143 | return DefaultDependentElementsCalculator.class; |
144 | } | 144 | } |
145 | 145 | ||
146 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 | 146 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 |
147 | public void configureIResourceDescriptionsBuilderScope(Binder binder) { | 147 | public void configureIResourceDescriptionsBuilderScope(Binder binder) { |
148 | binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(CurrentDescriptions.ResourceSetAware.class); | 148 | binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(CurrentDescriptions.ResourceSetAware.class); |
149 | } | 149 | } |
150 | 150 | ||
151 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 | 151 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 |
152 | public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() { | 152 | public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() { |
153 | return NatureAddingEditorCallback.class; | 153 | return NatureAddingEditorCallback.class; |
154 | } | 154 | } |
155 | 155 | ||
156 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 | 156 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 |
157 | public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() { | 157 | public Class<? extends IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() { |
158 | return EclipseOutputConfigurationProvider.class; | 158 | return EclipseOutputConfigurationProvider.class; |
159 | } | 159 | } |
160 | 160 | ||
161 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 | 161 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 |
162 | public void configureIResourceDescriptionsPersisted(Binder binder) { | 162 | public void configureIResourceDescriptionsPersisted(Binder binder) { |
163 | binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(IBuilderState.class); | 163 | binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(IBuilderState.class); |
164 | } | 164 | } |
165 | 165 | ||
166 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 | 166 | // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 |
167 | public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() { | 167 | public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() { |
168 | return PersistentDataAwareDirtyResource.class; | 168 | return PersistentDataAwareDirtyResource.class; |
169 | } | 169 | } |
170 | 170 | ||
171 | // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 | 171 | // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 |
172 | public Class<? extends IXtextBuilderParticipant> bindIXtextBuilderParticipant() { | 172 | public Class<? extends IXtextBuilderParticipant> bindIXtextBuilderParticipant() { |
173 | return BuilderParticipant.class; | 173 | return BuilderParticipant.class; |
174 | } | 174 | } |
175 | 175 | ||
176 | // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 | 176 | // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 |
177 | public IWorkspaceRoot bindIWorkspaceRootToInstance() { | 177 | public IWorkspaceRoot bindIWorkspaceRootToInstance() { |
178 | return ResourcesPlugin.getWorkspace().getRoot(); | 178 | return ResourcesPlugin.getWorkspace().getRoot(); |
179 | } | 179 | } |
180 | 180 | ||
181 | // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 | 181 | // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 |
182 | public void configureBuilderPreferenceStoreInitializer(Binder binder) { | 182 | public void configureBuilderPreferenceStoreInitializer(Binder binder) { |
183 | binder.bind(IPreferenceStoreInitializer.class) | 183 | binder.bind(IPreferenceStoreInitializer.class) |
184 | .annotatedWith(Names.named("builderPreferenceInitializer")) | 184 | .annotatedWith(Names.named("builderPreferenceInitializer")) |
185 | .to(BuilderPreferenceAccess.Initializer.class); | 185 | .to(BuilderPreferenceAccess.Initializer.class); |
186 | } | 186 | } |
187 | 187 | ||
188 | // contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2 | 188 | // contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2 |
189 | public Class<? extends ILabelProvider> bindILabelProvider() { | 189 | public Class<? extends ILabelProvider> bindILabelProvider() { |
190 | return ApplicationConfigurationLabelProvider.class; | 190 | return ApplicationConfigurationLabelProvider.class; |
191 | } | 191 | } |
192 | 192 | ||
193 | // contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2 | 193 | // contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2 |
194 | public void configureResourceUIServiceLabelProvider(Binder binder) { | 194 | public void configureResourceUIServiceLabelProvider(Binder binder) { |
195 | binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(ApplicationConfigurationDescriptionLabelProvider.class); | 195 | binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(ApplicationConfigurationDescriptionLabelProvider.class); |
196 | } | 196 | } |
197 | 197 | ||
198 | // contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2 | 198 | // contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2 |
199 | public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() { | 199 | public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() { |
200 | return ApplicationConfigurationOutlineTreeProvider.class; | 200 | return ApplicationConfigurationOutlineTreeProvider.class; |
201 | } | 201 | } |
202 | 202 | ||
203 | // contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2 | 203 | // contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2 |
204 | public Class<? extends IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() { | 204 | public Class<? extends IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() { |
205 | return ApplicationConfigurationOutlineTreeProvider.class; | 205 | return ApplicationConfigurationOutlineTreeProvider.class; |
206 | } | 206 | } |
207 | 207 | ||
208 | // contributed by org.eclipse.xtext.xtext.generator.ui.quickfix.QuickfixProviderFragment2 | 208 | // contributed by org.eclipse.xtext.xtext.generator.ui.quickfix.QuickfixProviderFragment2 |
209 | public Class<? extends IssueResolutionProvider> bindIssueResolutionProvider() { | 209 | public Class<? extends IssueResolutionProvider> bindIssueResolutionProvider() { |
210 | return ApplicationConfigurationQuickfixProvider.class; | 210 | return ApplicationConfigurationQuickfixProvider.class; |
211 | } | 211 | } |
212 | 212 | ||
213 | // contributed by org.eclipse.xtext.xtext.generator.ui.contentAssist.ContentAssistFragment2 | 213 | // contributed by org.eclipse.xtext.xtext.generator.ui.contentAssist.ContentAssistFragment2 |
214 | public Class<? extends IContentProposalProvider> bindIContentProposalProvider() { | 214 | public Class<? extends IContentProposalProvider> bindIContentProposalProvider() { |
215 | return ApplicationConfigurationProposalProvider.class; | 215 | return ApplicationConfigurationProposalProvider.class; |
216 | } | 216 | } |
217 | 217 | ||
218 | // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 | 218 | // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 |
219 | public Class<? extends IRenameStrategy> bindIRenameStrategy() { | 219 | public void configureIPreferenceStoreInitializer(Binder binder) { |
220 | return DefaultRenameStrategy.class; | 220 | binder.bind(IPreferenceStoreInitializer.class) |
221 | } | 221 | .annotatedWith(Names.named("RefactoringPreferences")) |
222 | 222 | .to(RefactoringPreferences.Initializer.class); | |
223 | // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 | 223 | } |
224 | public Class<? extends IReferenceUpdater> bindIReferenceUpdater() { | 224 | |
225 | return DefaultReferenceUpdater.class; | 225 | // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 |
226 | } | 226 | public Class<? extends IRenameStrategy> bindIRenameStrategy() { |
227 | 227 | return DefaultRenameStrategy.class; | |
228 | // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 | 228 | } |
229 | public void configureIPreferenceStoreInitializer(Binder binder) { | 229 | |
230 | binder.bind(IPreferenceStoreInitializer.class) | 230 | // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 |
231 | .annotatedWith(Names.named("RefactoringPreferences")) | 231 | public Class<? extends IReferenceUpdater> bindIReferenceUpdater() { |
232 | .to(RefactoringPreferences.Initializer.class); | 232 | return DefaultReferenceUpdater.class; |
233 | } | 233 | } |
234 | 234 | ||
235 | // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 | 235 | // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 |
236 | public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() { | 236 | public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() { |
237 | return DefaultRenameRefactoringProvider.class; | 237 | return DefaultRenameRefactoringProvider.class; |
238 | } | 238 | } |
239 | 239 | ||
240 | // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 | 240 | // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 |
241 | public Class<? extends IRenameSupport.Factory> bindIRenameSupport$Factory() { | 241 | public Class<? extends IRenameSupport.Factory> bindIRenameSupport$Factory() { |
242 | return DefaultRenameSupport.Factory.class; | 242 | return DefaultRenameSupport.Factory.class; |
243 | } | 243 | } |
244 | 244 | ||
245 | // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 | 245 | // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 |
246 | public Provider<? extends TemplatesLanguageConfiguration> provideTemplatesLanguageConfiguration() { | 246 | public Provider<? extends TemplatesLanguageConfiguration> provideTemplatesLanguageConfiguration() { |
247 | return AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider(); | 247 | return AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider(); |
248 | } | 248 | } |
249 | 249 | ||
250 | // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 | 250 | // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 |
251 | public Provider<? extends LanguageRegistry> provideLanguageRegistry() { | 251 | public Provider<? extends LanguageRegistry> provideLanguageRegistry() { |
252 | return AccessibleCodetemplatesActivator.getLanguageRegistry(); | 252 | return AccessibleCodetemplatesActivator.getLanguageRegistry(); |
253 | } | 253 | } |
254 | 254 | ||
255 | // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 | 255 | // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 |
256 | @SingletonBinding(eager=true) | 256 | @SingletonBinding(eager=true) |
257 | public Class<? extends LanguageRegistrar> bindLanguageRegistrar() { | 257 | public Class<? extends LanguageRegistrar> bindLanguageRegistrar() { |
258 | return LanguageRegistrar.class; | 258 | return LanguageRegistrar.class; |
259 | } | 259 | } |
260 | 260 | ||
261 | // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 | 261 | // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 |
262 | public Class<? extends XtextTemplatePreferencePage> bindXtextTemplatePreferencePage() { | 262 | public Class<? extends XtextTemplatePreferencePage> bindXtextTemplatePreferencePage() { |
263 | return AdvancedTemplatesPreferencePage.class; | 263 | return AdvancedTemplatesPreferencePage.class; |
264 | } | 264 | } |
265 | 265 | ||
266 | // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 | 266 | // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 |
267 | public Class<? extends IPartialEditingContentAssistParser> bindIPartialEditingContentAssistParser() { | 267 | public Class<? extends IPartialEditingContentAssistParser> bindIPartialEditingContentAssistParser() { |
268 | return PartialApplicationConfigurationContentAssistParser.class; | 268 | return PartialApplicationConfigurationContentAssistParser.class; |
269 | } | 269 | } |
270 | 270 | ||
271 | // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 | 271 | // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 |
272 | public Class<? extends IPartialEditingContentAssistContextFactory> bindIPartialEditingContentAssistContextFactory() { | 272 | public Class<? extends IPartialEditingContentAssistContextFactory> bindIPartialEditingContentAssistContextFactory() { |
273 | return PartialEditingContentAssistContextFactory.class; | 273 | return PartialEditingContentAssistContextFactory.class; |
274 | } | 274 | } |
275 | 275 | ||
276 | // contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2 | 276 | // contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2 |
277 | public Class<? extends IViewerCreator> bindIViewerCreator() { | 277 | public Class<? extends IViewerCreator> bindIViewerCreator() { |
278 | return DefaultViewerCreator.class; | 278 | return DefaultViewerCreator.class; |
279 | } | 279 | } |
280 | 280 | ||
281 | // contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2 | 281 | // contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2 |
282 | public void configureCompareViewerTitle(Binder binder) { | 282 | public void configureCompareViewerTitle(Binder binder) { |
283 | binder.bind(String.class).annotatedWith(Names.named(UIBindings.COMPARE_VIEWER_TITLE)).toInstance("ApplicationConfiguration Compare"); | 283 | binder.bind(String.class).annotatedWith(Names.named(UIBindings.COMPARE_VIEWER_TITLE)).toInstance("ApplicationConfiguration Compare"); |
284 | } | 284 | } |
285 | 285 | ||
286 | } | 286 | } |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/ApplicationConfigurationExecutableExtensionFactory.java b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/ApplicationConfigurationExecutableExtensionFactory.java index ae8454b8..826260aa 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/ApplicationConfigurationExecutableExtensionFactory.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/ApplicationConfigurationExecutableExtensionFactory.java | |||
@@ -1,27 +1,29 @@ | |||
1 | /* | 1 | /* |
2 | * generated by Xtext 2.12.0 | 2 | * generated by Xtext 2.17.0 |
3 | */ | 3 | */ |
4 | package hu.bme.mit.inf.dslreasoner.application.ui; | 4 | package hu.bme.mit.inf.dslreasoner.application.ui; |
5 | 5 | ||
6 | import com.google.inject.Injector; | 6 | import com.google.inject.Injector; |
7 | import hu.bme.mit.inf.dslreasoner.application.ui.internal.ApplicationActivator; | 7 | import hu.bme.mit.inf.dslreasoner.application.ui.internal.ApplicationActivator; |
8 | import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; | 8 | import org.eclipse.core.runtime.Platform; |
9 | import org.osgi.framework.Bundle; | 9 | import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; |
10 | 10 | import org.osgi.framework.Bundle; | |
11 | /** | 11 | |
12 | * This class was generated. Customizations should only happen in a newly | 12 | /** |
13 | * introduced subclass. | 13 | * This class was generated. Customizations should only happen in a newly |
14 | */ | 14 | * introduced subclass. |
15 | public class ApplicationConfigurationExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { | 15 | */ |
16 | 16 | public class ApplicationConfigurationExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { | |
17 | @Override | 17 | |
18 | protected Bundle getBundle() { | 18 | @Override |
19 | return ApplicationActivator.getInstance().getBundle(); | 19 | protected Bundle getBundle() { |
20 | } | 20 | return Platform.getBundle(ApplicationActivator.PLUGIN_ID); |
21 | 21 | } | |
22 | @Override | 22 | |
23 | protected Injector getInjector() { | 23 | @Override |
24 | return ApplicationActivator.getInstance().getInjector(ApplicationActivator.HU_BME_MIT_INF_DSLREASONER_APPLICATION_APPLICATIONCONFIGURATION); | 24 | protected Injector getInjector() { |
25 | } | 25 | ApplicationActivator activator = ApplicationActivator.getInstance(); |
26 | 26 | return activator != null ? activator.getInjector(ApplicationActivator.HU_BME_MIT_INF_DSLREASONER_APPLICATION_APPLICATIONCONFIGURATION) : null; | |
27 | } | 27 | } |
28 | |||
29 | } | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/contentassist/AbstractApplicationConfigurationProposalProvider.java b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/contentassist/AbstractApplicationConfigurationProposalProvider.java index 514abf35..f27ddf0e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/contentassist/AbstractApplicationConfigurationProposalProvider.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/contentassist/AbstractApplicationConfigurationProposalProvider.java | |||
@@ -1,493 +1,568 @@ | |||
1 | /* | 1 | /* |
2 | * generated by Xtext 2.12.0 | 2 | * generated by Xtext 2.17.0 |
3 | */ | 3 | */ |
4 | package hu.bme.mit.inf.dslreasoner.application.ui.contentassist; | 4 | package hu.bme.mit.inf.dslreasoner.application.ui.contentassist; |
5 | 5 | ||
6 | import org.eclipse.emf.ecore.EObject; | 6 | import org.eclipse.emf.ecore.EObject; |
7 | import org.eclipse.xtext.Assignment; | 7 | import org.eclipse.xtext.Assignment; |
8 | import org.eclipse.xtext.CrossReference; | 8 | import org.eclipse.xtext.CrossReference; |
9 | import org.eclipse.xtext.RuleCall; | 9 | import org.eclipse.xtext.RuleCall; |
10 | import org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider; | 10 | import org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider; |
11 | import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; | 11 | import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; |
12 | import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; | 12 | import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; |
13 | 13 | ||
14 | /** | 14 | /** |
15 | * Represents a generated, default implementation of superclass {@link TerminalsProposalProvider}. | 15 | * Represents a generated, default implementation of superclass {@link TerminalsProposalProvider}. |
16 | * Methods are dynamically dispatched on the first parameter, i.e., you can override them | 16 | * Methods are dynamically dispatched on the first parameter, i.e., you can override them |
17 | * with a more concrete subtype. | 17 | * with a more concrete subtype. |
18 | */ | 18 | */ |
19 | public abstract class AbstractApplicationConfigurationProposalProvider extends TerminalsProposalProvider { | 19 | public abstract class AbstractApplicationConfigurationProposalProvider extends TerminalsProposalProvider { |
20 | 20 | ||
21 | public void completeConfigurationScript_Imports(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 21 | public void completeConfigurationScript_Imports(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
22 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 22 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
23 | } | 23 | } |
24 | public void completeConfigurationScript_Commands(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 24 | public void completeConfigurationScript_Commands(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
25 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 25 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
26 | } | 26 | } |
27 | public void completeEPackageImport_ImportedPackage(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 27 | public void completeEPackageImport_ImportedPackage(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
28 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); | 28 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); |
29 | } | 29 | } |
30 | public void completeViatraImport_ImportedViatra(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 30 | public void completeViatraImport_ImportedViatra(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
31 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); | 31 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); |
32 | } | 32 | } |
33 | public void completeFileSpecification_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 33 | public void completeFileSpecification_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
34 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 34 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
35 | } | 35 | } |
36 | public void completeFileDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 36 | public void completeFileDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
37 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 37 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
38 | } | 38 | } |
39 | public void completeFileDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 39 | public void completeFileDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
40 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 40 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
41 | } | 41 | } |
42 | public void completeFileReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 42 | public void completeFileReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
43 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); | 43 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); |
44 | } | 44 | } |
45 | public void completeMetamodelSpecification_Entries(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 45 | public void completeMetamodelSpecification_Entries(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
46 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 46 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
47 | } | 47 | } |
48 | public void completeAllPackageEntry_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 48 | public void completeAllPackageEntry_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
49 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); | 49 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); |
50 | } | 50 | } |
51 | public void completeAllPackageEntry_Exclusion(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 51 | public void completeAllPackageEntry_Exclusion(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
52 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 52 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
53 | } | 53 | } |
54 | public void completeMetamodelElement_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 54 | public void completeMetamodelElement_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
55 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); | 55 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); |
56 | } | 56 | } |
57 | public void completeMetamodelElement_Classifier(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 57 | public void completeMetamodelElement_Classifier(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
58 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); | 58 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); |
59 | } | 59 | } |
60 | public void completeMetamodelElement_Feature(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 60 | public void completeMetamodelElement_Feature(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
61 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); | 61 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); |
62 | } | 62 | } |
63 | public void completeMetamodelDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 63 | public void completeMetamodelDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
64 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 64 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
65 | } | 65 | } |
66 | public void completeMetamodelDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 66 | public void completeMetamodelDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
67 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 67 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
68 | } | 68 | } |
69 | public void completeMetamodelReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 69 | public void completeMetamodelReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
70 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); | 70 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); |
71 | } | 71 | } |
72 | public void completePartialModelSpecification_Entry(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 72 | public void completePartialModelSpecification_Entry(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
73 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 73 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
74 | } | 74 | } |
75 | public void completeModelEntry_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 75 | public void completeModelEntry_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
76 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 76 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
77 | } | 77 | } |
78 | public void completeFolderEntry_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 78 | public void completeFolderEntry_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
79 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 79 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
80 | } | 80 | } |
81 | public void completeFolderEntry_Exclusion(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 81 | public void completeFolderEntry_Exclusion(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
82 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 82 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
83 | } | 83 | } |
84 | public void completePartialModelDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 84 | public void completePartialModelDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
85 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 85 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
86 | } | 86 | } |
87 | public void completePartialModelDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 87 | public void completePartialModelDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
88 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 88 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
89 | } | 89 | } |
90 | public void completePartialModelReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 90 | public void completePartialModelReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
91 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); | 91 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); |
92 | } | 92 | } |
93 | public void completePatternSpecification_Entries(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 93 | public void completePatternSpecification_Entries(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
94 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 94 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
95 | } | 95 | } |
96 | public void completeAllPatternEntry_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 96 | public void completeAllPatternEntry_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
97 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); | 97 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); |
98 | } | 98 | } |
99 | public void completeAllPatternEntry_Exclusuion(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 99 | public void completeAllPatternEntry_Exclusuion(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
100 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 100 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
101 | } | 101 | } |
102 | public void completePatternElement_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 102 | public void completePatternElement_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
103 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); | 103 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); |
104 | } | 104 | } |
105 | public void completePatternElement_Pattern(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 105 | public void completePatternElement_Pattern(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
106 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); | 106 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); |
107 | } | 107 | } |
108 | public void completeGraphPatternDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 108 | public void completeGraphPatternDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
109 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 109 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
110 | } | 110 | } |
111 | public void completeGraphPatternDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 111 | public void completeGraphPatternDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
112 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 112 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
113 | } | 113 | } |
114 | public void completeGraphPatternReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 114 | public void completeGraphPatternReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
115 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); | 115 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); |
116 | } | 116 | } |
117 | public void completeConfigSpecification_Entries(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 117 | public void completeObjectiveSpecification_Entries(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
118 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 118 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
119 | } | 119 | } |
120 | public void completeConfigDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 120 | public void completeOptimizationEntry_Direction(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
121 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 121 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
122 | } | 122 | } |
123 | public void completeConfigDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 123 | public void completeOptimizationEntry_Function(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
124 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 124 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
125 | } | 125 | } |
126 | public void completeDocumentationEntry_Level(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 126 | public void completeThresholdEntry_Function(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
127 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 127 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
128 | } | 128 | } |
129 | public void completeRuntimeEntry_MillisecLimit(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 129 | public void completeThresholdEntry_Operator(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
130 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 130 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
131 | } | 131 | } |
132 | public void completeMemoryEntry_MegabyteLimit(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 132 | public void completeThresholdEntry_Threshold(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
133 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 133 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
134 | } | 134 | } |
135 | public void completeCustomEntry_Key(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 135 | public void completeCostObjectiveFunction_Entries(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
136 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 136 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
137 | } | 137 | } |
138 | public void completeCustomEntry_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 138 | public void completeCostEntry_PatternElement(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
139 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 139 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
140 | } | 140 | } |
141 | public void completeConfigReference_Config(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 141 | public void completeCostEntry_Weight(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
142 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); | 142 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
143 | } | 143 | } |
144 | public void completeScopeSpecification_Scopes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 144 | public void completeObjectiveDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
145 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 145 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
146 | } | 146 | } |
147 | public void completeClassTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 147 | public void completeObjectiveDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
148 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 148 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
149 | } | 149 | } |
150 | public void completeClassTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 150 | public void completeObjectiveReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
151 | // subclasses may override | 151 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); |
152 | } | 152 | } |
153 | public void completeClassTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 153 | public void completeConfigSpecification_Entries(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
154 | // subclasses may override | 154 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
155 | } | 155 | } |
156 | public void completeClassTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 156 | public void completeConfigDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
157 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 157 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
158 | } | 158 | } |
159 | public void completeObjectTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 159 | public void completeConfigDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
160 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 160 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
161 | } | 161 | } |
162 | public void completeObjectTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 162 | public void completeDocumentationEntry_Level(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
163 | // subclasses may override | 163 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
164 | } | 164 | } |
165 | public void completeObjectTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 165 | public void completeRuntimeEntry_MillisecLimit(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
166 | // subclasses may override | 166 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
167 | } | 167 | } |
168 | public void completeObjectTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 168 | public void completeMemoryEntry_MegabyteLimit(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
169 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 169 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
170 | } | 170 | } |
171 | public void completeIntegerTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 171 | public void completeCustomEntry_Key(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
172 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 172 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
173 | } | 173 | } |
174 | public void completeIntegerTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 174 | public void completeCustomEntry_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
175 | // subclasses may override | 175 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
176 | } | 176 | } |
177 | public void completeIntegerTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 177 | public void completeConfigReference_Config(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
178 | // subclasses may override | 178 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); |
179 | } | 179 | } |
180 | public void completeIntegerTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 180 | public void completeScopeSpecification_Scopes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
181 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 181 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
182 | } | 182 | } |
183 | public void completeRealTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 183 | public void completeClassTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
184 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 184 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
185 | } | 185 | } |
186 | public void completeRealTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 186 | public void completeClassTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
187 | // subclasses may override | 187 | // subclasses may override |
188 | } | 188 | } |
189 | public void completeRealTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 189 | public void completeClassTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
190 | // subclasses may override | 190 | // subclasses may override |
191 | } | 191 | } |
192 | public void completeRealTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 192 | public void completeClassTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
193 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 193 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
194 | } | 194 | } |
195 | public void completeStringTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 195 | public void completeObjectTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
196 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 196 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
197 | } | 197 | } |
198 | public void completeStringTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 198 | public void completeObjectTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
199 | // subclasses may override | 199 | // subclasses may override |
200 | } | 200 | } |
201 | public void completeStringTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 201 | public void completeObjectTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
202 | // subclasses may override | 202 | // subclasses may override |
203 | } | 203 | } |
204 | public void completeStringTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 204 | public void completeObjectTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
205 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 205 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
206 | } | 206 | } |
207 | public void completeClassReference_Element(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 207 | public void completeIntegerTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
208 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 208 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
209 | } | 209 | } |
210 | public void completeExactNumber_ExactNumber(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 210 | public void completeIntegerTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
211 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 211 | // subclasses may override |
212 | } | 212 | } |
213 | public void completeExactNumber_ExactUnlimited(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 213 | public void completeIntegerTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
214 | // subclasses may override | 214 | // subclasses may override |
215 | } | 215 | } |
216 | public void completeIntervallNumber_Min(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 216 | public void completeIntegerTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
217 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 217 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
218 | } | 218 | } |
219 | public void completeIntervallNumber_MaxNumber(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 219 | public void completeRealTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
220 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 220 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
221 | } | 221 | } |
222 | public void completeIntervallNumber_MaxUnlimited(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 222 | public void completeRealTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
223 | // subclasses may override | 223 | // subclasses may override |
224 | } | 224 | } |
225 | public void completeIntEnumberation_Entry(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 225 | public void completeRealTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
226 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 226 | // subclasses may override |
227 | } | 227 | } |
228 | public void completeRealEnumeration_Entry(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 228 | public void completeRealTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
229 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 229 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
230 | } | 230 | } |
231 | public void completeStringEnumeration_Entry(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 231 | public void completeStringTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
232 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 232 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
233 | } | 233 | } |
234 | public void completeScopeDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 234 | public void completeStringTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
235 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 235 | // subclasses may override |
236 | } | 236 | } |
237 | public void completeScopeDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 237 | public void completeStringTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
238 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 238 | // subclasses may override |
239 | } | 239 | } |
240 | public void completeScopeReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 240 | public void completeStringTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
241 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); | 241 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
242 | } | 242 | } |
243 | public void completeGenerationTask_Metamodel(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 243 | public void completeClassReference_Element(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
244 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 244 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
245 | } | 245 | } |
246 | public void completeGenerationTask_PartialModel(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 246 | public void completeExactNumber_ExactNumber(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
247 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 247 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
248 | } | 248 | } |
249 | public void completeGenerationTask_Patterns(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 249 | public void completeExactNumber_ExactUnlimited(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
250 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 250 | // subclasses may override |
251 | } | 251 | } |
252 | public void completeGenerationTask_Scope(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 252 | public void completeIntervallNumber_Min(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
253 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 253 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
254 | } | 254 | } |
255 | public void completeGenerationTask_NumberSpecified(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 255 | public void completeIntervallNumber_MaxNumber(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
256 | // subclasses may override | 256 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
257 | } | 257 | } |
258 | public void completeGenerationTask_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 258 | public void completeIntervallNumber_MaxUnlimited(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
259 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 259 | // subclasses may override |
260 | } | 260 | } |
261 | public void completeGenerationTask_RunSpecified(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 261 | public void completeIntEnumberation_Entry(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
262 | // subclasses may override | 262 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
263 | } | 263 | } |
264 | public void completeGenerationTask_Runs(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 264 | public void completeRealEnumeration_Entry(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
265 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 265 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
266 | } | 266 | } |
267 | public void completeGenerationTask_Solver(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 267 | public void completeStringEnumeration_Entry(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
268 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 268 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
269 | } | 269 | } |
270 | public void completeGenerationTask_Config(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 270 | public void completeScopeDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
271 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 271 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
272 | } | 272 | } |
273 | public void completeGenerationTask_DebugFolder(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 273 | public void completeScopeDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
274 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 274 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
275 | } | 275 | } |
276 | public void completeGenerationTask_TargetLogFile(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 276 | public void completeScopeReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
277 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 277 | lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); |
278 | } | 278 | } |
279 | public void completeGenerationTask_TargetStatisticsFile(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 279 | public void completeGenerationTask_Metamodel(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
280 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 280 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
281 | } | 281 | } |
282 | public void completeGenerationTask_TagetFolder(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 282 | public void completeGenerationTask_PartialModel(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
283 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 283 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
284 | } | 284 | } |
285 | 285 | public void completeGenerationTask_Patterns(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | |
286 | public void complete_ConfigurationScript(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 286 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
287 | // subclasses may override | 287 | } |
288 | } | 288 | public void completeGenerationTask_Objectives(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
289 | public void complete_Command(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 289 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
290 | // subclasses may override | 290 | } |
291 | } | 291 | public void completeGenerationTask_Scope(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
292 | public void complete_QualifiedName(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 292 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
293 | // subclasses may override | 293 | } |
294 | } | 294 | public void completeGenerationTask_NumberSpecified(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
295 | public void complete_REALLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 295 | // subclasses may override |
296 | // subclasses may override | 296 | } |
297 | } | 297 | public void completeGenerationTask_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
298 | public void complete_INTLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 298 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
299 | // subclasses may override | 299 | } |
300 | } | 300 | public void completeGenerationTask_RunSpecified(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
301 | public void complete_Import(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 301 | // subclasses may override |
302 | // subclasses may override | 302 | } |
303 | } | 303 | public void completeGenerationTask_Runs(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
304 | public void complete_EPackageImport(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 304 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
305 | // subclasses may override | 305 | } |
306 | } | 306 | public void completeGenerationTask_Solver(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
307 | public void complete_ViatraImport(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 307 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
308 | // subclasses may override | 308 | } |
309 | } | 309 | public void completeGenerationTask_Config(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
310 | public void complete_Declaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 310 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
311 | // subclasses may override | 311 | } |
312 | } | 312 | public void completeGenerationTask_DebugFolder(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
313 | public void complete_FileSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 313 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
314 | // subclasses may override | 314 | } |
315 | } | 315 | public void completeGenerationTask_TargetLogFile(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
316 | public void complete_FileDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 316 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
317 | // subclasses may override | 317 | } |
318 | } | 318 | public void completeGenerationTask_TargetStatisticsFile(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
319 | public void complete_FileReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 319 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
320 | // subclasses may override | 320 | } |
321 | } | 321 | public void completeGenerationTask_TagetFolder(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
322 | public void complete_File(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 322 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
323 | // subclasses may override | 323 | } |
324 | } | 324 | |
325 | public void complete_MetamodelSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 325 | public void complete_ConfigurationScript(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
326 | // subclasses may override | 326 | // subclasses may override |
327 | } | 327 | } |
328 | public void complete_MetamodelEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 328 | public void complete_Command(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
329 | // subclasses may override | 329 | // subclasses may override |
330 | } | 330 | } |
331 | public void complete_AllPackageEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 331 | public void complete_QualifiedName(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
332 | // subclasses may override | 332 | // subclasses may override |
333 | } | 333 | } |
334 | public void complete_MetamodelElement(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 334 | public void complete_REALLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
335 | // subclasses may override | 335 | // subclasses may override |
336 | } | 336 | } |
337 | public void complete_MetamodelDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 337 | public void complete_INTLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
338 | // subclasses may override | 338 | // subclasses may override |
339 | } | 339 | } |
340 | public void complete_MetamodelReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 340 | public void complete_Import(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
341 | // subclasses may override | 341 | // subclasses may override |
342 | } | 342 | } |
343 | public void complete_Metamodel(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 343 | public void complete_EPackageImport(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
344 | // subclasses may override | 344 | // subclasses may override |
345 | } | 345 | } |
346 | public void complete_PartialModelSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 346 | public void complete_ViatraImport(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
347 | // subclasses may override | 347 | // subclasses may override |
348 | } | 348 | } |
349 | public void complete_PartialModelEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 349 | public void complete_Declaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
350 | // subclasses may override | 350 | // subclasses may override |
351 | } | 351 | } |
352 | public void complete_ModelEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 352 | public void complete_FileSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
353 | // subclasses may override | 353 | // subclasses may override |
354 | } | 354 | } |
355 | public void complete_FolderEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 355 | public void complete_FileDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
356 | // subclasses may override | 356 | // subclasses may override |
357 | } | 357 | } |
358 | public void complete_PartialModelDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 358 | public void complete_FileReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
359 | // subclasses may override | 359 | // subclasses may override |
360 | } | 360 | } |
361 | public void complete_PartialModelReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 361 | public void complete_File(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
362 | // subclasses may override | 362 | // subclasses may override |
363 | } | 363 | } |
364 | public void complete_PartialModel(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 364 | public void complete_MetamodelSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
365 | // subclasses may override | 365 | // subclasses may override |
366 | } | 366 | } |
367 | public void complete_PatternSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 367 | public void complete_MetamodelEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
368 | // subclasses may override | 368 | // subclasses may override |
369 | } | 369 | } |
370 | public void complete_PatternEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 370 | public void complete_AllPackageEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
371 | // subclasses may override | 371 | // subclasses may override |
372 | } | 372 | } |
373 | public void complete_AllPatternEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 373 | public void complete_MetamodelElement(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
374 | // subclasses may override | 374 | // subclasses may override |
375 | } | 375 | } |
376 | public void complete_PatternElement(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 376 | public void complete_MetamodelDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
377 | // subclasses may override | 377 | // subclasses may override |
378 | } | 378 | } |
379 | public void complete_GraphPatternDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 379 | public void complete_MetamodelReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
380 | // subclasses may override | 380 | // subclasses may override |
381 | } | 381 | } |
382 | public void complete_GraphPatternReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 382 | public void complete_Metamodel(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
383 | // subclasses may override | 383 | // subclasses may override |
384 | } | 384 | } |
385 | public void complete_GraphPattern(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 385 | public void complete_PartialModelSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
386 | // subclasses may override | 386 | // subclasses may override |
387 | } | 387 | } |
388 | public void complete_ConfigSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 388 | public void complete_PartialModelEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
389 | // subclasses may override | 389 | // subclasses may override |
390 | } | 390 | } |
391 | public void complete_ConfigDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 391 | public void complete_ModelEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
392 | // subclasses may override | 392 | // subclasses may override |
393 | } | 393 | } |
394 | public void complete_ConfigEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 394 | public void complete_FolderEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
395 | // subclasses may override | 395 | // subclasses may override |
396 | } | 396 | } |
397 | public void complete_DocumentationEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 397 | public void complete_PartialModelDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
398 | // subclasses may override | 398 | // subclasses may override |
399 | } | 399 | } |
400 | public void complete_DocumentLevelSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 400 | public void complete_PartialModelReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
401 | // subclasses may override | 401 | // subclasses may override |
402 | } | 402 | } |
403 | public void complete_RuntimeEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 403 | public void complete_PartialModel(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
404 | // subclasses may override | 404 | // subclasses may override |
405 | } | 405 | } |
406 | public void complete_MemoryEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 406 | public void complete_PatternSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
407 | // subclasses may override | 407 | // subclasses may override |
408 | } | 408 | } |
409 | public void complete_CustomEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 409 | public void complete_PatternEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
410 | // subclasses may override | 410 | // subclasses may override |
411 | } | 411 | } |
412 | public void complete_ConfigReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 412 | public void complete_AllPatternEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
413 | // subclasses may override | 413 | // subclasses may override |
414 | } | 414 | } |
415 | public void complete_Config(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 415 | public void complete_PatternElement(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
416 | // subclasses may override | 416 | // subclasses may override |
417 | } | 417 | } |
418 | public void complete_Solver(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 418 | public void complete_GraphPatternDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
419 | // subclasses may override | 419 | // subclasses may override |
420 | } | 420 | } |
421 | public void complete_ScopeSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 421 | public void complete_GraphPatternReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
422 | // subclasses may override | 422 | // subclasses may override |
423 | } | 423 | } |
424 | public void complete_TypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 424 | public void complete_GraphPattern(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
425 | // subclasses may override | 425 | // subclasses may override |
426 | } | 426 | } |
427 | public void complete_ClassTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 427 | public void complete_ObjectiveSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
428 | // subclasses may override | 428 | // subclasses may override |
429 | } | 429 | } |
430 | public void complete_ObjectTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 430 | public void complete_ObjectiveEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
431 | // subclasses may override | 431 | // subclasses may override |
432 | } | 432 | } |
433 | public void complete_IntegerTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 433 | public void complete_OptimizationDirection(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
434 | // subclasses may override | 434 | // subclasses may override |
435 | } | 435 | } |
436 | public void complete_RealTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 436 | public void complete_OptimizationEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
437 | // subclasses may override | 437 | // subclasses may override |
438 | } | 438 | } |
439 | public void complete_StringTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 439 | public void complete_ComparisonOperator(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
440 | // subclasses may override | 440 | // subclasses may override |
441 | } | 441 | } |
442 | public void complete_TypeReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 442 | public void complete_ThresholdEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
443 | // subclasses may override | 443 | // subclasses may override |
444 | } | 444 | } |
445 | public void complete_ClassReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 445 | public void complete_ObjectiveFunction(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
446 | // subclasses may override | 446 | // subclasses may override |
447 | } | 447 | } |
448 | public void complete_ObjectReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 448 | public void complete_CostObjectiveFunction(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
449 | // subclasses may override | 449 | // subclasses may override |
450 | } | 450 | } |
451 | public void complete_IntegerReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 451 | public void complete_CostEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
452 | // subclasses may override | 452 | // subclasses may override |
453 | } | 453 | } |
454 | public void complete_RealReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 454 | public void complete_ObjectiveDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
455 | // subclasses may override | 455 | // subclasses may override |
456 | } | 456 | } |
457 | public void complete_StringReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 457 | public void complete_ObjectiveReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
458 | // subclasses may override | 458 | // subclasses may override |
459 | } | 459 | } |
460 | public void complete_NumberSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 460 | public void complete_Objective(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
461 | // subclasses may override | 461 | // subclasses may override |
462 | } | 462 | } |
463 | public void complete_ExactNumber(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 463 | public void complete_ConfigSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
464 | // subclasses may override | 464 | // subclasses may override |
465 | } | 465 | } |
466 | public void complete_IntervallNumber(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 466 | public void complete_ConfigDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
467 | // subclasses may override | 467 | // subclasses may override |
468 | } | 468 | } |
469 | public void complete_IntEnumberation(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 469 | public void complete_ConfigEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
470 | // subclasses may override | 470 | // subclasses may override |
471 | } | 471 | } |
472 | public void complete_RealEnumeration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 472 | public void complete_DocumentationEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
473 | // subclasses may override | 473 | // subclasses may override |
474 | } | 474 | } |
475 | public void complete_StringEnumeration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 475 | public void complete_DocumentLevelSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
476 | // subclasses may override | 476 | // subclasses may override |
477 | } | 477 | } |
478 | public void complete_ScopeDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 478 | public void complete_RuntimeEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
479 | // subclasses may override | 479 | // subclasses may override |
480 | } | 480 | } |
481 | public void complete_ScopeReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 481 | public void complete_MemoryEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
482 | // subclasses may override | 482 | // subclasses may override |
483 | } | 483 | } |
484 | public void complete_Scope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 484 | public void complete_CustomEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
485 | // subclasses may override | 485 | // subclasses may override |
486 | } | 486 | } |
487 | public void complete_Task(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 487 | public void complete_ConfigReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
488 | // subclasses may override | 488 | // subclasses may override |
489 | } | 489 | } |
490 | public void complete_GenerationTask(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 490 | public void complete_Config(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
491 | // subclasses may override | 491 | // subclasses may override |
492 | } | 492 | } |
493 | } | 493 | public void complete_Solver(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
494 | // subclasses may override | ||
495 | } | ||
496 | public void complete_ScopeSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
497 | // subclasses may override | ||
498 | } | ||
499 | public void complete_TypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
500 | // subclasses may override | ||
501 | } | ||
502 | public void complete_ClassTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
503 | // subclasses may override | ||
504 | } | ||
505 | public void complete_ObjectTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
506 | // subclasses may override | ||
507 | } | ||
508 | public void complete_IntegerTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
509 | // subclasses may override | ||
510 | } | ||
511 | public void complete_RealTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
512 | // subclasses may override | ||
513 | } | ||
514 | public void complete_StringTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
515 | // subclasses may override | ||
516 | } | ||
517 | public void complete_TypeReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
518 | // subclasses may override | ||
519 | } | ||
520 | public void complete_ClassReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
521 | // subclasses may override | ||
522 | } | ||
523 | public void complete_ObjectReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
524 | // subclasses may override | ||
525 | } | ||
526 | public void complete_IntegerReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
527 | // subclasses may override | ||
528 | } | ||
529 | public void complete_RealReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
530 | // subclasses may override | ||
531 | } | ||
532 | public void complete_StringReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
533 | // subclasses may override | ||
534 | } | ||
535 | public void complete_NumberSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
536 | // subclasses may override | ||
537 | } | ||
538 | public void complete_ExactNumber(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
539 | // subclasses may override | ||
540 | } | ||
541 | public void complete_IntervallNumber(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
542 | // subclasses may override | ||
543 | } | ||
544 | public void complete_IntEnumberation(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
545 | // subclasses may override | ||
546 | } | ||
547 | public void complete_RealEnumeration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
548 | // subclasses may override | ||
549 | } | ||
550 | public void complete_StringEnumeration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
551 | // subclasses may override | ||
552 | } | ||
553 | public void complete_ScopeDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
554 | // subclasses may override | ||
555 | } | ||
556 | public void complete_ScopeReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
557 | // subclasses may override | ||
558 | } | ||
559 | public void complete_Scope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
560 | // subclasses may override | ||
561 | } | ||
562 | public void complete_Task(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
563 | // subclasses may override | ||
564 | } | ||
565 | public void complete_GenerationTask(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
566 | // subclasses may override | ||
567 | } | ||
568 | } | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/internal/ApplicationActivator.java b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/internal/ApplicationActivator.java index fb4f4cc0..cba78f27 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/internal/ApplicationActivator.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/internal/ApplicationActivator.java | |||
@@ -1,93 +1,94 @@ | |||
1 | /* | 1 | /* |
2 | * generated by Xtext 2.12.0 | 2 | * generated by Xtext 2.17.0 |
3 | */ | 3 | */ |
4 | package hu.bme.mit.inf.dslreasoner.application.ui.internal; | 4 | package hu.bme.mit.inf.dslreasoner.application.ui.internal; |
5 | 5 | ||
6 | import com.google.common.collect.Maps; | 6 | import com.google.common.collect.Maps; |
7 | import com.google.inject.Guice; | 7 | import com.google.inject.Guice; |
8 | import com.google.inject.Injector; | 8 | import com.google.inject.Injector; |
9 | import com.google.inject.Module; | 9 | import hu.bme.mit.inf.dslreasoner.application.ApplicationConfigurationRuntimeModule; |
10 | import hu.bme.mit.inf.dslreasoner.application.ApplicationConfigurationRuntimeModule; | 10 | import hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationUiModule; |
11 | import hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationUiModule; | 11 | import java.util.Collections; |
12 | import java.util.Collections; | 12 | import java.util.Map; |
13 | import java.util.Map; | 13 | import org.apache.log4j.Logger; |
14 | import org.apache.log4j.Logger; | 14 | import org.eclipse.ui.plugin.AbstractUIPlugin; |
15 | import org.eclipse.ui.plugin.AbstractUIPlugin; | 15 | import org.eclipse.xtext.ui.shared.SharedStateModule; |
16 | import org.eclipse.xtext.ui.shared.SharedStateModule; | 16 | import org.eclipse.xtext.util.Modules2; |
17 | import org.eclipse.xtext.util.Modules2; | 17 | import org.osgi.framework.BundleContext; |
18 | import org.osgi.framework.BundleContext; | 18 | |
19 | 19 | /** | |
20 | /** | 20 | * This class was generated. Customizations should only happen in a newly |
21 | * This class was generated. Customizations should only happen in a newly | 21 | * introduced subclass. |
22 | * introduced subclass. | 22 | */ |
23 | */ | 23 | public class ApplicationActivator extends AbstractUIPlugin { |
24 | public class ApplicationActivator extends AbstractUIPlugin { | 24 | |
25 | 25 | public static final String PLUGIN_ID = "hu.bme.mit.inf.dslreasoner.application.ui"; | |
26 | public static final String HU_BME_MIT_INF_DSLREASONER_APPLICATION_APPLICATIONCONFIGURATION = "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration"; | 26 | public static final String HU_BME_MIT_INF_DSLREASONER_APPLICATION_APPLICATIONCONFIGURATION = "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration"; |
27 | 27 | ||
28 | private static final Logger logger = Logger.getLogger(ApplicationActivator.class); | 28 | private static final Logger logger = Logger.getLogger(ApplicationActivator.class); |
29 | 29 | ||
30 | private static ApplicationActivator INSTANCE; | 30 | private static ApplicationActivator INSTANCE; |
31 | 31 | ||
32 | private Map<String, Injector> injectors = Collections.synchronizedMap(Maps.<String, Injector> newHashMapWithExpectedSize(1)); | 32 | private Map<String, Injector> injectors = Collections.synchronizedMap(Maps.<String, Injector> newHashMapWithExpectedSize(1)); |
33 | 33 | ||
34 | @Override | 34 | @Override |
35 | public void start(BundleContext context) throws Exception { | 35 | public void start(BundleContext context) throws Exception { |
36 | super.start(context); | 36 | super.start(context); |
37 | INSTANCE = this; | 37 | INSTANCE = this; |
38 | } | 38 | } |
39 | 39 | ||
40 | @Override | 40 | @Override |
41 | public void stop(BundleContext context) throws Exception { | 41 | public void stop(BundleContext context) throws Exception { |
42 | injectors.clear(); | 42 | injectors.clear(); |
43 | INSTANCE = null; | 43 | INSTANCE = null; |
44 | super.stop(context); | 44 | super.stop(context); |
45 | } | 45 | } |
46 | 46 | ||
47 | public static ApplicationActivator getInstance() { | 47 | public static ApplicationActivator getInstance() { |
48 | return INSTANCE; | 48 | return INSTANCE; |
49 | } | 49 | } |
50 | 50 | ||
51 | public Injector getInjector(String language) { | 51 | public Injector getInjector(String language) { |
52 | synchronized (injectors) { | 52 | synchronized (injectors) { |
53 | Injector injector = injectors.get(language); | 53 | Injector injector = injectors.get(language); |
54 | if (injector == null) { | 54 | if (injector == null) { |
55 | injectors.put(language, injector = createInjector(language)); | 55 | injectors.put(language, injector = createInjector(language)); |
56 | } | 56 | } |
57 | return injector; | 57 | return injector; |
58 | } | 58 | } |
59 | } | 59 | } |
60 | 60 | ||
61 | protected Injector createInjector(String language) { | 61 | protected Injector createInjector(String language) { |
62 | try { | 62 | try { |
63 | Module runtimeModule = getRuntimeModule(language); | 63 | com.google.inject.Module runtimeModule = getRuntimeModule(language); |
64 | Module sharedStateModule = getSharedStateModule(); | 64 | com.google.inject.Module sharedStateModule = getSharedStateModule(); |
65 | Module uiModule = getUiModule(language); | 65 | com.google.inject.Module uiModule = getUiModule(language); |
66 | Module mergedModule = Modules2.mixin(runtimeModule, sharedStateModule, uiModule); | 66 | com.google.inject.Module mergedModule = Modules2.mixin(runtimeModule, sharedStateModule, uiModule); |
67 | return Guice.createInjector(mergedModule); | 67 | return Guice.createInjector(mergedModule); |
68 | } catch (Exception e) { | 68 | } catch (Exception e) { |
69 | logger.error("Failed to create injector for " + language); | 69 | logger.error("Failed to create injector for " + language); |
70 | logger.error(e.getMessage(), e); | 70 | logger.error(e.getMessage(), e); |
71 | throw new RuntimeException("Failed to create injector for " + language, e); | 71 | throw new RuntimeException("Failed to create injector for " + language, e); |
72 | } | 72 | } |
73 | } | 73 | } |
74 | 74 | ||
75 | protected Module getRuntimeModule(String grammar) { | 75 | protected com.google.inject.Module getRuntimeModule(String grammar) { |
76 | if (HU_BME_MIT_INF_DSLREASONER_APPLICATION_APPLICATIONCONFIGURATION.equals(grammar)) { | 76 | if (HU_BME_MIT_INF_DSLREASONER_APPLICATION_APPLICATIONCONFIGURATION.equals(grammar)) { |
77 | return new ApplicationConfigurationRuntimeModule(); | 77 | return new ApplicationConfigurationRuntimeModule(); |
78 | } | 78 | } |
79 | throw new IllegalArgumentException(grammar); | 79 | throw new IllegalArgumentException(grammar); |
80 | } | 80 | } |
81 | 81 | ||
82 | protected Module getUiModule(String grammar) { | 82 | protected com.google.inject.Module getUiModule(String grammar) { |
83 | if (HU_BME_MIT_INF_DSLREASONER_APPLICATION_APPLICATIONCONFIGURATION.equals(grammar)) { | 83 | if (HU_BME_MIT_INF_DSLREASONER_APPLICATION_APPLICATIONCONFIGURATION.equals(grammar)) { |
84 | return new ApplicationConfigurationUiModule(this); | 84 | return new ApplicationConfigurationUiModule(this); |
85 | } | 85 | } |
86 | throw new IllegalArgumentException(grammar); | 86 | throw new IllegalArgumentException(grammar); |
87 | } | 87 | } |
88 | 88 | ||
89 | protected Module getSharedStateModule() { | 89 | protected com.google.inject.Module getSharedStateModule() { |
90 | return new SharedStateModule(); | 90 | return new SharedStateModule(); |
91 | } | 91 | } |
92 | 92 | ||
93 | } | 93 | |
94 | } | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src/hu/bme/mit/inf/dslreasoner/application/ui/execute/ExecuteScriptHandler.java b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src/hu/bme/mit/inf/dslreasoner/application/ui/execute/ExecuteScriptHandler.java index 43d22ab3..380410d0 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src/hu/bme/mit/inf/dslreasoner/application/ui/execute/ExecuteScriptHandler.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src/hu/bme/mit/inf/dslreasoner/application/ui/execute/ExecuteScriptHandler.java | |||
@@ -8,21 +8,15 @@ import org.eclipse.core.commands.ExecutionException; | |||
8 | import org.eclipse.core.commands.IHandler; | 8 | import org.eclipse.core.commands.IHandler; |
9 | import org.eclipse.core.resources.IFile; | 9 | import org.eclipse.core.resources.IFile; |
10 | import org.eclipse.emf.common.util.URI; | 10 | import org.eclipse.emf.common.util.URI; |
11 | import org.eclipse.emf.ecore.EObject; | ||
12 | import org.eclipse.emf.ecore.resource.Resource; | ||
13 | import org.eclipse.emf.ecore.resource.ResourceSet; | ||
14 | import org.eclipse.emf.ecore.resource.URIConverter; | ||
15 | import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; | ||
16 | import org.eclipse.jface.viewers.ISelection; | 11 | import org.eclipse.jface.viewers.ISelection; |
17 | import org.eclipse.jface.viewers.StructuredSelection; | 12 | import org.eclipse.jface.viewers.StructuredSelection; |
18 | import org.eclipse.ui.handlers.HandlerUtil; | 13 | import org.eclipse.ui.handlers.HandlerUtil; |
19 | 14 | ||
20 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; | ||
21 | import hu.bme.mit.inf.dslreasoner.application.execution.ScriptExecutor; | 15 | import hu.bme.mit.inf.dslreasoner.application.execution.ScriptExecutor; |
22 | 16 | ||
23 | public class ExecuteScriptHandler extends AbstractHandler implements IHandler { | 17 | public class ExecuteScriptHandler extends AbstractHandler implements IHandler { |
24 | 18 | ||
25 | ScriptExecutor scriptExecutor = new ScriptExecutor(); | 19 | ScriptExecutor scriptExecutor = new ScriptExecutor(RuntimeConsoleBasedScriptConsole.FACTORY); |
26 | 20 | ||
27 | @Override | 21 | @Override |
28 | public Object execute(ExecutionEvent event) throws ExecutionException { | 22 | public Object execute(ExecutionEvent event) throws ExecutionException { |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src/hu/bme/mit/inf/dslreasoner/application/ui/execute/RuntimeConsoleBasedScriptConsole.xtend b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src/hu/bme/mit/inf/dslreasoner/application/ui/execute/RuntimeConsoleBasedScriptConsole.xtend new file mode 100644 index 00000000..d344ffba --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src/hu/bme/mit/inf/dslreasoner/application/ui/execute/RuntimeConsoleBasedScriptConsole.xtend | |||
@@ -0,0 +1,172 @@ | |||
1 | package hu.bme.mit.inf.dslreasoner.application.ui.execute | ||
2 | |||
3 | import hu.bme.mit.inf.dslreasoner.application.execution.ScriptConsole | ||
4 | import hu.bme.mit.inf.dslreasoner.application.execution.ScriptConsoleDecorator | ||
5 | import java.util.concurrent.CompletableFuture | ||
6 | import org.eclipse.emf.common.util.URI | ||
7 | import org.eclipse.jface.text.BadLocationException | ||
8 | import org.eclipse.jface.text.DocumentEvent | ||
9 | import org.eclipse.jface.text.IDocumentListener | ||
10 | import org.eclipse.swt.graphics.Color | ||
11 | import org.eclipse.ui.console.ConsolePlugin | ||
12 | import org.eclipse.ui.console.MessageConsole | ||
13 | import org.eclipse.ui.console.MessageConsoleStream | ||
14 | |||
15 | class RuntimeConsoleBasedScriptConsole extends ScriptConsole { | ||
16 | /** | ||
17 | * Console is identified with the name of this class. | ||
18 | */ | ||
19 | static val consoleID = ScriptConsole.name | ||
20 | |||
21 | val MessageConsole runtimeConsole | ||
22 | |||
23 | new(boolean cleanFiles, URI messageConsoleURI, URI errorConsoleURI, URI statisticsConsoleURI) { | ||
24 | super(!hasConsolePlugin, cleanFiles, messageConsoleURI, errorConsoleURI, statisticsConsoleURI) | ||
25 | runtimeConsole = prepareRuntimeConsole | ||
26 | writeErrorMessagesDuringInitialisation() | ||
27 | } | ||
28 | |||
29 | override writeMessage(CharSequence message, String separator, ScriptConsoleDecorator[] decorators) { | ||
30 | super.writeMessage(message, separator, decorators) | ||
31 | if (runtimeConsole !== null) { | ||
32 | writeToRuntimeConsole(message, separator, decorators) | ||
33 | } | ||
34 | } | ||
35 | |||
36 | override writeMessage(String message) { | ||
37 | super.writeMessage(message) | ||
38 | if (runtimeConsole !== null) { | ||
39 | writeToRuntimeConsole(message) | ||
40 | } | ||
41 | } | ||
42 | |||
43 | override writeError(CharSequence message, String separator, ScriptConsoleDecorator[] decorators) { | ||
44 | super.writeError(message, separator, decorators) | ||
45 | if (runtimeConsole !== null) { | ||
46 | writeToRuntimeConsole(message, separator, decorators) | ||
47 | } | ||
48 | } | ||
49 | |||
50 | override writeError(String message) { | ||
51 | super.writeError(message) | ||
52 | if (runtimeConsole !== null) { | ||
53 | writeToRuntimeConsole(message) | ||
54 | } | ||
55 | } | ||
56 | |||
57 | private def MessageConsole prepareRuntimeConsole() { | ||
58 | val plugin = ConsolePlugin.getDefault(); | ||
59 | if (plugin === null) { | ||
60 | return null | ||
61 | } else { | ||
62 | val conMan = plugin.getConsoleManager(); | ||
63 | val existingConsoles = conMan.getConsoles(); | ||
64 | val existingConsolesWithID = existingConsoles.filter[it.name.equals(consoleID)] | ||
65 | if (existingConsolesWithID.empty) { | ||
66 | val MessageConsole res = new MessageConsole(consoleID, null) | ||
67 | conMan.addConsoles(#[res]); | ||
68 | |||
69 | return res | ||
70 | } else { | ||
71 | return existingConsolesWithID.head as MessageConsole | ||
72 | } | ||
73 | } | ||
74 | } | ||
75 | |||
76 | private def writeToRuntimeConsole(CharSequence message) { | ||
77 | // 1. reveal the console view | ||
78 | ConsolePlugin.getDefault().getConsoleManager().showConsoleView(this.runtimeConsole); | ||
79 | val stream = this.runtimeConsole.newMessageStream | ||
80 | stream.println(message.toString) | ||
81 | stream.close | ||
82 | } | ||
83 | |||
84 | private def writeToRuntimeConsole(CharSequence message, String separator, ScriptConsoleDecorator[] decorators) { | ||
85 | val messageString = message.toString | ||
86 | // 0. split the message | ||
87 | val separatedMessage = if (messageString.startsWith(separator)) { | ||
88 | #[""] + messageString.split(separator, -1) | ||
89 | } else { | ||
90 | messageString.split(separator, -1).toList | ||
91 | } | ||
92 | if (separatedMessage.size - 1 !== decorators.size) { | ||
93 | throw new IllegalArgumentException | ||
94 | } | ||
95 | |||
96 | // 1. reveal the console view | ||
97 | ConsolePlugin.getDefault().getConsoleManager().showConsoleView(this.runtimeConsole); | ||
98 | val stream = this.runtimeConsole.newMessageStream | ||
99 | |||
100 | // 2. print the segments of the view | ||
101 | for (i : 0 ..< decorators.size) { | ||
102 | stream.print(separatedMessage.get(i)) | ||
103 | writeDecoratedTextToRuntimeConsole(decorators.get(i), stream) | ||
104 | |||
105 | } | ||
106 | // 2.1 write the last segment of | ||
107 | stream.println(separatedMessage.last) | ||
108 | |||
109 | // stream.println(message.toString) | ||
110 | stream.close | ||
111 | } | ||
112 | |||
113 | private def writeDecoratedTextToRuntimeConsole(ScriptConsoleDecorator message, MessageConsoleStream stream) { | ||
114 | val originalBackgroundColor = this.runtimeConsole.background | ||
115 | var Color newColor = null; | ||
116 | |||
117 | val text = '''[«message.text»]''' | ||
118 | if (message.red >= 0 && message.green >= 0 && message.blue >= 0) { | ||
119 | newColor = new Color(originalBackgroundColor.device, message.red, message.green, message.blue) | ||
120 | this.runtimeConsole.setBackground(newColor) | ||
121 | } | ||
122 | stream.flush | ||
123 | val CompletableFuture<Boolean> finished = new CompletableFuture<Boolean> | ||
124 | val listener = new IDocumentListener() { | ||
125 | override documentAboutToBeChanged(DocumentEvent event) {} | ||
126 | |||
127 | override documentChanged(DocumentEvent event) { | ||
128 | // println('''ftext="«event.fText»", message="«message.text»" endswith=«event.fText.endsWith(message.text)»''') | ||
129 | if (event.fText.endsWith(text)) { | ||
130 | val from = event.fDocument.length - text.length + 1 | ||
131 | val length = message.text.length | ||
132 | // println('''from: «from» length «length»''') | ||
133 | try { | ||
134 | runtimeConsole.addHyperlink( | ||
135 | new ScriptConsoleFileHiperlink(message.hyperlink), | ||
136 | from, | ||
137 | length | ||
138 | ) | ||
139 | // println("link added") | ||
140 | } catch (BadLocationException e) { | ||
141 | } finally { | ||
142 | runtimeConsole.document.removeDocumentListener(this) | ||
143 | finished.complete(true) | ||
144 | } | ||
145 | } | ||
146 | |||
147 | } | ||
148 | } | ||
149 | runtimeConsole.document.addDocumentListener(listener) | ||
150 | stream.print(text) | ||
151 | stream.flush | ||
152 | finished.get | ||
153 | // stream.console.new | ||
154 | if (message.red >= 0 && message.green >= 0 && message.blue >= 0) { | ||
155 | newColor.dispose | ||
156 | this.runtimeConsole.setBackground(originalBackgroundColor) | ||
157 | } | ||
158 | } | ||
159 | |||
160 | private static def hasConsolePlugin() { | ||
161 | ConsolePlugin.getDefault() !== null | ||
162 | } | ||
163 | |||
164 | public static val FACTORY = new ScriptConsole.Factory { | ||
165 | |||
166 | override createScriptConsole(boolean cleanFiles, URI messageConsoleURI, URI errorConsoleURI, | ||
167 | URI statisticsConsoleURI) { | ||
168 | new RuntimeConsoleBasedScriptConsole(cleanFiles, messageConsoleURI, errorConsoleURI, statisticsConsoleURI) | ||
169 | } | ||
170 | |||
171 | } | ||
172 | } | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src/hu/bme/mit/inf/dslreasoner/application/ui/execute/ScriptConsoleFileHiperlink.xtend b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src/hu/bme/mit/inf/dslreasoner/application/ui/execute/ScriptConsoleFileHiperlink.xtend new file mode 100644 index 00000000..16d78a31 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src/hu/bme/mit/inf/dslreasoner/application/ui/execute/ScriptConsoleFileHiperlink.xtend | |||
@@ -0,0 +1,28 @@ | |||
1 | package hu.bme.mit.inf.dslreasoner.application.ui.execute | ||
2 | |||
3 | import java.io.File | ||
4 | import java.net.URI | ||
5 | import org.eclipse.core.filesystem.EFS | ||
6 | import org.eclipse.ui.PlatformUI | ||
7 | import org.eclipse.ui.console.IHyperlink | ||
8 | import org.eclipse.ui.ide.IDE | ||
9 | |||
10 | class ScriptConsoleFileHiperlink implements IHyperlink { | ||
11 | |||
12 | val URI path | ||
13 | |||
14 | new(File file) { | ||
15 | this.path = file.toURI() | ||
16 | } | ||
17 | |||
18 | override linkActivated() { | ||
19 | // println("open path: "+path.toString) | ||
20 | val page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); | ||
21 | val fileStore = EFS.getStore(path) | ||
22 | IDE.openEditorOnFileStore(page, fileStore) | ||
23 | } | ||
24 | |||
25 | override linkEntered() {} | ||
26 | |||
27 | override linkExited() {} | ||
28 | } | ||