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

Bug 323118

Summary: [General] Delete / Hide selected element actions are always enabled
Product: [Modeling] Papyrus Reporter: Yann Tanguy <yann.tanguy>
Component: CoreAssignee: Yann Tanguy <yann.tanguy>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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)