SlideShare une entreprise Scribd logo
1  sur  19
Télécharger pour lire hors ligne
Yakindu SCT
Domain-Specific Statecharts
Alexander Nyßen,AxelTerfloth
itemis AG
YAKINDU Open Source
is a modular toolkit
for model-based development
(of embedded systems)
YAKINDU Modules
• independent and self-contained
• not bound to a specific methodology
• usable on their own
• open & extendable
• composable to (domain-specific)
language workbenches
➡ Reuse of
• modeling language
• tools
Eclipse PlatformSCT(Statecharts)
CoMo
CReMa
Damos(Blocks)
[nowEclipseDamos]
"Developing Embedded Systems with Damos"
Wednesday, 2:30
YAKINDU StatechartTools (SCT)
Editing
Validation
Simulation
Code Generation
YAKINDU Statechart
• Formalism similar to state machines as defined by
David Harel, but:
• self-contained with a well defined interface
• with a cycle-based execution semantics
• allows processing
concurrent events
• event-driven behavior can
be defined on top
• time control is delegated
to the environment
Yakindu SCT - Editing
Editor
SGraph
SText
Integrated
Graphical & Textual
Modeling
Yakindu SCT - Simulation
Editor
SGraph
SText
Easy adoptable
simulation
SExec Simulator
Yakindu SCT - Code Generation
• Yakindu comprises code generators for Java, C, C++
• All generators can be „customized“ by a generator model
• Custom generators based on Xpand & Xtend2/Java can be
easily integrated
Editor
SGraph
SText
Flexible
Code Generation
SExec Simulator
Code-
Generators
SGen
DEMO
Yakindu SCT - Extensibility
• Recap: different models are used around the Statechart formalism
• SGraph (EMF): specification of graphical structures
• SText (Xtext): textual specification of declarations & expressions
• SExec (EMF): sequentialized statechart execution
• SGen (Xtext): code generator parameterization
Built-In Extensibility
• Restriction of structural concepts (SGraph)
• Customization of declarations & expressions (SText)
• Adoption of the execution semantics (SExec)
• Adoption of existing or integration of custom code generators
• Integration of custom type system, augmentation by
application types
• Integration of additional validation constraints
The Statechart Application Gap
• How can statecharts be adopted to a specific domain?
• How can tools support this adoption?
State-based modeling
is useful
in many domains
Typically, statecharts
are independent
of any domain
Example: Domain Concepts - HMI
Domain Specific Statecharts
• Improving expressiveness and semantic integration by
adopting domain concepts:
• Refer to domain concepts within declarations (events,
variables) and expressions (feature-calls)
• Concepts from HMI domain: widget (button, label, etc.),
scene, popup, animation, button-click, intro, outro,...
Integration of HMI Concepts
DEMO
Generic
Domain-Specific
Domain-Specific Statechart Approach
specialization
HMI Meta Model
Structural Concepts
(SGraph)
grammar com.yakindu.hmi.sctmodel.HMIText with org.yakindu.sct.model.stext.SText
/* ---- root rules ----
These root rules are not relevant for the
into a single grammar.
*/
Root:
	 (roots+=DefRoot)*;
Declaration returns sct::Declaration:
	 EventDefinition | VariableDefinition | Clock | Operation
| LocalReaction | Entrypoint | Exitpoint | HMIDeclaration;
HMIDeclaration:
	 HmiScene | HmiPopup | HmiAnimation | HmiTransition;
HmiScene:
	 'scene' scene=[contract::Scene|QID];
HmiPopup:
	 'popup' popup=[contract::Popup|QID];
HmiAnimation:
	 'animation' animation=[contract::Animation|QID];
HMI Declarations
grammar org.yakindu.sct.model.stext.SText with org.eclipse.xtext.common.Terminals
/* ---- root rules ----
These root rules are not relevant for the grammar integration
into a single grammar.
*/
Root:
	 (roots+=DefRoot)*;
DefRoot:
	 StatechartRoot | StateRoot | TransitionRoot;
Scope returns sct::Scope:
	 (SimpleScope | StatechartScope);
	 // a SimpleScope is used for states and regions
SimpleScope returns sct::Scope:
	 {SimpleScope} (declarations+=Declaration)*;
	 // defines the poosible scopes for statecharts
StatechartScope returns sct::Scope:
	 InterfaceScope | InternalScope;
InterfaceScope returns sct::Scope:
Declarations &
Expressions
(SText)
references
extends
extends
Domain Specific
Statechart
Yakindu SCT
• Open Source / EPL
• Hosted at EclipseLabs
• Eclipse-Proposal planned
• Interested parties welcome!
• Important Links:
• Project Site: http://yakindu.org
• Eclipse Labs Site: http://code.google.com/a/eclipselabs.org/p/yakindu/
• Update Site: http://updates.yakindu.com/juno/milestones/
ThankYou! Questions?

Contenu connexe

En vedette (11)

Ravinteiden kierrätyksen kärkihankkeen vuosi 2016 kuvina
Ravinteiden kierrätyksen kärkihankkeen vuosi 2016 kuvinaRavinteiden kierrätyksen kärkihankkeen vuosi 2016 kuvina
Ravinteiden kierrätyksen kärkihankkeen vuosi 2016 kuvina
 
14PtsdCrp
14PtsdCrp14PtsdCrp
14PtsdCrp
 
Eläinlääkäripalvelujen saatavuus ja kustannukset, Luonnonvarakeskus
Eläinlääkäripalvelujen saatavuus ja kustannukset, LuonnonvarakeskusEläinlääkäripalvelujen saatavuus ja kustannukset, Luonnonvarakeskus
Eläinlääkäripalvelujen saatavuus ja kustannukset, Luonnonvarakeskus
 
Tournaments Provide Tradition and Opportunity (A Future for the Sport)
Tournaments Provide Tradition and Opportunity (A Future for the Sport)Tournaments Provide Tradition and Opportunity (A Future for the Sport)
Tournaments Provide Tradition and Opportunity (A Future for the Sport)
 
Prativa biswas
Prativa biswasPrativa biswas
Prativa biswas
 
9/11 incident
9/11 incident9/11 incident
9/11 incident
 
Alkalizirajte ili umrite
Alkalizirajte ili umriteAlkalizirajte ili umrite
Alkalizirajte ili umrite
 
Issue 27
Issue 27Issue 27
Issue 27
 
Issue 26
Issue 26Issue 26
Issue 26
 
Rhino Freedom
Rhino Freedom Rhino Freedom
Rhino Freedom
 
Mokslo ir technalogijų pažanga
Mokslo ir technalogijų pažangaMokslo ir technalogijų pažanga
Mokslo ir technalogijų pažanga
 

Similaire à YAKINDU SCT - Domain-Specific Statecharts

Model Driven Architecture and eXecutable UML
Model Driven Architecture and eXecutable UMLModel Driven Architecture and eXecutable UML
Model Driven Architecture and eXecutable UML
elliando dias
 
New Open Source project at HGI for SmartHome Device Abstraction Templates - A...
New Open Source project at HGI for SmartHome Device Abstraction Templates - A...New Open Source project at HGI for SmartHome Device Abstraction Templates - A...
New Open Source project at HGI for SmartHome Device Abstraction Templates - A...
mfrancis
 
Embedded 100912065920-phpapp02
Embedded 100912065920-phpapp02Embedded 100912065920-phpapp02
Embedded 100912065920-phpapp02
Atv Reddy
 

Similaire à YAKINDU SCT - Domain-Specific Statecharts (20)

Domain specific modelling (DSM)
Domain specific modelling (DSM)Domain specific modelling (DSM)
Domain specific modelling (DSM)
 
Yakindu Statechart - Domain specific statecharts
Yakindu Statechart - Domain specific statechartsYakindu Statechart - Domain specific statecharts
Yakindu Statechart - Domain specific statecharts
 
Model Driven Architecture and eXecutable UML
Model Driven Architecture and eXecutable UMLModel Driven Architecture and eXecutable UML
Model Driven Architecture and eXecutable UML
 
Efficient and Advanced Omniscient Debugging for xDSMLs (SLE 2015)
Efficient and Advanced Omniscient Debugging for xDSMLs (SLE 2015)Efficient and Advanced Omniscient Debugging for xDSMLs (SLE 2015)
Efficient and Advanced Omniscient Debugging for xDSMLs (SLE 2015)
 
New Open Source project at HGI for SmartHome Device Abstraction Templates - A...
New Open Source project at HGI for SmartHome Device Abstraction Templates - A...New Open Source project at HGI for SmartHome Device Abstraction Templates - A...
New Open Source project at HGI for SmartHome Device Abstraction Templates - A...
 
The road ahead for architectural languages [ACVI 2016]
The road ahead for architectural languages [ACVI 2016]The road ahead for architectural languages [ACVI 2016]
The road ahead for architectural languages [ACVI 2016]
 
WSO2 Complex Event Processor - Product Overview
WSO2 Complex Event Processor - Product OverviewWSO2 Complex Event Processor - Product Overview
WSO2 Complex Event Processor - Product Overview
 
Constructing DSMLs
Constructing DSMLsConstructing DSMLs
Constructing DSMLs
 
Tech Days 2015: Model Based Development with QGen
Tech Days 2015: Model Based Development with QGenTech Days 2015: Model Based Development with QGen
Tech Days 2015: Model Based Development with QGen
 
Embedded
EmbeddedEmbedded
Embedded
 
Azure Service Fabric: notes from the field (Sam Vanhoute @Integrate 2016)
Azure Service Fabric: notes from the field (Sam Vanhoute @Integrate 2016)Azure Service Fabric: notes from the field (Sam Vanhoute @Integrate 2016)
Azure Service Fabric: notes from the field (Sam Vanhoute @Integrate 2016)
 
Embedded 100912065920-phpapp02
Embedded 100912065920-phpapp02Embedded 100912065920-phpapp02
Embedded 100912065920-phpapp02
 
Embedded 100912065920-phpapp02
Embedded 100912065920-phpapp02Embedded 100912065920-phpapp02
Embedded 100912065920-phpapp02
 
Software development effort reduction with Co-op
Software development effort reduction with Co-opSoftware development effort reduction with Co-op
Software development effort reduction with Co-op
 
Java1 in mumbai
Java1 in mumbaiJava1 in mumbai
Java1 in mumbai
 
Pragmatic Model Driven Development using openArchitectureWare
Pragmatic Model Driven Development using openArchitectureWarePragmatic Model Driven Development using openArchitectureWare
Pragmatic Model Driven Development using openArchitectureWare
 
Overview of QP Frameworks and QM Modeling Tools (Notes)
Overview of QP Frameworks and QM Modeling Tools (Notes)Overview of QP Frameworks and QM Modeling Tools (Notes)
Overview of QP Frameworks and QM Modeling Tools (Notes)
 
MDE in Practice
MDE in PracticeMDE in Practice
MDE in Practice
 
Code Generation with MDA and xUML
Code Generation with MDA and xUMLCode Generation with MDA and xUML
Code Generation with MDA and xUML
 
MODEL-DRIVEN ENGINEERING (MDE) in Practice
MODEL-DRIVEN ENGINEERING (MDE) in PracticeMODEL-DRIVEN ENGINEERING (MDE) in Practice
MODEL-DRIVEN ENGINEERING (MDE) in Practice
 

Plus de Alexander Nyßen

Plus de Alexander Nyßen (12)

GEF 5.0.0 - From a User's Perspective
GEF 5.0.0 - From a User's PerspectiveGEF 5.0.0 - From a User's Perspective
GEF 5.0.0 - From a User's Perspective
 
The Next Generation Eclipse Graphical Editing Framework
The Next Generation Eclipse Graphical Editing FrameworkThe Next Generation Eclipse Graphical Editing Framework
The Next Generation Eclipse Graphical Editing Framework
 
GEF(4) Dot Oh Dot Oh
GEF(4) Dot Oh Dot OhGEF(4) Dot Oh Dot Oh
GEF(4) Dot Oh Dot Oh
 
GEF4 - Sightseeing Mars
GEF4 - Sightseeing MarsGEF4 - Sightseeing Mars
GEF4 - Sightseeing Mars
 
Erweiterung der Entwurfsmethodik CONSENS um absichernde Maßnahmen zur Risikom...
Erweiterung der Entwurfsmethodik CONSENS um absichernde Maßnahmen zur Risikom...Erweiterung der Entwurfsmethodik CONSENS um absichernde Maßnahmen zur Risikom...
Erweiterung der Entwurfsmethodik CONSENS um absichernde Maßnahmen zur Risikom...
 
Model-based Automotive Software Development using Autosar, UML, and Domain-Sp...
Model-based Automotive Software Development using Autosar, UML, and Domain-Sp...Model-based Automotive Software Development using Autosar, UML, and Domain-Sp...
Model-based Automotive Software Development using Autosar, UML, and Domain-Sp...
 
GEF4 - There's really something going on!
GEF4 - There's really something going on!GEF4 - There's really something going on!
GEF4 - There's really something going on!
 
GEF4 - Continue to Share and Enjoy!
GEF4 - Continue to Share and Enjoy!GEF4 - Continue to Share and Enjoy!
GEF4 - Continue to Share and Enjoy!
 
GEF - Past, Present, and Future
GEF - Past, Present, and FutureGEF - Past, Present, and Future
GEF - Past, Present, and Future
 
GEF4 - Our Mission to Mars
GEF4 - Our Mission to MarsGEF4 - Our Mission to Mars
GEF4 - Our Mission to Mars
 
GEF4 - Share and Enjoy!
GEF4 - Share and Enjoy!GEF4 - Share and Enjoy!
GEF4 - Share and Enjoy!
 
TMF meets GMF
TMF meets GMFTMF meets GMF
TMF meets GMF
 

Dernier

%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 

Dernier (20)

Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 

YAKINDU SCT - Domain-Specific Statecharts

  • 1. Yakindu SCT Domain-Specific Statecharts Alexander Nyßen,AxelTerfloth itemis AG
  • 2. YAKINDU Open Source is a modular toolkit for model-based development (of embedded systems)
  • 3. YAKINDU Modules • independent and self-contained • not bound to a specific methodology • usable on their own • open & extendable • composable to (domain-specific) language workbenches ➡ Reuse of • modeling language • tools Eclipse PlatformSCT(Statecharts) CoMo CReMa Damos(Blocks) [nowEclipseDamos] "Developing Embedded Systems with Damos" Wednesday, 2:30
  • 5. YAKINDU Statechart • Formalism similar to state machines as defined by David Harel, but: • self-contained with a well defined interface • with a cycle-based execution semantics • allows processing concurrent events • event-driven behavior can be defined on top • time control is delegated to the environment
  • 6. Yakindu SCT - Editing Editor SGraph SText Integrated Graphical & Textual Modeling
  • 7. Yakindu SCT - Simulation Editor SGraph SText Easy adoptable simulation SExec Simulator
  • 8. Yakindu SCT - Code Generation • Yakindu comprises code generators for Java, C, C++ • All generators can be „customized“ by a generator model • Custom generators based on Xpand & Xtend2/Java can be easily integrated Editor SGraph SText Flexible Code Generation SExec Simulator Code- Generators SGen
  • 10. Yakindu SCT - Extensibility • Recap: different models are used around the Statechart formalism • SGraph (EMF): specification of graphical structures • SText (Xtext): textual specification of declarations & expressions • SExec (EMF): sequentialized statechart execution • SGen (Xtext): code generator parameterization
  • 11. Built-In Extensibility • Restriction of structural concepts (SGraph) • Customization of declarations & expressions (SText) • Adoption of the execution semantics (SExec) • Adoption of existing or integration of custom code generators • Integration of custom type system, augmentation by application types • Integration of additional validation constraints
  • 12. The Statechart Application Gap • How can statecharts be adopted to a specific domain? • How can tools support this adoption? State-based modeling is useful in many domains Typically, statecharts are independent of any domain
  • 14. Domain Specific Statecharts • Improving expressiveness and semantic integration by adopting domain concepts: • Refer to domain concepts within declarations (events, variables) and expressions (feature-calls) • Concepts from HMI domain: widget (button, label, etc.), scene, popup, animation, button-click, intro, outro,...
  • 15. Integration of HMI Concepts
  • 16. DEMO
  • 17. Generic Domain-Specific Domain-Specific Statechart Approach specialization HMI Meta Model Structural Concepts (SGraph) grammar com.yakindu.hmi.sctmodel.HMIText with org.yakindu.sct.model.stext.SText /* ---- root rules ---- These root rules are not relevant for the into a single grammar. */ Root: (roots+=DefRoot)*; Declaration returns sct::Declaration: EventDefinition | VariableDefinition | Clock | Operation | LocalReaction | Entrypoint | Exitpoint | HMIDeclaration; HMIDeclaration: HmiScene | HmiPopup | HmiAnimation | HmiTransition; HmiScene: 'scene' scene=[contract::Scene|QID]; HmiPopup: 'popup' popup=[contract::Popup|QID]; HmiAnimation: 'animation' animation=[contract::Animation|QID]; HMI Declarations grammar org.yakindu.sct.model.stext.SText with org.eclipse.xtext.common.Terminals /* ---- root rules ---- These root rules are not relevant for the grammar integration into a single grammar. */ Root: (roots+=DefRoot)*; DefRoot: StatechartRoot | StateRoot | TransitionRoot; Scope returns sct::Scope: (SimpleScope | StatechartScope); // a SimpleScope is used for states and regions SimpleScope returns sct::Scope: {SimpleScope} (declarations+=Declaration)*; // defines the poosible scopes for statecharts StatechartScope returns sct::Scope: InterfaceScope | InternalScope; InterfaceScope returns sct::Scope: Declarations & Expressions (SText) references extends extends Domain Specific Statechart
  • 18. Yakindu SCT • Open Source / EPL • Hosted at EclipseLabs • Eclipse-Proposal planned • Interested parties welcome! • Important Links: • Project Site: http://yakindu.org • Eclipse Labs Site: http://code.google.com/a/eclipselabs.org/p/yakindu/ • Update Site: http://updates.yakindu.com/juno/milestones/