Bug 534825

Summary: Allow to remove "create and link" option for crossReference widget
Product: [Modeling] ECP Reporter: Eugen Neufeld <eneufeld>
Component: EMF FormsAssignee: Eugen Neufeld <eneufeld>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jhelming, lkoehler
Version: unspecifiedKeywords: test
Target Milestone: 1.18.0   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/125830
https://git.eclipse.org/c/emfclient/org.eclipse.emf.ecp.core.git/commit/?id=15ca9b82023c1621f1bebfa312b3e8c9406217d4
Whiteboard:

Description Eugen Neufeld CLA 2018-05-17 11:42:55 EDT
The "Create and link" action for CrossReferences doesn't make sense.
Add template option
keep current behavior as default
Comment 1 Eclipse Genie CLA 2018-07-09 11:16:34 EDT
New Gerrit change created: https://git.eclipse.org/r/125830
Comment 3 Lucas Koehler CLA 2018-07-18 05:35:46 EDT
TEST INFORMATION
Summary of the critical part of the change
The "Create and link new" button of single and multi reference controls can now be disabled for cross references (== non-containment references). This should not happen by default but only if configured in a view template by using a ReferenceStyleProperty

Potential regressions
-

Affected areas / use cases
Creating and linking new objects in a reference

Things that shall be tested
That the button is still shown if not explicitly configured otherwise.
That the button is always shown for containment reference even if the new style property is used to deactivate the button for cross references.