When I add a SubmachineState “Sub1” to a state machine, I have 2 options for specifying the behaviour for “Sub1”.
right-click on the “Sub1” shape and choose “Sub Diagrams”->“State Machine Diagram”–>“Add State Machine Diagram”. This creates a new child State Machine Diagram object for “Sub1” and when I add states to the new diagram they are all children of “Sub1”. This is OK.
the second option I think is more correct from a UML2 point of view: right-click on the “Sub1” shape and choose “Submachine”->“Create State Machine”. This does not create any object in the model tree (I’d expect that a new StateMachine object was created!), but a new state machine diagram is opened. This new diagram is not appear on the model tree (!!). When I add states to this diagram they are placed at the root level in the model tree (!!).
Where I’m wrong? Why a new StateMachine object does not appear on the model (as parent of the new submachine’s states)?
Replace $vp-suite-install-dir/lib/vpplatform.jar with the downloaded jar file
Run $vp-suite-install-dir/bin/VP Suite.exe to install the patch
Restart the application
With the fix, you should see the Submachine model put under the project root. Under the Submachine model, there will have the diagram and the contained elements.
Note:
If you are going to download with Internet Explorer, you may need to rename the file from .zip to .jar manually
Please do not run Product Update after applying the patch. Otherwise the update will replace the patch with the previous version (I will inform you to run the update when the next release is ready)
Just a note to inform you that the fix is now available in Service Pack 2, which was released last Saturday. Since you were asked to use a patch, I would like to suggest you upgrade to the latest version, which is more stable than the patch.
To upgrade, please run the product updater inside the bin folder of VP Suite installation directory.