Class SelectWorkingSetsAction

  • All Implemented Interfaces:
    IWSAction, org.eclipse.jface.action.IAction

    public class SelectWorkingSetsAction
    extends org.eclipse.jface.action.Action
    implements IWSAction
    Thic class is a dirty way to activate imported working sets into the Package Explorer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.eclipse.ui.IWorkingSet[] workingSets  
      • Fields inherited from interface org.eclipse.jface.action.IAction

        AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private org.eclipse.ui.IWorkingSet lookupName​(org.eclipse.ui.IWorkingSet[] all, org.eclipse.ui.IWorkingSet set)  
      void run()  
      void setWorkingSets​(java.util.List<org.eclipse.ui.IWorkingSet> sets)  
      • 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, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, 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
    • Field Detail

      • workingSets

        private org.eclipse.ui.IWorkingSet[] workingSets
    • Constructor Detail

      • SelectWorkingSetsAction

        public SelectWorkingSetsAction()
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface org.eclipse.jface.action.IAction
        Specified by:
        run in interface IWSAction
        Overrides:
        run in class org.eclipse.jface.action.Action
      • lookupName

        private org.eclipse.ui.IWorkingSet lookupName​(org.eclipse.ui.IWorkingSet[] all,
                                                      org.eclipse.ui.IWorkingSet set)
      • setWorkingSets

        public void setWorkingSets​(java.util.List<org.eclipse.ui.IWorkingSet> sets)
        Specified by:
        setWorkingSets in interface IWSAction