actions
Class SubscribeAction

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

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

A SubscibeAction is invoked when the user tries to Subscribe to a new feed.

Author:
pgroudas

Field Summary
private  Folder target
           
private  java.lang.String url
           
 
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
SubscribeAction()
          Contructs a new SubscribeAction
 
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 when a user tries to Subscribe to a new feed.
 void run(org.eclipse.core.runtime.IProgressMonitor monitor)
          Invoked to subscribe to a feed in another thread
 void run(java.lang.String oldurl)
          Invoked when a user tries to Subscribe to a new feed.
 
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

url

private java.lang.String url

target

private Folder target
Constructor Detail

SubscribeAction

public SubscribeAction()
Contructs a new SubscribeAction

Method Detail

run

public void run()
Invoked when a user tries to Subscribe to a new feed.

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

run

public void run(java.lang.String oldurl)
Invoked when a user tries to Subscribe to a new feed.


run

public void run(org.eclipse.core.runtime.IProgressMonitor monitor)
         throws java.lang.reflect.InvocationTargetException,
                java.lang.InterruptedException
Invoked to subscribe to a feed in another thread

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