Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337395 - Unused columns should be destroyed
Summary: Unused columns should be destroyed
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EMF-Facet (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Gregoire Dupe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-17 03:16 EST by Vincent Lorenzo CLA
Modified: 2020-05-01 11:26 EDT (History)
2 users (show)

See Also:
gdupe: indigo+


Attachments
Patch for Bug 337395 (2.99 KB, patch)
2011-03-09 09:57 EST, Nicolas Guyomar CLA
gdupe: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Lorenzo CLA 2011-02-17 03:16:37 EST
Steps to reproduce : 
 	- create a table, owning a Class and a Dependency for example
 	- you have columns which N/A because they are irrelevant, that's OK
 	
	- delete one the 2 elements : the irrelevant columns are always displayed. They should be destroyed.
Comment 1 Nicolas Guyomar CLA 2011-03-09 09:57:27 EST
Created attachment 190760 [details]
Patch for Bug 337395

Hi,

The attached patch delete those unused columns from the TableInstance model each time a setInput() method is called.

(a) I, Nicolas Guyomar, wrote 100% of the code I've provided.
(b) I have the right to contribute the code to Eclipse.
(c) I contribute the content under the EPL.

Regards,
Nicolas Guyomar
Comment 2 Gregoire Dupe CLA 2011-03-10 05:42:50 EST
Comment on attachment 190760 [details]
Patch for Bug 337395


Here are a contribution from one employee of Mia-Software, targeting future
Indigo release. The company has signed a Member Commiter Agreement. The
contribution does not need a CQ (see bug 322327).

I've committed this contribution.

Committed revision 351.
Comment 3 Gregoire Dupe CLA 2011-03-10 05:43:50 EST
This bug can be marked has fixed.

Regards,
Grégoire
Comment 4 Vincent Lorenzo CLA 2011-03-11 07:21:59 EST
That works fine. I close the bug.
Comment 5 Vincent Lorenzo CLA 2011-03-11 07:22:22 EST
So, I close!