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

Bug 331141

Summary: [Generative Tools] The direct edition type should always be "NO_DIRECT_EDITION" if the label is declared "readOnly"
Product: [Modeling] Papyrus Reporter: Yann Tanguy <yann.tanguy>
Component: CoreAssignee: Yann Tanguy <yann.tanguy>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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).