Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331141 - [Generative Tools] The direct edition type should always be "NO_DIRECT_EDITION" if the label is declared "readOnly"
Summary: [Generative Tools] The direct edition type should always be "NO_DIRECT_EDITIO...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Yann Tanguy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-25 11:48 EST by Yann Tanguy CLA
Modified: 2010-11-25 11:52 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yann Tanguy CLA 2010-11-25 11:48:37 EST
If a label has the readOnly property set to "true" in the GMFGen model, then it should not be editable even if a specific Text editor is registered for the semantic element.
Comment 1 Yann Tanguy CLA 2010-11-25 11:52:11 EST
Fixed in r3362:
- TextAware.xpt has been modified "getDirectEditionType" should now always return NO_DIRECT_EDITION in case the label is declared readOnly in GMFGen model.

No real need to re-generate diagram (most label are actually editable of not editable with no advanced direct editor registered).