Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315565 - make TableEditor extensible
Summary: make TableEditor extensible
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Infrastructure (show other bugs)
Version: 0.9.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 0.9.0 M1   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-03 08:05 EDT by Nicolas Bros CLA
Modified: 2010-10-18 08:28 EDT (History)
4 users (show)

See Also:
nicolas.bros: indigo+


Attachments
patch (17.12 KB, patch)
2010-06-03 08:09 EDT, Nicolas Bros CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bros CLA 2010-06-03 08:05:30 EDT
I'd like to be able to choose which columns should be displayed in a TableEditor, by sub-classing it.
Comment 1 Nicolas Bros CLA 2010-06-03 08:09:33 EDT
Created attachment 170941 [details]
patch

This patch allows customizing which columns should be displayed in a TableEditor, by adding the following protected methods:
createColumnConfiguration, showLabelColumn, showMetaclassColumn, showEContainerColumn.

It extracts the open* static methods into a new class TableEditorFactory, that can be subclassed to open a subclass of TableEditor.
Comment 2 Nicolas Bros CLA 2010-06-03 08:11:29 EDT
I committed the patch on trunk (revision 2488)
Comment 3 Hugo Bruneliere CLA 2010-10-04 13:33:05 EDT
The patch has been successfully applied.