actions
Class UpdateAllFeeds

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.jface.action.Action
          extended by actions.UpdateAllFeeds
All Implemented Interfaces:
org.eclipse.jface.action.IAction, org.eclipse.jface.operation.IRunnableWithProgress

public class UpdateAllFeeds
extends org.eclipse.jface.action.Action
implements org.eclipse.jface.operation.IRunnableWithProgress

This class is responsible for updating all feeds the user is subscribed to

Author:
pgroudas

Field Summary
private  java.util.List<Feed> feeds
           
 
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
UpdateAllFeeds()
          Constructs a new UpdateAllFeeds (action)
 
Method Summary
 void addPropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener arg0)
           
protected  void firePropertyChange(org.eclipse.jface.util.PropertyChangeEvent arg0)
           
protected  void firePropertyChange(java.lang.String arg0, java.lang.Object arg1, java.lang.Object arg2)
           
 void removePropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener arg0)
           
 void run()
          Invoked to update all the users feeds.
 void run(org.eclipse.core.runtime.IProgressMonitor monitor)
          Invoked to update all feeds while reporting to the specified progress monitor
 
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.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
 

Field Detail

feeds

private java.util.List<Feed> feeds
Constructor Detail

UpdateAllFeeds

public UpdateAllFeeds()
Constructs a new UpdateAllFeeds (action)

Method Detail

run

public void run()
Invoked to update all the users feeds.

Specified by:
run in interface org.eclipse.jface.action.IAction
Overrides:
run in class org.eclipse.jface.action.Action

run

public void run(org.eclipse.core.runtime.IProgressMonitor monitor)
         throws java.lang.reflect.InvocationTargetException,
                java.lang.InterruptedException
Invoked to update all feeds while reporting to the specified progress monitor

Specified by:
run in interface org.eclipse.jface.operation.IRunnableWithProgress
Throws:
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException

addPropertyChangeListener

public void addPropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener arg0)
Specified by:
addPropertyChangeListener in interface org.eclipse.jface.action.IAction

firePropertyChange

protected final void firePropertyChange(org.eclipse.jface.util.PropertyChangeEvent arg0)

firePropertyChange

protected final void firePropertyChange(java.lang.String arg0,
                                        java.lang.Object arg1,
                                        java.lang.Object arg2)

removePropertyChangeListener

public void removePropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener arg0)
Specified by:
removePropertyChangeListener in interface org.eclipse.jface.action.IAction