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

Bug 345392

Summary: [Property Editor] The Customization Tool should allow to define a custom label for the property editors
Product: [Modeling] Papyrus Reporter: Vincent Lorenzo <vincent.lorenzo>
Component: CoreAssignee: Vincent Lorenzo <vincent.lorenzo>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cletavernier
Version: 0.8.0   
Target Milestone: 0.8.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 339651    
Attachments:
Description Flags
Enhancement done
vincent.lorenzo: iplog+
Completion of the previous patch
vincent.lorenzo: iplog+
Bug fix vincent.lorenzo: iplog+

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