eMoflon / emoflon-core

Core components of eMoflon
Other
5 stars 1 forks source link

Tried to fix priorities for core visualisiers #112

Closed anthonyanjorin closed 6 years ago

anthonyanjorin commented 6 years ago

The problem is that everything is a model. So TGG rules, Patterns, etc. have multiple ways of being visualised. Our model visualiser must have a lower priority, while other more specific visualisers have a higher priority. This is why I was forced to change „custom“ to a concrete value.

Do you know how high the priority of the plantuml ecore vis is?

brandtjo commented 6 years ago

The priority value for the PlantUML Ecore Class Diagram DTP is 5 ("normal"), and 1 ("default") for the Object Diagram DTP. According to Activator.processDiagramTextProviders() and plugin.xml

brandtjo commented 6 years ago

I cannot say for sure, but I think while debugging the API, I've not seen any Priority-Value greater than 5. Meaning values >= 6 could be used to prioritize eMoflon visualisers.