Package de.loskutov.anyedit.actions
Class CountAllInFolderAction
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.jface.action.AbstractAction
-
- org.eclipse.jface.action.Action
-
- de.loskutov.anyedit.actions.ConvertAllAction
-
- de.loskutov.anyedit.actions.ConvertAllInFolderAction
-
- de.loskutov.anyedit.actions.CountAllInFolderAction
-
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler,org.eclipse.jface.action.IAction,org.eclipse.ui.IActionDelegate,org.eclipse.ui.IWorkbenchWindowActionDelegate
public class CountAllInFolderAction extends ConvertAllInFolderAction implements org.eclipse.core.commands.IHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classCountAllInFolderAction.CountingVisitor-
Nested classes/interfaces inherited from class de.loskutov.anyedit.actions.ConvertAllAction
ConvertAllAction.ConvertJob
-
-
Field Summary
-
Fields inherited from class de.loskutov.anyedit.actions.ConvertAllAction
ERROR, MODIFIED, selectedFiles, selectedResources, SKIPPED, TEXT_TYPE
-
-
Constructor Summary
Constructors Constructor Description CountAllInFolderAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHandlerListener(org.eclipse.core.commands.IHandlerListener handlerListener)java.lang.Objectexecute(org.eclipse.core.commands.ExecutionEvent event)protected booleangetEnablement()protected org.eclipse.core.resources.IResourcegetResource(java.lang.Object selection)booleanisEnabled()booleanisHandled()private voidprintSummary(CountAllInFolderAction.CountingVisitor v)voidremoveHandlerListener(org.eclipse.core.commands.IHandlerListener handlerListener)voidrun(org.eclipse.jface.action.IAction action)-
Methods inherited from class de.loskutov.anyedit.actions.ConvertAllInFolderAction
addAllFiles, doAction, selectionChanged
-
Methods inherited from class de.loskutov.anyedit.actions.ConvertAllAction
dispose, init
-
Methods inherited from class org.eclipse.jface.action.Action
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, notifyResult, removeAcceleratorText, removeMnemonics, run, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
-
Methods inherited from class org.eclipse.jface.action.AbstractAction
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
-
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
-
-
-
Method Detail
-
getResource
protected org.eclipse.core.resources.IResource getResource(java.lang.Object selection)
- Overrides:
getResourcein classConvertAllInFolderAction
-
getEnablement
protected boolean getEnablement()
- Overrides:
getEnablementin classConvertAllInFolderAction
-
run
public void run(org.eclipse.jface.action.IAction action)
- Specified by:
runin interfaceorg.eclipse.ui.IActionDelegate- Overrides:
runin classConvertAllInFolderAction
-
printSummary
private void printSummary(CountAllInFolderAction.CountingVisitor v)
-
addHandlerListener
public void addHandlerListener(org.eclipse.core.commands.IHandlerListener handlerListener)
- Specified by:
addHandlerListenerin interfaceorg.eclipse.core.commands.IHandler
-
execute
public java.lang.Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException- Specified by:
executein interfaceorg.eclipse.core.commands.IHandler- Throws:
org.eclipse.core.commands.ExecutionException
-
removeHandlerListener
public void removeHandlerListener(org.eclipse.core.commands.IHandlerListener handlerListener)
- Specified by:
removeHandlerListenerin interfaceorg.eclipse.core.commands.IHandler
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabledin interfaceorg.eclipse.jface.action.IAction- Specified by:
isEnabledin interfaceorg.eclipse.core.commands.IHandler- Overrides:
isEnabledin classorg.eclipse.jface.action.Action
-
isHandled
public boolean isHandled()
- Specified by:
isHandledin interfaceorg.eclipse.jface.action.IAction- Specified by:
isHandledin interfaceorg.eclipse.core.commands.IHandler- Overrides:
isHandledin classorg.eclipse.jface.action.Action
-
-