lightbulb-o Model/Metamodel CoExplorer v1.0 is out

4 years 2 months ago #2206 by jmfavre
Bonjour,
If you have some trouble in navigating in the API and modelio metamodels, then this tool is for you...

CoExplorer allows you to browse any elements in a metamodel-oriented way instead of using Modelio' standard browser and property sheets. While these tools are end-user oriented they provide a distorted view on how the current model is actually represented in terms of the metamodel.

If you are a developer, you may instead spent time browsing Modelio API documentation or using autocompletion within eclipse for instance. But I'm sure that the number of methods and metaclasses makes it really hard to understand what is really usefull or not, especially since modelio supports include BPMN, UML and ANALYST. With the Model/Metamodel CoExplorer only meta features that are actually used in the context at hand are displayed.

The best way to understand what the tool is doing is to use it. Note that you can also browse the diagram graphics which is not metamodelled in Modelio. With modelio 3, you can even navigate in the metamodel itself.

The script has been submitted to Modelio store. The code is available in this project github.com/megaplanet/macros/ in the download directory. However, please use this Modelio forum for comments, questions, bug reports, feature requests, etc.

Enjoy the meta navigation.
The following user(s) said Thank You: andy

Please Log in or Create an account to join the conversation.

4 years 2 months ago #2207 by chm
Hi jmfavre,

this is quite an impressive work, thank you very much for sharing. :up

I looked at the code a little, the only problem I noticed for now is a memory/resource leak involving DiagramHandle: they must be closed, or all diagram will remain opened in the background.


chm

Please Log in or Create an account to join the conversation.

4 years 2 months ago #2208 by pan
Hi jmfavre,

The script has been added in the Modelio Store ( http://www.modeliosoft.com/en/modelio-store/scripts/coexplorer.html ).

Great script!

Please Log in or Create an account to join the conversation.

3 years 8 months ago #2730 by fabk2
Hi,

CoExplorer fails with a stack; no matter on which model element I use it :

java.lang.ClassCastExcept ion: java.lang.ClassCastExcept ion: org.modelio.metamodel.impl.bpmn.bpmnDiagrams.BpmnSubProcessD iagramImpl cannot be cast to org.modelio.metamodel.diagrams.StaticDiagram in at line number 91
Traceback (most recent call last):
File "", line 91, in
File "/home/fab/Documents/Boulot/Prunay/ModelesModelio/macros/lib/introspection.py", line 513, in
ALL_DIAGRAM_HAN DLES = map(DIAGRAM_SER VICE.getDiagramHandl e,ALL_DIAGRAMS)
at org.modelio.diagram.editor.statik.elements.staticdiagram.GmStaticDiagram .(GmStaticDiagra m .java:95)
at org.modelio.diagram.editor.statik.editor.StaticDiagramEd itorInput.createModel(Sta ticDiagramEd itorInput.java:42)
at org.modelio.diagram.editor.DiagramEditorIn put.(DiagramEditorI n put.java:64)
at org.modelio.diagram.editor.statik.editor.StaticDiagramEd itorInput.(StaticDiagramE d itorInput.java:67)
...

Can anybody help ?

TIA

Please Log in or Create an account to join the conversation.

Moderators: chmcma
Time to create page: 0.030 seconds
^ Back to Top