|Filters for GMF generated models [message #337017]
||Tue, 21 July 2009 13:37
| steve orobec
Registered: July 2009
I have built a plugin which utilises both my own EMF/GMF DSL and
I'm using Galileo CNF and it works fine but there is too much unwanted
detail in my model (eg my model file contains model and Diagram info)
and my uml model contains non class diag info (eg documentation,
I would like my custom explorer to show my DSL model not diag info,
I would like my UML tree just show package, class, attribute.
I use the GMF generated content providers
and label providers
for my respective models.
These work fine
But I'm stuck on the filter, I've tried the GMF group but no joy.
If I use the Extensions editor I can create a commonFilter but I'm not
sure what expression should go inside.
Most examples on the internet seem to be file based, whereas I want the
filtered contents of individual xmi files.
The effect I'm after is similar to the Java Explorer that shows the
contents of a Java Class file, with filters that support hiding of
various parts of the file. I had a look in CVS but wasn't sure where to
Anyone point me in the right direction or give me a clue please.
(Also I notice when using the Extensions editor I get a lot of these
'Body Text' freestyle edit windows, many of which don't seem to render
correctly in plugin.xml)
Powered by FUDForum
. Page generated in 0.03390 seconds