Interface DeleteActionBuilder
-
- All Known Implementing Classes:
DefaultDeleteActionBuilder
public interface DeleteActionBuilder
ThecreateDeleteAction(IStructuredSelection, EditingDomain)
method is called everytime a context menu is opened for the given selection.- Since:
- 1.8
- Author:
- Johannes Faltermeier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.jface.action.Action
createDeleteAction(org.eclipse.jface.viewers.IStructuredSelection selection, org.eclipse.emf.edit.domain.EditingDomain editingDomain)
This method creates an action which gets added to the context menu of elements in the TreeMasterDetail.
-
-
-
Method Detail
-
createDeleteAction
org.eclipse.jface.action.Action createDeleteAction(org.eclipse.jface.viewers.IStructuredSelection selection, org.eclipse.emf.edit.domain.EditingDomain editingDomain)
This method creates an action which gets added to the context menu of elements in the TreeMasterDetail. The action is supposed to delete the selected element.- Parameters:
selection
- the tree viewer selectioneditingDomain
- the editing domain- Returns:
- the action which will be added
-
-