Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addHandlerListener​(org.eclipse.core.commands.IHandlerListener handlerListener)  
      java.lang.Object execute​(org.eclipse.core.commands.ExecutionEvent event)  
      protected boolean getEnablement()  
      protected org.eclipse.core.resources.IResource getResource​(java.lang.Object selection)  
      boolean isEnabled()  
      boolean isHandled()  
      private void printSummary​(CountAllInFolderAction.CountingVisitor v)  
      void removeHandlerListener​(org.eclipse.core.commands.IHandlerListener handlerListener)  
      void run​(org.eclipse.jface.action.IAction action)  
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.eclipse.core.commands.IHandler

        dispose
    • Constructor Detail

      • CountAllInFolderAction

        public CountAllInFolderAction()
    • Method Detail

      • run

        public void run​(org.eclipse.jface.action.IAction action)
        Specified by:
        run in interface org.eclipse.ui.IActionDelegate
        Overrides:
        run in class ConvertAllInFolderAction
      • addHandlerListener

        public void addHandlerListener​(org.eclipse.core.commands.IHandlerListener handlerListener)
        Specified by:
        addHandlerListener in interface org.eclipse.core.commands.IHandler
      • execute

        public java.lang.Object execute​(org.eclipse.core.commands.ExecutionEvent event)
                                 throws org.eclipse.core.commands.ExecutionException
        Specified by:
        execute in interface org.eclipse.core.commands.IHandler
        Throws:
        org.eclipse.core.commands.ExecutionException
      • removeHandlerListener

        public void removeHandlerListener​(org.eclipse.core.commands.IHandlerListener handlerListener)
        Specified by:
        removeHandlerListener in interface org.eclipse.core.commands.IHandler
      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface org.eclipse.jface.action.IAction
        Specified by:
        isEnabled in interface org.eclipse.core.commands.IHandler
        Overrides:
        isEnabled in class org.eclipse.jface.action.Action
      • isHandled

        public boolean isHandled()
        Specified by:
        isHandled in interface org.eclipse.jface.action.IAction
        Specified by:
        isHandled in interface org.eclipse.core.commands.IHandler
        Overrides:
        isHandled in class org.eclipse.jface.action.Action