JKISoftware / JKI-State-Machine-Editor

The JKI State Machine Editor is a tool to make it easy for developers to use the JKI State Machine. It makes common tasks extremely easy to perform and exposes the user to more “advanced” (non-obvious) JKI SM features (because they are first-class features of the Helper), as well as JKI SM best practices (since the helper can enforce them: left-justification of strings, avoiding chaining states, etc.).
BSD 3-Clause "New" or "Revised" License
17 stars 10 forks source link

Find Callers (Find All Instance) of State #18

Closed jimkring closed 7 years ago

jimkring commented 7 years ago

Use Case: Often, when programming a JKI SM the user wants to know where a State is being called from (which other Frames).

It would be nice if there were an easy way to Find Callers (or Find All Instances) of a call to a state. This would show a Search Results dialog with a list of Instances and allow to view specific instances (by double-clicking on a result item in the list) or step through thems (e.g. using Ctrl+G like the Find >> Search Results dialog does).

This Find Callers (or Find All Instances) feature could be available from:

digiajay commented 7 years ago

One other could be when right clicking on the case selector node and choosing "Find Callers"

jimkring commented 7 years ago

@digiajay Great idea. I've implemented right-click on the Case Structure. This is in release https://github.com/JKISoftware/JKI-State-Machine-Editor/releases/tag/2013.1.1.130

image