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

Bug 331442

Summary: To be able to add and remove lines (model elements) from the table
Product: z_Archived Reporter: Nicolas Guyomar <nicolas.guyomar>
Component: EMF-FacetAssignee: Gregoire Dupe <gdupe>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: emft.facet-inbox, gdupe, nicolas.bros
Version: unspecifiedFlags: gdupe: indigo+
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 332437    
Bug Blocks: 331520    
Attachments:
Description Flags
Zip for action declaration and icon
nicolas.bros: iplog+
Zip containing drag and drop support for the table
none
Complete feature
none
Complete feature
none
Complete Feature
none
Complete Feature
none
Bug 331442 gdupe: iplog+

Description Nicolas Guyomar CLA 2010-11-30 09:53:09 EST
Hi,

In this feature we should be able to:
- drag and drop a model element to add it to the Table
- use the table's contextual menu to remove a line

Nicolas Guyomar
Comment 1 Nicolas Guyomar CLA 2010-11-30 09:55:42 EST
Created attachment 184136 [details]
Zip for action declaration and icon

This zip contains a patch and an icon for org.eclipse.emf.facet.widgets
Comment 2 Nicolas Guyomar CLA 2010-11-30 11:25:00 EST
Hi,

(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 3 Nicolas Bros CLA 2010-11-30 11:45:44 EST
I have committed your patch which adds the icon.
Comment 4 Nicolas Guyomar CLA 2010-12-01 04:52:20 EST
Created attachment 184230 [details]
Zip containing drag and drop support for the table

Hi, 

Here is an archive containing the drag and drop support for the Table

User can now drag and drop a model element from a model browser, which is added to the table

Remove lines feature will follow

Regards

Nicolas Guyomar
Comment 5 Nicolas Guyomar CLA 2010-12-01 06:00:58 EST
Created attachment 184238 [details]
Complete feature 

This archive contains:
- drag and drop feature to directly add model element to the Table
- "remove line(s)" contextual action to remove object from the Table

Regards

Nicolas Guyomar
Comment 6 Nicolas Guyomar CLA 2010-12-01 07:37:29 EST
Created attachment 184248 [details]
Complete feature

Place the action in the contextual menu instead of the toolbar
Comment 7 Nicolas Guyomar CLA 2010-12-01 08:44:16 EST
Created attachment 184253 [details]
Complete Feature

Added the "remove line" action to the editor version of the table

Nicolas Guyomar
Comment 8 Nicolas Guyomar CLA 2010-12-02 04:19:47 EST
Created attachment 184327 [details]
Complete Feature

Hi,
This archive contains both concerned projects for an easier test

Regards

Nicolas
Comment 9 Nicolas Guyomar CLA 2010-12-13 08:42:04 EST
Created attachment 185049 [details]
Bug 331442

Refactored version
Comment 10 Gregoire Dupe CLA 2011-02-14 10:54:05 EST
Nicolas,

Please, can you confirm that you are the author of this contribution ?

Regards,
Gregoire
Comment 11 Nicolas Guyomar CLA 2011-02-14 10:56:52 EST
(In reply to comment #10)
Hi Gregoire,

Indeed I am the author of this contribution,

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


Regards
Nicolas Guyomar
Comment 12 Gregoire Dupe CLA 2011-02-14 11:07:49 EST
Comment on attachment 185049 [details]
Bug 331442

Here are contributions from two employees 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 commited this contribution. (Committed revision 294)

Regads,
Gregoire Dupe
Comment 13 Gregoire Dupe CLA 2011-02-14 11:08:36 EST
This bug can be marked has fixed.
Comment 14 Vincent Lorenzo CLA 2011-02-22 04:05:28 EST
Done, I close the bug.
Comment 15 Nicolas Bros CLA 2011-05-11 08:55:05 EDT
Comment on attachment 184136 [details]
Zip for action declaration and icon

This is a contribution from an employee of Mia-Software, targeting a future
Indigo release. The company has signed a Member Committer Agreement. The
contribution does not need a CQ (see bug 322327).