public class GenerateJavaCodeAction extends Object implements IToolbarAction
Constructor and Description |
---|
GenerateJavaCodeAction() |
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.
|
public org.eclipse.jface.action.Action getAction(Object currentObject, org.eclipse.jface.viewers.ISelectionProvider selectionProvider)
getAction
in interface IToolbarAction
currentObject
- the currently edited object of the editorselectionProvider
- the selection providerIToolbarAction.getAction(java.lang.Object,
org.eclipse.jface.viewers.ISelectionProvider)
public boolean canExecute(Object object)
canExecute
in interface IToolbarAction
object
- the currently edited object of the editorCopyright © 2016. All rights reserved.