Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368801 - [TCF][UI] Implement the generic IDeleteHandlerDelegate and integrate it to File System.
Summary: [TCF][UI] Implement the generic IDeleteHandlerDelegate and integrate it to Fi...
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Target (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 1.0.0   Edit
Assignee: William Chen CLA
QA Contact: Uwe Stieber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-17 04:54 EST by William Chen CLA
Modified: 2013-06-05 05:42 EDT (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 William Chen CLA 2012-01-17 04:54:17 EST
Delete does provide now the same infra-structure as "Refresh". There is a common command contribution to the view tree that will become visible if an element implements or adapt to "IDeleteHandlerDelegate". Refactor the "Delete" command contribution and handler to get replaced by a IDeleteHandlerDelegate. The expression for the delete handler enablement and activation is pretty complex already. Using the delegate may make it simpler as the enablement will be provided via the IDeleteHandlerDelegate#canDelete(element) method.