Hello,
I am evaluating VPSuite1.1 (I also tried 2.0rc4). Because I was missing a feature for synchronizing sequence and collaboration (communication) diagrams, I decided to create a plugin. Unfortunately, plugin development is not documented well enough, yet. So, I collected a list of issues/quetions…
o) How is it with plugin support in VPSuite2.0rc4? I wasn’t able to find plugin management options in any menu. Have I missed it or is it not supported yet?
o) VPUMLPlugin interface and PluginEditor class are not a part of openapi.jar as I expected. Instead I found them in vpplatform.jar.
o) In PluginEditor implementation I wasn’t able to get access to Project instance. That made it imposible, to collect some information from the project already at the time when plugin editor dialog is displayed (e.g. I wanted to have a combo box displaying a list of all sequence/collaboration diagrams). As a workaround I created my own dialog that is displayed in execute() method of VPUMLPlugin.
Now the issues:
o) Lets say I have a DiagramUIModel instance of some sequence diagram. How do I collect all ModelElement-s (actors, lifelines, links, messages,…) contained by that diagram?
o) How do I create a new diagram (DiagramUIModel) and new elements (actors, lifelines, …) of the diagram (ModelElement-s)?
o) I could really use some more detailed API documentation and documentation of all the properties (with their literal names) supported by a particular ModelElement type. I noticed in some previous topic, that you are preparing more detailed documentation for plugin development. Can you tell approximately when can it be expected to be made public?
btw: When is the final version of VPSuite 2.0 planned to be released?