Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312245 - Patch to improving "org.eclipse.gmt.modisco.infra.browser" extensibility
Summary: Patch to improving "org.eclipse.gmt.modisco.infra.browser" extensibility
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Infrastructure (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows XP
: P4 normal (vote)
Target Milestone: 0.9.0   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-10 08:40 EDT by Nicolas Payneau CLA
Modified: 2010-10-04 12:55 EDT (History)
4 users (show)

See Also:
nicolas.bros: indigo+


Attachments
Patch to improve "org.eclipse.gmt.modisco.infra.browser" extensibility (9.85 KB, patch)
2010-05-10 08:43 EDT, Nicolas Payneau CLA
gdupe: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Payneau CLA 2010-05-10 08:40:46 EDT
Build Identifier:  20100318-1801

Through the development of tools for not expert users in MDA, I chose to use MoDisco browser. So I need to hide some browser elements allowing to have simplified ui.
To satisfy my needs, I had refactoring classes “EcoreBrowser.java”, “MetaclassViewer.java” . There is a patch "org.eclipse.gmt.modisco.infra.browser":
     - I added "DND.DROP_COPY|DND.DROP_MOVE" on “DragAdapter.java”
     - I changed the visibility of "createContextMenu" method in "protected" on “MetaclassViewer.java”
     - I changed the method visibility of "createTreeToolBar" in protected on “EcoreBrowser.java”
     - I changed the type of propertySheetPage to IPropertySheetPage (Initially in PropertySheetPage) on “EcoreBrowser.java” 

So, I managed the different type “PropertySheetPage” and “TabbedPropertySheetPage” in the code of “EcoreBrowser.java “. I managed “TabbedPropertySheetPage” to include EEF in MoDisco browser.

Best regards,

Nicolas Payneau


Reproducible: Always
Comment 1 Nicolas Payneau CLA 2010-05-10 08:43:05 EDT
Created attachment 167697 [details]
Patch to improve "org.eclipse.gmt.modisco.infra.browser" extensibility
Comment 2 Nicolas Bros CLA 2010-05-11 08:10:46 EDT
Thank you for your patch. I applied it to the trunk (for 0.9).
Comment 3 Hugo Bruneliere CLA 2010-10-04 12:55:23 EDT
The patch has been successfully applied.