Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support connection point references #323

Closed
jvalkeal opened this issue Mar 6, 2017 · 2 comments
Closed

Support connection point references #323

jvalkeal opened this issue Mar 6, 2017 · 2 comments
Labels
type/enhancement Is an enhancement request
Milestone

Comments

@jvalkeal
Copy link
Contributor

jvalkeal commented Mar 6, 2017

Connection Point References are used with Exit Points or Entry Points if parent state is defined as a submachine ref. Then from parent it is able to link the exit/entry. Looks like from papyrus you first need to create ConnectionPointReference which can only be added if state is a submachine ref. Then with its advanced options you can set values for entrys/exits.

Should be relatively easy to implement this in a parser.

Other than that spec says

An exit point connection point reference as the source of a Transition implies that the source of the Transition is the exit
point Pseudostate as defined in the submachine of the submachine State that has the exit point connection point defined.
When a Region of the submachine StateMachine reaches the corresponding exit point, the submachine state is exited
via this exit point.
@jvalkeal jvalkeal added the type/enhancement Is an enhancement request label Mar 6, 2017
@jvalkeal jvalkeal added this to the 1.2.3.RELEASE milestone Mar 6, 2017
@jvalkeal
Copy link
Contributor Author

jvalkeal commented Mar 6, 2017

Some screenshots how ConnectionPointReference is used.
sm-entry-1
sm-entry-2
sm-entry-3

jvalkeal added a commit to jvalkeal/spring-statemachine that referenced this issue Mar 6, 2017
- Add support to uml parser to properly
  detect and use exit/entry points if those
  are used via connection ref points with
  submachine references.
- Fixes spring-projects#323
@jvalkeal
Copy link
Contributor Author

jvalkeal commented Mar 6, 2017

merged per 2a4e792 in 1.2.x.

@jvalkeal jvalkeal closed this as completed Mar 6, 2017
jvalkeal added a commit that referenced this issue Mar 9, 2017
- Add support to uml parser to properly
  detect and use exit/entry points if those
  are used via connection ref points with
  submachine references.
- Backport #323
- Relates to #307
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Is an enhancement request
Projects
None yet
Development

No branches or pull requests

1 participant