Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 219984 - It should be possible to select two EAttributes from two different EClass
Summary: It should be possible to select two EAttributes from two different EClass
Status: RESOLVED FIXED
Alias: None
Product: Ecoretools
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement
Target Milestone: M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-22 11:21 EST by Jacques LESCOT CLA
Modified: 2009-03-25 07:29 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacques LESCOT CLA 2008-02-22 11:21:58 EST
Due to compartment selection behavior, it is not possible to select two EAttributes from two different EClass in the same time by using CTRL key access. However, this  might be quite useful to change their properties (bounds, type, containment, ...) in a single command through the properties view.
Comment 1 Jacques LESCOT CLA 2009-03-25 07:29:37 EDT
Fixed in HEAD. Solution was to override the isSelectable() method to change the code implementation that was done in the parent class (CompartmentEditPart).

So now, it is possible to directly select an EAttribute, EOperation, EEnumLiteral or a DetailEntry from an EAnnotation without having to select first the parent figure.

This fix generates however a minor limitation : indeed, to select the parent EClass (or EENum, or EAnnotation), you have to select it from its header area, from an empty Compartment or from the empty space of the last Compartment.