Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Filters for GMF generated models
Filters for GMF generated models [message #337017] Tue, 21 July 2009 13:37
Bill HingeFriend
Messages: 156
Registered: July 2009
Senior Member

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,
profiles, etc).

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
org.eclipse.uml2.diagram.clazz.navigator.UMLDomainNavigatorC ontentProvider

and label providers
org.eclipse.uml2.diagram.clazz.navigator.UMLDomainNavigatorL abelProvider

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)

Previous Topic:Linux File Permissions
Next Topic:mirror ganymede fails with 404 Not Found
Goto Forum:

Current Time: Wed May 23 18:59:40 GMT 2018

Powered by FUDForum. Page generated in 0.01686 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top