org.eclipse.mylar.internal.java.ui.actions
Class ApplyMylarToPackageExplorerAction

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.jface.action.AbstractAction
          extended by org.eclipse.jface.action.Action
              extended by org.eclipse.mylar.internal.context.ui.actions.AbstractApplyMylarAction
                  extended by org.eclipse.mylar.internal.context.ui.actions.AbstractAutoApplyMylarAction
                      extended by org.eclipse.mylar.internal.java.ui.actions.ApplyMylarToPackageExplorerAction
All Implemented Interfaces:
org.eclipse.jface.action.IAction, org.eclipse.mylar.context.core.IMylarContextListener, org.eclipse.ui.IActionDelegate, org.eclipse.ui.IActionDelegate2, org.eclipse.ui.IViewActionDelegate

public class ApplyMylarToPackageExplorerAction
extends org.eclipse.mylar.internal.context.ui.actions.AbstractAutoApplyMylarAction

Author:
Mik Kersten

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.mylar.context.core.IMylarContextListener
org.eclipse.mylar.context.core.IMylarContextListener.UpdateKind
 
Field Summary
 
Fields inherited from class org.eclipse.mylar.internal.context.ui.actions.AbstractApplyMylarAction
globalPrefId, initAction, interestFilter, manageViewer, PREF_ID_PREFIX, previousFilters, viewPart
 
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
 
Constructor Summary
ApplyMylarToPackageExplorerAction()
           
 
Method Summary
private  java.lang.Object getElementOfInput(org.eclipse.ui.IEditorInput input)
          Copied from PackageExplorerPart
 java.util.List<org.eclipse.jface.viewers.StructuredViewer> getViewers()
           
 void propertyChange(org.eclipse.core.runtime.Preferences.PropertyChangeEvent event)
           
 void run(org.eclipse.jface.action.IAction action)
           
 
Methods inherited from class org.eclipse.mylar.internal.context.ui.actions.AbstractAutoApplyMylarAction
contextActivated, contextDeactivated, dispose, edgesChanged, init, interestChanged, landmarkAdded, landmarkRemoved, nodeDeleted, presentationSettingsChanged, presentationSettingsChanging
 
Methods inherited from class org.eclipse.mylar.internal.context.ui.actions.AbstractApplyMylarAction
getActionForPart, getGlobalPrefId, getInterestFilter, getPartForAction, init, installInterestFilter, runWithEvent, selectionChanged, uninstallInterestFilter, update, update, updateInterestFilter, valueChanged
 
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, 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.jface.action.IAction
addPropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

ApplyMylarToPackageExplorerAction

public ApplyMylarToPackageExplorerAction()
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 org.eclipse.mylar.internal.context.ui.actions.AbstractApplyMylarAction

getElementOfInput

private java.lang.Object getElementOfInput(org.eclipse.ui.IEditorInput input)
Copied from PackageExplorerPart


getViewers

public java.util.List<org.eclipse.jface.viewers.StructuredViewer> getViewers()
Specified by:
getViewers in class org.eclipse.mylar.internal.context.ui.actions.AbstractApplyMylarAction

propertyChange

public void propertyChange(org.eclipse.core.runtime.Preferences.PropertyChangeEvent event)