Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345392 - [Property Editor] The Customization Tool should allow to define a custom label for the property editors
Summary: [Property Editor] The Customization Tool should allow to define a custom labe...
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.8.0   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 339651
  Show dependency tree
 
Reported: 2011-05-11 05:52 EDT by Vincent Lorenzo CLA
Modified: 2011-05-12 05:33 EDT (History)
1 user (show)

See Also:


Attachments
Enhancement done (19.80 KB, patch)
2011-05-11 10:12 EDT, Camille Letavernier CLA
vincent.lorenzo: iplog+
Details | Diff
Completion of the previous patch (3.59 KB, patch)
2011-05-11 10:21 EDT, Camille Letavernier CLA
vincent.lorenzo: iplog+
Details | Diff
Bug fix (1.88 KB, patch)
2011-05-12 05:07 EDT, Camille Letavernier CLA
vincent.lorenzo: 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-05-11 05:52:27 EDT
The Customization Tool should allow to define a custom label for the property editors.
We need this enhancement for the table property view.
Comment 1 Camille Letavernier CLA 2011-05-11 10:12:26 EDT
Created attachment 195353 [details]
Enhancement done

Update of the Metamodel to add the customLabel property
Update of the QVT Projectors to handle the property correctly in the XWT Files
Update of the AbstractPropertyEditor to use the new customLabel instead of the default one when it is available

I, Camille Letavernier, wrote 100% of the code I've provided.
This code contains no cryptography
I have the right to contribute the code to Eclipse.
I contribute the content under the EPL.
Comment 2 Camille Letavernier CLA 2011-05-11 10:21:21 EDT
Created attachment 195356 [details]
Completion of the previous patch

Update of the Customization Property View, to display the Custom Label field

I, Camille Letavernier, wrote 100% of the code I've provided.
This code contains no cryptography
I have the right to contribute the code to Eclipse.
I contribute the content under the EPL.
Comment 3 Camille Letavernier CLA 2011-05-12 05:07:42 EDT
Created attachment 195478 [details]
Bug fix

When setCustomLabel() is called before setProperty(), a NullPointerException occured.

This patch should fix this error.

I, Camille Letavernier, wrote 100% of the code I've provided.
This code contains no cryptography
I have the right to contribute the code to Eclipse.
I contribute the content under the EPL.
Comment 4 Vincent Lorenzo CLA 2011-05-12 05:30:22 EDT
Comment on attachment 195353 [details]
Enhancement done

Here is a contribution from one employee of CEA. The company has signed a Member Commiter Agreement. 
I've committed this contribution.
Committed revision 4671.
Comment 5 Vincent Lorenzo CLA 2011-05-12 05:30:32 EDT
Comment on attachment 195356 [details]
Completion of the previous patch

Here is a contribution from one employee of CEA. The company has signed a Member Commiter Agreement. 
I've committed this contribution.
Committed revision 4671.
Comment 6 Vincent Lorenzo CLA 2011-05-12 05:32:22 EDT
Comment on attachment 195478 [details]
Bug fix

Here is a contribution from one employee of CEA. The company has signed a Member Commiter Agreement. 
I've committed this contribution.
Committed revision 4671.
Comment 7 Vincent Lorenzo CLA 2011-05-12 05:32:49 EDT
This bug can be marked as resolved
Comment 8 Vincent Lorenzo CLA 2011-05-12 05:33:04 EDT
Thi sbug can be marked as closed