Open SanniSch opened 8 years ago
Suggestion: If a new transition between states is created by a user, do not create it with an empty transition label but pre-fill it with always
By doing this, new transitions don't create an immediate warning and just "work"
Now we have templates for this case. The user can add triggers by pressing ctrl+space.
Nevertheless quickfixes shall be added:
To solve this the sct infrastructure needs to be adapted to support quickfixes on stext models. The standard xtext solution https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#quick-fixes works on resources. This is not applicable for the statecharts.
Though the quickfix solution for resources does not work with sct. Because SCTXtextIntegrationModule only implements Module and does not extend STextUiModule => it misses bindings.
If a transition has no name (no event) offer a quick fix to the user to add "oncycle" or "always".