Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF Filter Node(Using EditPolicyRoles.SORT_FILTER_CONTENT_ROLE and SortFilterContentEditPolicy)
GMF Filter Node [message #663894] Wed, 06 April 2011 18:07 Go to next message
Erik Englund is currently offline Erik Englund
Messages: 49
Registered: July 2009
Member
Are there any good examples on how to filter nodes from the diagram?

I believe I use the EditPolicy SORT_FILTER_CONTENT_ROLE and create a class that extends the SortFilterContentEditPolicy but how do I use this?

I want to be able to allow the user to click an action to enable a type of filter to filter out some of the nodes on my diagram much like how you can filter out Connection Labels.

I found this forum post but couldn't find any additional information about it:
http://www.eclipse.org/forums/index.php?t=msg&goto=18328 3&
Re: GMF Filter Node [message #1021268 is a reply to message #663894] Tue, 19 March 2013 19:18 Go to previous message
Simon Zutterman is currently offline Simon Zutterman
Messages: 28
Registered: October 2012
Junior Member
Did you ever figure this out? I also need to find a way to reduce an overload of information so for example filter out all but one specific node class!

Previous Topic:Resizable content in Compartment with ListLayout set to true
Next Topic:ER like connections
Goto Forum:
  


Current Time: Wed Oct 22 05:04:30 GMT 2014

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

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