Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323118 - [General] Delete / Hide selected element actions are always enabled
Summary: [General] Delete / Hide selected element actions are always enabled
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Yann Tanguy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-19 05:35 EDT by Yann Tanguy CLA
Modified: 2010-08-19 06:26 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 Yann Tanguy CLA 2010-08-19 05:35:05 EDT
"Delete (or Hide) selected element" actions are always enabled, even if the command is unexecutable.
Comment 1 Yann Tanguy CLA 2010-08-19 06:26:53 EDT
The following abstract handler now calculates the button enablement depending on the command executability : org.eclipse.papyrus.diagram.common.handlers.GraphicalCommandHandler

See GraphicalCommandHandler#isEnabled() method.

(in r2573)