diff options
Diffstat (limited to 'plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/Room.xtext')
-rw-r--r-- | plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/Room.xtext | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/Room.xtext b/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/Room.xtext index 21d8141ec..2868d5f1b 100644 --- a/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/Room.xtext +++ b/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/Room.xtext @@ -471,33 +471,6 @@ MessageFromIf: Guard: 'guard' guard=DetailCode; -// ************************************************************** -// general - -// HOWTO: use a combination of URI global scopes and namespace aware local scope provider -// this is configured in the work flow by -// fragment = scoping.ImportURIScopingFragment {} -// and by overriding configureIScopeProviderDelegate in the runtime module with -// ImportedNamespaceAwareLocalScopeProvider -// also configure in the RuntimeModule -// public Class<? extends ImportUriResolver> bindImportUriResolver() { -// return PlatformRelativeUriResolver.class; -// } -// and in the UiRuntimeModule -// public Class<? extends org.eclipse.xtext.ui.editor.IURIEditorOpener> bindIURIEditorOpener() { -// return GlobalNonPlatformURIEditorOpener.class; -// } -// public Class<? extends IHyperlinkHelper> bindIHyperlinkHelper() { -// return ImportAwareHyperlinkHelper.class; -// } -// the attribute 'importedNamespace' is picked up by the ImportedNamespaceAwareLocalScopeProvider -// the attribute 'importURI' is picked up by the ImportUriGlobalScopeProvider -Import : - 'import' (importedNamespace=ImportedFQN 'from' | 'model') importURI=STRING; - -ImportedFQN: - FQN ('.*')?; - // the following is a data type rule (accompanied by a value converter) and must not be a terminal rule // (because then the lexer already would find this in places where it is not expected, e.g. in an Attribute) MULTIPLICITY returns ecore::EInt : '[' ('*'|INT) ']'; |