Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2012-06-18 04:40:55 -0400
committerHenrik Rentz-Reichert2012-06-18 04:40:55 -0400
commit09516238c6c926e8423172ce3bed77719128ba09 (patch)
tree99bae6987ebda9cb134afd346be01dea4fa8059a
parente8b390163ddaafe5b2088b95e297fbbab4462b18 (diff)
downloadorg.eclipse.etrice-09516238c6c926e8423172ce3bed77719128ba09.tar.gz
org.eclipse.etrice-09516238c6c926e8423172ce3bed77719128ba09.tar.xz
org.eclipse.etrice-09516238c6c926e8423172ce3bed77719128ba09.zip
[config, generator] added about.html, removed .class files and added xtend-gen file
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/about.html28
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/AbstractConfigUiModule.classbin14160 -> 0 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/ConfigExecutableExtensionFactory.classbin895 -> 0 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/ConfigUiModule.classbin461 -> 0 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/AbstractConfigProposalProvider.classbin2561 -> 0 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/ConfigProposalProvider.classbin428 -> 0 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/ConfigParser$1.classbin2503 -> 0 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/ConfigParser.classbin3304 -> 0 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/PartialConfigContentAssistParser.classbin2399 -> 0 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.g499
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.tokens15
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfigLexer$DFA12.classbin2846 -> 0 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfigLexer.classbin10567 -> 0 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfigParser.classbin17917 -> 0 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/internal/ConfigActivator.classbin3370 -> 0 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/labeling/ConfigDescriptionLabelProvider.classbin429 -> 0 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/labeling/ConfigLabelProvider.classbin614 -> 0 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/outline/ConfigOutlineTreeProvider.classbin421 -> 0 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/quickfix/ConfigQuickfixProvider.classbin407 -> 0 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.config/about.html28
-rw-r--r--plugins/org.eclipse.etrice.generator/xtend-gen/org/eclipse/etrice/generator/generic/ConfigExtension.java294
-rw-r--r--tests/org.eclipse.etrice.core.config.tests/about.html28
22 files changed, 378 insertions, 514 deletions
diff --git a/plugins/org.eclipse.etrice.core.config.ui/about.html b/plugins/org.eclipse.etrice.core.config.ui/about.html
new file mode 100644
index 000000000..82d49bf5f
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.config.ui/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2007</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>
diff --git a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/AbstractConfigUiModule.class b/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/AbstractConfigUiModule.class
deleted file mode 100644
index d6f6c1b20..000000000
--- a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/AbstractConfigUiModule.class
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/ConfigExecutableExtensionFactory.class b/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/ConfigExecutableExtensionFactory.class
deleted file mode 100644
index 201b4d34e..000000000
--- a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/ConfigExecutableExtensionFactory.class
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/ConfigUiModule.class b/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/ConfigUiModule.class
deleted file mode 100644
index dd75e558b..000000000
--- a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/ConfigUiModule.class
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/AbstractConfigProposalProvider.class b/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/AbstractConfigProposalProvider.class
deleted file mode 100644
index 910b3cb3b..000000000
--- a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/AbstractConfigProposalProvider.class
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/ConfigProposalProvider.class b/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/ConfigProposalProvider.class
deleted file mode 100644
index 571742d4a..000000000
--- a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/ConfigProposalProvider.class
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/ConfigParser$1.class b/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/ConfigParser$1.class
deleted file mode 100644
index 517da2134..000000000
--- a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/ConfigParser$1.class
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/ConfigParser.class b/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/ConfigParser.class
deleted file mode 100644
index 8f2ca5ac0..000000000
--- a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/ConfigParser.class
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/PartialConfigContentAssistParser.class b/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/PartialConfigContentAssistParser.class
deleted file mode 100644
index 5dd89f8fc..000000000
--- a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/PartialConfigContentAssistParser.class
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.g b/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.g
deleted file mode 100644
index a023a2bdf..000000000
--- a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.g
+++ /dev/null
@@ -1,499 +0,0 @@
-/*
-* generated by Xtext
-*/
-grammar InternalConfig;
-
-options {
- superClass=AbstractInternalContentAssistParser;
-
-}
-
-@lexer::header {
-package org.eclipse.etrice.core.ui.contentassist.antlr.internal;
-
-// Hack: Use our own Lexer superclass by means of import.
-// Currently there is no other way to specify the superclass for the lexer.
-import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer;
-}
-
-@parser::header {
-package org.eclipse.etrice.core.ui.contentassist.antlr.internal;
-
-import java.io.InputStream;
-import org.eclipse.xtext.*;
-import org.eclipse.xtext.parser.*;
-import org.eclipse.xtext.parser.impl.*;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
-import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
-import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA;
-import org.eclipse.etrice.core.services.ConfigGrammarAccess;
-
-}
-
-@parser::members {
-
- private ConfigGrammarAccess grammarAccess;
-
- public void setGrammarAccess(ConfigGrammarAccess grammarAccess) {
- this.grammarAccess = grammarAccess;
- }
-
- @Override
- protected Grammar getGrammar() {
- return grammarAccess.getGrammar();
- }
-
- @Override
- protected String getValueForTokenName(String tokenName) {
- return tokenName;
- }
-
-}
-
-
-
-
-// Entry rule entryRuleConfigModel
-entryRuleConfigModel
-:
-{ before(grammarAccess.getConfigModelRule()); }
- ruleConfigModel
-{ after(grammarAccess.getConfigModelRule()); }
- EOF
-;
-
-// Rule ConfigModel
-ruleConfigModel
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getConfigModelAccess().getGroup()); }
-(rule__ConfigModel__Group__0)
-{ after(grammarAccess.getConfigModelAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleActorClassConfig
-entryRuleActorClassConfig
-:
-{ before(grammarAccess.getActorClassConfigRule()); }
- ruleActorClassConfig
-{ after(grammarAccess.getActorClassConfigRule()); }
- EOF
-;
-
-// Rule ActorClassConfig
-ruleActorClassConfig
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getActorClassConfigAccess().getGroup()); }
-(rule__ActorClassConfig__Group__0)
-{ after(grammarAccess.getActorClassConfigAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleActorInstanceConfig
-entryRuleActorInstanceConfig
-:
-{ before(grammarAccess.getActorInstanceConfigRule()); }
- ruleActorInstanceConfig
-{ after(grammarAccess.getActorInstanceConfigRule()); }
- EOF
-;
-
-// Rule ActorInstanceConfig
-ruleActorInstanceConfig
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getActorInstanceConfigAccess().getGroup()); }
-(rule__ActorInstanceConfig__Group__0)
-{ after(grammarAccess.getActorInstanceConfigAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__ConfigModel__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ConfigModel__Group__0__Impl
- rule__ConfigModel__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConfigModel__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getConfigModelAccess().getActorClassConfigsAssignment_0()); }
-(rule__ConfigModel__ActorClassConfigsAssignment_0)*
-{ after(grammarAccess.getConfigModelAccess().getActorClassConfigsAssignment_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ConfigModel__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ConfigModel__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConfigModel__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getConfigModelAccess().getActorInstanceConfigsAssignment_1()); }
-(rule__ConfigModel__ActorInstanceConfigsAssignment_1)*
-{ after(grammarAccess.getConfigModelAccess().getActorInstanceConfigsAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__ActorClassConfig__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorClassConfig__Group__0__Impl
- rule__ActorClassConfig__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorClassConfig__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorClassConfigAccess().getActorClassConfigKeyword_0()); }
-
- 'ActorClassConfig'
-
-{ after(grammarAccess.getActorClassConfigAccess().getActorClassConfigKeyword_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ActorClassConfig__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorClassConfig__Group__1__Impl
- rule__ActorClassConfig__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorClassConfig__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorClassConfigAccess().getActorClassAssignment_1()); }
-(rule__ActorClassConfig__ActorClassAssignment_1)
-{ after(grammarAccess.getActorClassConfigAccess().getActorClassAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ActorClassConfig__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorClassConfig__Group__2__Impl
- rule__ActorClassConfig__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorClassConfig__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorClassConfigAccess().getLeftCurlyBracketKeyword_2()); }
-
- '{'
-
-{ after(grammarAccess.getActorClassConfigAccess().getLeftCurlyBracketKeyword_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ActorClassConfig__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorClassConfig__Group__3__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorClassConfig__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorClassConfigAccess().getRightCurlyBracketKeyword_3()); }
-
- '}'
-
-{ after(grammarAccess.getActorClassConfigAccess().getRightCurlyBracketKeyword_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-
-
-rule__ActorInstanceConfig__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorInstanceConfig__Group__0__Impl
- rule__ActorInstanceConfig__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorInstanceConfig__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorInstanceConfigAccess().getActorInstanceConfigKeyword_0()); }
-
- 'ActorInstanceConfig'
-
-{ after(grammarAccess.getActorInstanceConfigAccess().getActorInstanceConfigKeyword_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ActorInstanceConfig__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorInstanceConfig__Group__1__Impl
- rule__ActorInstanceConfig__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorInstanceConfig__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorInstanceConfigAccess().getLeftCurlyBracketKeyword_1()); }
-
- '{'
-
-{ after(grammarAccess.getActorInstanceConfigAccess().getLeftCurlyBracketKeyword_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ActorInstanceConfig__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ActorInstanceConfig__Group__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorInstanceConfig__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_2()); }
-
- '}'
-
-{ after(grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-
-rule__ConfigModel__ActorClassConfigsAssignment_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getConfigModelAccess().getActorClassConfigsActorClassConfigParserRuleCall_0_0()); }
- ruleActorClassConfig{ after(grammarAccess.getConfigModelAccess().getActorClassConfigsActorClassConfigParserRuleCall_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ConfigModel__ActorInstanceConfigsAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getConfigModelAccess().getActorInstanceConfigsActorInstanceConfigParserRuleCall_1_0()); }
- ruleActorInstanceConfig{ after(grammarAccess.getConfigModelAccess().getActorInstanceConfigsActorInstanceConfigParserRuleCall_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ActorClassConfig__ActorClassAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getActorClassConfigAccess().getActorClassActorClassCrossReference_1_0()); }
-(
-{ before(grammarAccess.getActorClassConfigAccess().getActorClassActorClassIDTerminalRuleCall_1_0_1()); }
- RULE_ID{ after(grammarAccess.getActorClassConfigAccess().getActorClassActorClassIDTerminalRuleCall_1_0_1()); }
-)
-{ after(grammarAccess.getActorClassConfigAccess().getActorClassActorClassCrossReference_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
-
-RULE_INT : ('0'..'9')+;
-
-RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');
-
-RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
-
-RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
-
-RULE_WS : (' '|'\t'|'\r'|'\n')+;
-
-RULE_ANY_OTHER : .;
-
-
diff --git a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.tokens b/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.tokens
deleted file mode 100644
index 536f0772f..000000000
--- a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.tokens
+++ /dev/null
@@ -1,15 +0,0 @@
-RULE_ID=4
-RULE_STRING=6
-T__12=12
-T__11=11
-T__14=14
-T__13=13
-RULE_ANY_OTHER=10
-RULE_INT=5
-RULE_WS=9
-RULE_SL_COMMENT=8
-RULE_ML_COMMENT=7
-'ActorInstanceConfig'=14
-'}'=13
-'ActorClassConfig'=11
-'{'=12
diff --git a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfigLexer$DFA12.class b/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfigLexer$DFA12.class
deleted file mode 100644
index 6089a2ec3..000000000
--- a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfigLexer$DFA12.class
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfigLexer.class b/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfigLexer.class
deleted file mode 100644
index 4980ae994..000000000
--- a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfigLexer.class
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfigParser.class b/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfigParser.class
deleted file mode 100644
index b3228cfd3..000000000
--- a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfigParser.class
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/internal/ConfigActivator.class b/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/internal/ConfigActivator.class
deleted file mode 100644
index a9f01e902..000000000
--- a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/internal/ConfigActivator.class
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/labeling/ConfigDescriptionLabelProvider.class b/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/labeling/ConfigDescriptionLabelProvider.class
deleted file mode 100644
index 6ecdae988..000000000
--- a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/labeling/ConfigDescriptionLabelProvider.class
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/labeling/ConfigLabelProvider.class b/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/labeling/ConfigLabelProvider.class
deleted file mode 100644
index 9facd877d..000000000
--- a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/labeling/ConfigLabelProvider.class
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/outline/ConfigOutlineTreeProvider.class b/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/outline/ConfigOutlineTreeProvider.class
deleted file mode 100644
index d59117e2c..000000000
--- a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/outline/ConfigOutlineTreeProvider.class
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/quickfix/ConfigQuickfixProvider.class b/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/quickfix/ConfigQuickfixProvider.class
deleted file mode 100644
index 093ae5559..000000000
--- a/plugins/org.eclipse.etrice.core.config.ui/bin/org/eclipse/etrice/core/ui/quickfix/ConfigQuickfixProvider.class
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.etrice.core.config/about.html b/plugins/org.eclipse.etrice.core.config/about.html
new file mode 100644
index 000000000..82d49bf5f
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.config/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2007</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>
diff --git a/plugins/org.eclipse.etrice.generator/xtend-gen/org/eclipse/etrice/generator/generic/ConfigExtension.java b/plugins/org.eclipse.etrice.generator/xtend-gen/org/eclipse/etrice/generator/generic/ConfigExtension.java
new file mode 100644
index 000000000..ee1fc5835
--- /dev/null
+++ b/plugins/org.eclipse.etrice.generator/xtend-gen/org/eclipse/etrice/generator/generic/ConfigExtension.java
@@ -0,0 +1,294 @@
+package org.eclipse.etrice.generator.generic;
+
+import com.google.inject.Inject;
+import com.google.inject.Singleton;
+import java.util.ArrayList;
+import java.util.List;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.etrice.core.config.ActorClassConfig;
+import org.eclipse.etrice.core.config.ActorInstanceConfig;
+import org.eclipse.etrice.core.config.AttrClassConfig;
+import org.eclipse.etrice.core.config.AttrInstanceConfig;
+import org.eclipse.etrice.core.config.BooleanLiteral;
+import org.eclipse.etrice.core.config.IntLiteral;
+import org.eclipse.etrice.core.config.Literal;
+import org.eclipse.etrice.core.config.LiteralArray;
+import org.eclipse.etrice.core.config.PortClassConfig;
+import org.eclipse.etrice.core.config.PortInstanceConfig;
+import org.eclipse.etrice.core.config.ProtocolClassConfig;
+import org.eclipse.etrice.core.config.RealLiteral;
+import org.eclipse.etrice.core.config.StringLiteral;
+import org.eclipse.etrice.core.genmodel.etricegen.ActorInstance;
+import org.eclipse.etrice.core.room.ActorClass;
+import org.eclipse.etrice.core.room.Attribute;
+import org.eclipse.etrice.core.room.DataType;
+import org.eclipse.etrice.core.room.LiteralType;
+import org.eclipse.etrice.core.room.PortClass;
+import org.eclipse.etrice.core.room.PrimitiveType;
+import org.eclipse.etrice.core.room.ProtocolClass;
+import org.eclipse.etrice.core.room.RefableType;
+import org.eclipse.etrice.generator.base.ConfigHelper;
+import org.eclipse.etrice.generator.generic.ILanguageExtension;
+import org.eclipse.xtext.xbase.lib.BooleanExtensions;
+import org.eclipse.xtext.xbase.lib.ComparableExtensions;
+import org.eclipse.xtext.xbase.lib.Functions.Function1;
+import org.eclipse.xtext.xbase.lib.IntegerExtensions;
+import org.eclipse.xtext.xbase.lib.IterableExtensions;
+import org.eclipse.xtext.xbase.lib.ObjectExtensions;
+import org.eclipse.xtext.xbase.lib.StringExtensions;
+import org.eclipse.xtext.xtend2.lib.StringConcatenation;
+
+@SuppressWarnings("all")
+@Singleton
+public class ConfigExtension {
+ @Inject
+ private ILanguageExtension languageExt;
+
+ public String getInitValue(final Attribute a) {
+ String _configDefaultValue = this.getConfigDefaultValue(a);
+ String value = _configDefaultValue;
+ boolean _operator_equals = ObjectExtensions.operator_equals(value, null);
+ if (_operator_equals) {
+ String _defaultValueLiteral = a.getDefaultValueLiteral();
+ value = _defaultValueLiteral;
+ }
+ return value;
+ }
+
+ public String getConfigDefaultValue(final Attribute attr) {
+ String _xifexpression = null;
+ EObject _eContainer = attr.eContainer();
+ if ((_eContainer instanceof ActorClass)) {
+ {
+ EObject _eContainer_1 = attr.eContainer();
+ ActorClass ac = ((ActorClass) _eContainer_1);
+ ActorClassConfig _classConfig = this.getClassConfig(ac);
+ EList<AttrClassConfig> _attributes = _classConfig==null?(EList<AttrClassConfig>)null:_classConfig.getAttributes();
+ String _configValue = _attributes==null?(String)null:this.getConfigValue(_attributes, attr);
+ return _configValue;
+ }
+ } else {
+ String _xifexpression_1 = null;
+ EObject _eContainer_2 = attr.eContainer();
+ if ((_eContainer_2 instanceof PortClass)) {
+ {
+ EObject _eContainer_3 = attr.eContainer();
+ PortClass pc = ((PortClass) _eContainer_3);
+ EObject _eContainer_4 = pc.eContainer();
+ ProtocolClass protocol = ((ProtocolClass) _eContainer_4);
+ ProtocolClassConfig _protocolConfig = this.getProtocolConfig(((ProtocolClass) protocol));
+ ProtocolClassConfig prcConfig = _protocolConfig;
+ PortClass _regular = protocol.getRegular();
+ boolean _equals = pc.equals(_regular);
+ if (_equals) {
+ PortClassConfig _regular_1 = prcConfig==null?(PortClassConfig)null:prcConfig.getRegular();
+ EList<AttrClassConfig> _attributes_1 = _regular_1==null?(EList<AttrClassConfig>)null:_regular_1.getAttributes();
+ String _configValue_1 = _attributes_1==null?(String)null:this.getConfigValue(_attributes_1, attr);
+ return _configValue_1;
+ } else {
+ PortClassConfig _conjugated = prcConfig==null?(PortClassConfig)null:prcConfig.getConjugated();
+ EList<AttrClassConfig> _attributes_2 = _conjugated==null?(EList<AttrClassConfig>)null:_conjugated.getAttributes();
+ String _configValue_2 = _attributes_2==null?(String)null:this.getConfigValue(_attributes_2, attr);
+ return _configValue_2;
+ }
+ }
+ }
+ _xifexpression = _xifexpression_1;
+ }
+ return _xifexpression;
+ }
+
+ public String getConfigValue(final List<AttrClassConfig> attrConfigs, final Attribute attr) {
+ final Function1<AttrClassConfig,Boolean> _function = new Function1<AttrClassConfig,Boolean>() {
+ public Boolean apply(final AttrClassConfig attrConfig) {
+ Attribute _attribute = attrConfig.getAttribute();
+ boolean _equals = _attribute.equals(attr);
+ return ((Boolean)_equals);
+ }
+ };
+ AttrClassConfig _findFirst = IterableExtensions.<AttrClassConfig>findFirst(attrConfigs, _function);
+ LiteralArray _value = _findFirst==null?(LiteralArray)null:_findFirst.getValue();
+ String _stringValue = _value==null?(String)null:this.stringValue(_value, attr);
+ return _stringValue;
+ }
+
+ public ActorClassConfig getClassConfig(final ActorClass ac) {
+ ActorClassConfig _get = ConfigHelper.actorMap.get(ac);
+ return _get;
+ }
+
+ public ProtocolClassConfig getProtocolConfig(final ProtocolClass prc) {
+ ProtocolClassConfig _get = ConfigHelper.protocolMap.get(prc);
+ return _get;
+ }
+
+ public String stringValue(final LiteralArray literalArray, final Attribute attr) {
+ String string = "";
+ boolean _operator_and = false;
+ boolean _isArray = this.isArray(attr);
+ if (!_isArray) {
+ _operator_and = false;
+ } else {
+ EList<Literal> _literals = literalArray.getLiterals();
+ int _size = _literals.size();
+ boolean _operator_greaterThan = ComparableExtensions.<Integer>operator_greaterThan(((Integer)_size), ((Integer)1));
+ _operator_and = BooleanExtensions.operator_and(_isArray, _operator_greaterThan);
+ }
+ if (_operator_and) {
+ {
+ StringConcatenation _builder = new StringConcatenation();
+ _builder.append("{ ");
+ {
+ EList<Literal> _literals_1 = literalArray.getLiterals();
+ for(final Literal literal : _literals_1) {
+ String _stringValue = this.stringValue(literal);
+ _builder.append(_stringValue, "");
+ _builder.append(", ");
+ }
+ }
+ String _operator_plus = StringExtensions.operator_plus(string, _builder);
+ string = _operator_plus;
+ int _length = string.length();
+ int _operator_minus = IntegerExtensions.operator_minus(((Integer)_length), ((Integer)2));
+ String _substring = string.substring(0, _operator_minus);
+ StringConcatenation _builder_1 = new StringConcatenation();
+ _builder_1.append(" ");
+ _builder_1.append("}");
+ String _operator_plus_1 = StringExtensions.operator_plus(_substring, _builder_1);
+ string = _operator_plus_1;
+ }
+ } else {
+ EList<Literal> _literals_2 = literalArray.getLiterals();
+ Literal _get = _literals_2.get(0);
+ String _stringValue_1 = this.stringValue(_get);
+ string = _stringValue_1;
+ }
+ return string;
+ }
+
+ private String stringValue(final Literal literal) {
+ String _switchResult = null;
+ final Literal literal_1 = literal;
+ boolean matched = false;
+ if (!matched) {
+ if (literal_1 instanceof BooleanLiteral) {
+ final BooleanLiteral literal_2 = (BooleanLiteral) literal_1;
+ matched=true;
+ boolean _isIsTrue = literal_2.isIsTrue();
+ String _string = ((Boolean)_isIsTrue).toString();
+ _switchResult = _string;
+ }
+ }
+ if (!matched) {
+ if (literal_1 instanceof IntLiteral) {
+ final IntLiteral literal_3 = (IntLiteral) literal_1;
+ matched=true;
+ int _value = literal_3.getValue();
+ String _string_1 = ((Integer)_value).toString();
+ _switchResult = _string_1;
+ }
+ }
+ if (!matched) {
+ if (literal_1 instanceof RealLiteral) {
+ final RealLiteral literal_4 = (RealLiteral) literal_1;
+ matched=true;
+ double _value_1 = literal_4.getValue();
+ String _string_2 = ((Double)_value_1).toString();
+ _switchResult = _string_2;
+ }
+ }
+ if (!matched) {
+ if (literal_1 instanceof StringLiteral) {
+ final StringLiteral literal_5 = (StringLiteral) literal_1;
+ matched=true;
+ String _xblockexpression = null;
+ {
+ String _value_2 = literal_5.getValue();
+ String _string_3 = _value_2.toString();
+ String value = _string_3;
+ String _xifexpression = null;
+ int _length = value.length();
+ boolean _operator_equals = ObjectExtensions.operator_equals(((Integer)_length), ((Integer)1));
+ if (_operator_equals) {
+ String _operator_plus = StringExtensions.operator_plus("\'", value);
+ String _operator_plus_1 = StringExtensions.operator_plus(_operator_plus, "\'");
+ _xifexpression = _operator_plus_1;
+ } else {
+ String _charArrayExpr = this.languageExt.toCharArrayExpr(value);
+ _xifexpression = _charArrayExpr;
+ }
+ _xblockexpression = (_xifexpression);
+ }
+ _switchResult = _xblockexpression;
+ }
+ }
+ return _switchResult;
+ }
+
+ public boolean isArray(final Attribute attr) {
+ boolean _xblockexpression = false;
+ {
+ boolean isChar = false;
+ RefableType _refType = attr.getRefType();
+ DataType _type = _refType.getType();
+ if ((_type instanceof PrimitiveType)) {
+ {
+ RefableType _refType_1 = attr.getRefType();
+ DataType _type_1 = _refType_1.getType();
+ PrimitiveType primitive = ((PrimitiveType) _type_1);
+ LiteralType _type_2 = primitive.getType();
+ boolean _operator_equals = ObjectExtensions.operator_equals(_type_2, LiteralType.CHAR);
+ isChar = _operator_equals;
+ }
+ }
+ boolean _operator_and = false;
+ boolean _operator_not = BooleanExtensions.operator_not(isChar);
+ if (!_operator_not) {
+ _operator_and = false;
+ } else {
+ int _size = attr.getSize();
+ boolean _operator_greaterThan = ComparableExtensions.<Integer>operator_greaterThan(((Integer)_size), ((Integer)0));
+ _operator_and = BooleanExtensions.operator_and(_operator_not, _operator_greaterThan);
+ }
+ _xblockexpression = (_operator_and);
+ }
+ return _xblockexpression;
+ }
+
+ public List<AttrInstanceConfig> getConfigAttributes(final ActorInstance ai) {
+ ArrayList<AttrInstanceConfig> _arrayList = new ArrayList<AttrInstanceConfig>();
+ ArrayList<AttrInstanceConfig> attrConfigs = _arrayList;
+ String _path = ai.getPath();
+ ActorInstanceConfig _get = ConfigHelper.instanceMap.get(_path);
+ ActorInstanceConfig config = _get;
+ boolean _operator_notEquals = ObjectExtensions.operator_notEquals(config, null);
+ if (_operator_notEquals) {
+ EList<AttrInstanceConfig> _attributes = config.getAttributes();
+ for (final AttrInstanceConfig attrConfig : _attributes) {
+ LiteralArray _value = attrConfig.getValue();
+ boolean _operator_notEquals_1 = ObjectExtensions.operator_notEquals(_value, null);
+ if (_operator_notEquals_1) {
+ attrConfigs.add(attrConfig);
+ }
+ }
+ }
+ return attrConfigs;
+ }
+
+ public List<PortInstanceConfig> getConfigPorts(final ActorInstance ai) {
+ ArrayList<PortInstanceConfig> _arrayList = new ArrayList<PortInstanceConfig>();
+ ArrayList<PortInstanceConfig> portConfigs = _arrayList;
+ String _path = ai.getPath();
+ ActorInstanceConfig _get = ConfigHelper.instanceMap.get(_path);
+ ActorInstanceConfig config = _get;
+ boolean _operator_notEquals = ObjectExtensions.operator_notEquals(config, null);
+ if (_operator_notEquals) {
+ EList<PortInstanceConfig> _ports = config.getPorts();
+ for (final PortInstanceConfig portConfig : _ports) {
+ portConfigs.add(portConfig);
+ }
+ }
+ return portConfigs;
+ }
+}
diff --git a/tests/org.eclipse.etrice.core.config.tests/about.html b/tests/org.eclipse.etrice.core.config.tests/about.html
new file mode 100644
index 000000000..82d49bf5f
--- /dev/null
+++ b/tests/org.eclipse.etrice.core.config.tests/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2007</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>

Back to the top