Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Papyrus/Neon Work Description/Improvements/StateMachineEnhancements"
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | State-machine enhancements | + | State-machine enhancements, tracked in [https://bugs.eclipse.org/bugs/show_bug.cgi?id=490259 Bug 490259] |
* Transition editor ("F2" on transition) | * Transition editor ("F2" on transition) | ||
− | ** Input window is very small (it depends on size of existing label, i.e. it is very small initially) | + | ** Input window is very small (it depends on size of existing label, i.e. it is very small initially), see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=493510 bug 493510] |
** The Xtext editor makes incomplete propositions (e.g. CallEvents for operations are only proposed, if a prefix of the operation name is typed) | ** The Xtext editor makes incomplete propositions (e.g. CallEvents for operations are only proposed, if a prefix of the operation name is typed) | ||
** The Xtext editor makes wrong propositions (e.g. additional "/" although it has already been provided) | ** The Xtext editor makes wrong propositions (e.g. additional "/" although it has already been provided) | ||
− | * A Sub-state is placed in the upper-left corner of a composite state, when it is the first sub-vertex (that is causing transition of a state to a composite state) | + | ** Xtext transition editor only supports natural language, [https://bugs.eclipse.org/bugs/show_bug.cgi?id=361361 bug 361361] |
+ | * A Sub-state is placed in the upper-left corner of a composite state, when it is the first sub-vertex (that is causing transition of a state to a composite state), see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=493334 bug 493334] | ||
* Do not show the state compartment by default (minor) => state name would be vertically centered. | * Do not show the state compartment by default (minor) => state name would be vertically centered. | ||
* Do not show labels for pseudo states by default (minor) | * Do not show labels for pseudo states by default (minor) | ||
− | * Add accelerators for creation of transitions (already existing for states, but not working. Not existing for pseudo states yet) | + | * Add accelerators for creation of transitions (already existing for states, but not working. Not existing for pseudo states yet), see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=493339 bug 493339] |
* LinkLF should work also for the state machine editor => may need regeneration. | * LinkLF should work also for the state machine editor => may need regeneration. | ||
− | * Simplification of the "General" tab of the property view: | + | * Simplification of the "General" tab of the property view, see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=493803 bug 493803]: |
** Remove properties isLeaf and visibility for all model elements related to the state machine | ** Remove properties isLeaf and visibility for all model elements related to the state machine | ||
** Reorder following properties: trigger, guard and effect to comply with "standard" order (currently, the order is inversed) | ** Reorder following properties: trigger, guard and effect to comply with "standard" order (currently, the order is inversed) | ||
− | + | * Additional filtering in selection boxes, e.g. assure that only call events for operations that belong to the class owning the state machine can be selected, see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=493872 bug 493872]. | |
− | * Drag & drop of elements to transition: | + | * Drag & drop of elements to transition, see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=494004 bug 494004]: |
− | ** Drop of | + | ** Drop of signal or reception => create trigger with signal event referencing the signal |
− | ** Drop of operation => create | + | ** Drop of operation => create trigger with call event referencing the operation |
+ | * Show sub state-machines (and contents of composite states) in separate, linked diagrams | ||
+ | * Pre-select container in property dialogs for sub-machine, do-activity and so on: Although an element, e.g. a state is already selected, the dialog requires to "find" this element again in the whole model (this is a general issue for many properties, not only in the context of state-machines). | ||
+ | * When creating a new state machine, an initial state, transition, and state should be created by default. |
Latest revision as of 07:44, 19 May 2016
State-machine enhancements, tracked in Bug 490259
- Transition editor ("F2" on transition)
- Input window is very small (it depends on size of existing label, i.e. it is very small initially), see bug 493510
- The Xtext editor makes incomplete propositions (e.g. CallEvents for operations are only proposed, if a prefix of the operation name is typed)
- The Xtext editor makes wrong propositions (e.g. additional "/" although it has already been provided)
- Xtext transition editor only supports natural language, bug 361361
- A Sub-state is placed in the upper-left corner of a composite state, when it is the first sub-vertex (that is causing transition of a state to a composite state), see bug 493334
- Do not show the state compartment by default (minor) => state name would be vertically centered.
- Do not show labels for pseudo states by default (minor)
- Add accelerators for creation of transitions (already existing for states, but not working. Not existing for pseudo states yet), see bug 493339
- LinkLF should work also for the state machine editor => may need regeneration.
- Simplification of the "General" tab of the property view, see bug 493803:
- Remove properties isLeaf and visibility for all model elements related to the state machine
- Reorder following properties: trigger, guard and effect to comply with "standard" order (currently, the order is inversed)
- Additional filtering in selection boxes, e.g. assure that only call events for operations that belong to the class owning the state machine can be selected, see bug 493872.
- Drag & drop of elements to transition, see bug 494004:
- Drop of signal or reception => create trigger with signal event referencing the signal
- Drop of operation => create trigger with call event referencing the operation
- Show sub state-machines (and contents of composite states) in separate, linked diagrams
- Pre-select container in property dialogs for sub-machine, do-activity and so on: Although an element, e.g. a state is already selected, the dialog requires to "find" this element again in the whole model (this is a general issue for many properties, not only in the context of state-machines).
- When creating a new state machine, an initial state, transition, and state should be created by default.