Class StartupHelper2.PreExecutionHandler
- java.lang.Object
-
- de.loskutov.anyedit.actions.internal.StartupHelper2.PreExecutionHandler
-
- All Implemented Interfaces:
org.eclipse.core.commands.IExecutionListener
- Enclosing class:
- StartupHelper2
private static class StartupHelper2.PreExecutionHandler extends java.lang.Object implements org.eclipse.core.commands.IExecutionListener
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
commandId
(package private) Spaces
spacesAction
(package private) org.eclipse.jface.action.IAction
spacesToTabs
(package private) org.eclipse.jface.action.IAction
tabsToSpaces
-
Constructor Summary
Constructors Constructor Description PreExecutionHandler(java.lang.String commandId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
notHandled(java.lang.String command, org.eclipse.core.commands.NotHandledException exception)
void
postExecuteFailure(java.lang.String command, org.eclipse.core.commands.ExecutionException exception)
void
postExecuteSuccess(java.lang.String command, java.lang.Object returnValue)
void
preExecute(java.lang.String command, org.eclipse.core.commands.ExecutionEvent event)
void
runBeforeSave(org.eclipse.core.commands.ExecutionEvent event)
Performs the 'convert spaces' action before the editor buffer is savedprivate void
runSpecial(org.eclipse.core.commands.ExecutionEvent event)
private void
runSpecial2(org.eclipse.core.commands.ExecutionEvent event)
-
-
-
Field Detail
-
spacesAction
final Spaces spacesAction
-
spacesToTabs
final org.eclipse.jface.action.IAction spacesToTabs
-
tabsToSpaces
final org.eclipse.jface.action.IAction tabsToSpaces
-
commandId
final java.lang.String commandId
-
-
Method Detail
-
notHandled
public void notHandled(java.lang.String command, org.eclipse.core.commands.NotHandledException exception)
- Specified by:
notHandled
in interfaceorg.eclipse.core.commands.IExecutionListener
-
postExecuteFailure
public void postExecuteFailure(java.lang.String command, org.eclipse.core.commands.ExecutionException exception)
- Specified by:
postExecuteFailure
in interfaceorg.eclipse.core.commands.IExecutionListener
-
postExecuteSuccess
public void postExecuteSuccess(java.lang.String command, java.lang.Object returnValue)
- Specified by:
postExecuteSuccess
in interfaceorg.eclipse.core.commands.IExecutionListener
-
preExecute
public void preExecute(java.lang.String command, org.eclipse.core.commands.ExecutionEvent event)
- Specified by:
preExecute
in interfaceorg.eclipse.core.commands.IExecutionListener
-
runBeforeSave
public void runBeforeSave(org.eclipse.core.commands.ExecutionEvent event)
Performs the 'convert spaces' action before the editor buffer is saved
-
runSpecial
private void runSpecial(org.eclipse.core.commands.ExecutionEvent event)
-
runSpecial2
private void runSpecial2(org.eclipse.core.commands.ExecutionEvent event)
-
-