Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 315565

Summary: make TableEditor extensible
Product: [Modeling] MoDisco Reporter: Nicolas Bros <nicolas.bros>
Component: InfrastructureAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: fabien.giquel, gdupe, hugo.bruneliere, modisco.web-inbox
Version: 0.9.0Flags: nicolas.bros: indigo+
Target Milestone: 0.9.0 M1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch none

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.