Permalink
Browse files

added support foor life cycle methods

  • Loading branch information...
rju committed Feb 28, 2015
1 parent ca65f97 commit e1a5305cf18588ffc44ebccfacadd3a79b40d3c5
Showing with 8,465 additions and 5,741 deletions.
  1. +12 −0 ...ehavior.ui/src-gen/org/spp/cocome/behavior/ui/contentassist/AbstractBehaviorProposalProvider.java
  2. +7 −1 ...spp.cocome.behavior.ui/src-gen/org/spp/cocome/behavior/ui/contentassist/antlr/BehaviorParser.java
  3. +332 −8 ...me.behavior.ui/src-gen/org/spp/cocome/behavior/ui/contentassist/antlr/internal/InternalBehavior.g
  4. +25 −19 ...havior.ui/src-gen/org/spp/cocome/behavior/ui/contentassist/antlr/internal/InternalBehavior.tokens
  5. +326 −226 ...ior.ui/src-gen/org/spp/cocome/behavior/ui/contentassist/antlr/internal/InternalBehaviorLexer.java
  6. +4,593 −3,654 ...or.ui/src-gen/org/spp/cocome/behavior/ui/contentassist/antlr/internal/InternalBehaviorParser.java
  7. +8 −0 org.spp.cocome.behavior/model/generated/Behavior.ecore
  8. +5 −0 org.spp.cocome.behavior/model/generated/Behavior.genmodel
  9. BIN org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/Behavior.xtextbin
  10. +9 −0 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/BehaviorFactory.java
  11. +149 −26 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/BehaviorPackage.java
  12. +54 −0 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/ComponentImpl.java
  13. +51 −0 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/LifeCycleMethod.java
  14. +12 −0 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/impl/BehaviorFactoryImpl.java
  15. +59 −1 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/impl/BehaviorPackageImpl.java
  16. +143 −0 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/impl/ComponentImplImpl.java
  17. +194 −0 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/impl/LifeCycleMethodImpl.java
  18. +20 −0 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/util/BehaviorAdapterFactory.java
  19. +23 −0 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/behavior/util/BehaviorSwitch.java
  20. +93 −6 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/parser/antlr/internal/InternalBehavior.g
  21. +47 −41 ...spp.cocome.behavior/src-gen/org/spp/cocome/behavior/parser/antlr/internal/InternalBehavior.tokens
  22. +425 −325 ....cocome.behavior/src-gen/org/spp/cocome/behavior/parser/antlr/internal/InternalBehaviorLexer.java
  23. +1,676 −1,422 ...cocome.behavior/src-gen/org/spp/cocome/behavior/parser/antlr/internal/InternalBehaviorParser.java
  24. +25 −0 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/serializer/BehaviorSemanticSequencer.java
  25. +80 −9 org.spp.cocome.behavior/src-gen/org/spp/cocome/behavior/services/BehaviorGrammarAccess.java
  26. +6 −0 org.spp.cocome.behavior/src/org/spp/cocome/behavior/Behavior.xtext
  27. +16 −2 org.spp.cocome.behavior/src/org/spp/cocome/behavior/generator/BehaviorStructureGenerator.xtend
  28. +75 −1 org.spp.cocome.behavior/xtend-gen/org/spp/cocome/behavior/generator/BehaviorStructureGenerator.java
@@ -44,9 +44,18 @@ public void completeComponentImpl_LocalDeclarations(EObject model, Assignment as
completeRuleCall(((RuleCall)((Alternatives)assignment.getTerminal()).getElements().get(0)), context, acceptor);
completeRuleCall(((RuleCall)((Alternatives)assignment.getTerminal()).getElements().get(1)), context, acceptor);
}
public void completeComponentImpl_PostConstruct(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeComponentImpl_PreDestroy(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeComponentImpl_Interfaces(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeLifeCycleMethod_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor);
}
public void completeVariableDecl_Modifier(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
// subclasses may override
@@ -227,6 +236,9 @@ public void complete_Import(EObject model, RuleCall ruleCall, ContentAssistConte
public void complete_ComponentImpl(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_LifeCycleMethod(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
public void complete_ComponentKind(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
// subclasses may override
}
@@ -57,6 +57,9 @@ protected String getRuleName(AbstractElement element) {
put(grammarAccess.getRepositoryReferenceAccess().getGroup(), "rule__RepositoryReference__Group__0");
put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0");
put(grammarAccess.getComponentImplAccess().getGroup(), "rule__ComponentImpl__Group__0");
put(grammarAccess.getComponentImplAccess().getGroup_5(), "rule__ComponentImpl__Group_5__0");
put(grammarAccess.getComponentImplAccess().getGroup_6(), "rule__ComponentImpl__Group_6__0");
put(grammarAccess.getLifeCycleMethodAccess().getGroup(), "rule__LifeCycleMethod__Group__0");
put(grammarAccess.getVariableDeclAccess().getGroup(), "rule__VariableDecl__Group__0");
put(grammarAccess.getConstantDeclAccess().getGroup(), "rule__ConstantDecl__Group__0");
put(grammarAccess.getInterfaceRealizationAccess().getGroup(), "rule__InterfaceRealization__Group__0");
@@ -123,7 +126,10 @@ protected String getRuleName(AbstractElement element) {
put(grammarAccess.getComponentImplAccess().getKindAssignment_1(), "rule__ComponentImpl__KindAssignment_1");
put(grammarAccess.getComponentImplAccess().getRefComponentAssignment_2(), "rule__ComponentImpl__RefComponentAssignment_2");
put(grammarAccess.getComponentImplAccess().getLocalDeclarationsAssignment_4(), "rule__ComponentImpl__LocalDeclarationsAssignment_4");
put(grammarAccess.getComponentImplAccess().getInterfacesAssignment_5(), "rule__ComponentImpl__InterfacesAssignment_5");
put(grammarAccess.getComponentImplAccess().getPostConstructAssignment_5_1(), "rule__ComponentImpl__PostConstructAssignment_5_1");
put(grammarAccess.getComponentImplAccess().getPreDestroyAssignment_6_1(), "rule__ComponentImpl__PreDestroyAssignment_6_1");
put(grammarAccess.getComponentImplAccess().getInterfacesAssignment_7(), "rule__ComponentImpl__InterfacesAssignment_7");
put(grammarAccess.getLifeCycleMethodAccess().getBodyAssignment_1(), "rule__LifeCycleMethod__BodyAssignment_1");
put(grammarAccess.getVariableDeclAccess().getModifierAssignment_0(), "rule__VariableDecl__ModifierAssignment_0");
put(grammarAccess.getVariableDeclAccess().getTypeAssignment_1(), "rule__VariableDecl__TypeAssignment_1");
put(grammarAccess.getVariableDeclAccess().getNameAssignment_2(), "rule__VariableDecl__NameAssignment_2");
Oops, something went wrong.

0 comments on commit e1a5305

Please sign in to comment.