| org.eclipse.ui.internal.handlers.WidgetMethodHandler
All known Subclasses: org.eclipse.ui.internal.handlers.SelectAllHandler,
WidgetMethodHandler | public class WidgetMethodHandler extends AbstractHandler implements IExecutableExtension(Code) | | Handles the cut command in both dialogs and windows. This handler is enabled
if the focus control supports the "cut" method.
since: 3.0 |
Field Summary | |
final protected static Class[] | NO_PARAMETERS The parameters to pass to the method this handler invokes. | protected String | methodName The name of the method to be invoked by this handler. |
NO_PARAMETERS | final protected static Class[] NO_PARAMETERS(Code) | | The parameters to pass to the method this handler invokes. This handler
always passes no parameters.
|
methodName | protected String methodName(Code) | | The name of the method to be invoked by this handler. This value should
never be null .
|
execute | public Object execute(ExecutionEvent event) throws ExecutionException(Code) | | |
getMethodToExecute | protected Method getMethodToExecute()(Code) | | Looks up the method on the focus control.
The method on the focus control; null if none. |
isEnabled | final public boolean isEnabled()(Code) | | |
setInitializationData | public void setInitializationData(IConfigurationElement config, String propertyName, Object data)(Code) | | |
|
|