Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 254908 - Class Assistant should contain enabled New Property item
Summary: Class Assistant should contain enabled New Property item
Status: RESOLVED FIXED
Alias: None
Product: GMF-Tooling
Classification: Modeling
Component: Samples (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael Golubev CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 254921
Blocks:
  Show dependency tree
 
Reported: 2008-11-11 11:22 EST by Tatiana Fesenko CLA
Modified: 2012-12-11 15:11 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tatiana Fesenko CLA 2008-11-11 11:22:22 EST
Create ClassD
Create Class A. 
Hover cursor over the class. Modeling assistant will appear. It will contain Property, Operation, Class and other items, but all these item will be disabled, though it's possible to create them using palette. 
Only elements created in inner compartments will be disabled, elements created directly on the element (Port and TemplateSignature) will be enabled.

Repeats on other UML2Tools diagrams on other elements with compartments.
Comment 1 Michael Golubev CLA 2008-11-11 12:27:52 EST
Investigation: 
org.eclipse.gmf.runtime.diagram.ui.tools.PopupBarTool does not respect getTargetEditPart() result and always redirects request to getHost() -- see line 105, method getCommand(). 
Comment 2 Michael Golubev CLA 2008-12-22 07:36:15 EST
Verified with GMF pre-M4 build, should be available in U2T M4