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

Bug 321524

Summary: [Diagram] Inconsistent behaviour between association pop-up editor and association form
Product: [Technology] Tigerstripe Reporter: Navid Mehregani <nmehrega>
Component: UIAssignee: Navid Mehregani <nmehrega>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: chrhartl, erdillon
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Navid Mehregani CLA 2010-08-02 12:24:58 EDT
Build Identifier: 

There is inconsistent behaviour between the Association form editor and the pop-up editor that's activated by double clicking on an association in a diagram.

The 'isOrdered' and 'isUnique' attributes should be disabled for an association with a multiplicity of <= 1.  This is correctly done in the form editor, however the options are enabled for any multiplicity in the pop-up editor.  

Also, 'isUnique' is set by default in the form editor.  In the pop-up editor, it's cleared by default.  This has caused a lot of problems for the modeling team where the attribute is randomly set/cleared for associations that they choose to modify using the pop-up editor.

There should be consistent behaviour between the pop-up editor and association form editor.  Also any modification made in either one should be reflected in the other.  

Reproducible: Always
Comment 1 Navid Mehregani CLA 2010-09-14 13:35:47 EDT
Fixed.  Modified file: AssociationPropertiesEditDialog