public interface IToolbarAction
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute(Object object) |
org.eclipse.jface.action.Action |
getAction(Object currentObject,
org.eclipse.jface.viewers.ISelectionProvider selectionProvider)
Returns the action to add to the toolbar.
|
org.eclipse.jface.action.Action getAction(Object currentObject, org.eclipse.jface.viewers.ISelectionProvider selectionProvider)
currentObject
- the currently edited object of the editorselectionProvider
- the selection providerboolean canExecute(Object object)
object
- the currently edited object of the editorCopyright © 2017. All rights reserved.