Community
Participate
Working Groups
Created attachment 82876 [details] the "filter component" and a patch for the ecore diagram example to demonstrate usage The purpose of this enhancement is to add in a GMF genereted diagram the possibility to filter displayed elements according to their semantic type. I've attached to this enhancement demand a fully developped component (filter component) and a patch of the ecore diagram example to demonstrate usage of this filter component. I'm waiting for comments, Regards,
I've implemented this enhancement in the Ecoretools project. I'm still waiting for feedback...
Thanks for the reminder. I've applied the patch, and it's a nice additional capability. It would need some UI work to better fit into the runtime, imho. There is already a Filter menu item, and a preference page for the options would be better than a dialog, for example. As you are proposing the addition of a new plug-in and extension-point to the runtime, the runtime team would need a patch that includes all of the sources, not simply the jar as you've attached here. Also, the tooling component would need a patch that includes how to incorporate this into its codegen templates. But, as it represents mostly a runtime component, let's first focus on getting Anthony's team involved in looking more closely at the implementation.
The GMF Runtime has filtering capabilities: A capability to show/hide relationships through the ShowHideRelationshipsDialog and ShowHideRelationshipsRequest. A capability to show related elements through the ShowRelatedElementsDialog and ShowRelatedElementsRequest The proposed new filtering capability will need to fit into the runtime by either adding the missing hide related elements functionality or add a show/hide related elements capability. The UI and filtering functionality needs to match the style of the existing framework.
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug