Bug 209805 - Add filter capabilities in diagram
Summary: Add filter capabilities in diagram
Status: NEW
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 2.0.1   Edit
Hardware: PC Windows XP
: P3 enhancement
Target Milestone: ---   Edit
Assignee: Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-14 09:45 EST by Gilles Cannenterre CLA
Modified: 2010-07-19 12:28 EDT (History)
5 users (show)

See Also:


Attachments
the "filter component" and a patch for the ecore diagram example to demonstrate usage (38.81 KB, application/x-zip-compressed)
2007-11-14 09:45 EST, Gilles Cannenterre CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gilles Cannenterre CLA 2007-11-14 09:45:33 EST
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,
Comment 1 Gilles Cannenterre CLA 2008-04-11 08:48:48 EDT
I've implemented this enhancement in the Ecoretools project. I'm still waiting for  feedback...
Comment 2 Richard Gronback CLA 2008-04-11 09:40:27 EDT
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.
Comment 3 Anthony Hunter CLA 2008-04-11 10:46:40 EDT
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.

Comment 4 Eclipse Webmaster CLA 2010-07-19 12:28:24 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug