|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.Action
actions.ImportFromFileAction
public class ImportFromFileAction
Action responsible for importing a list of feeds from a local OPML file.
| Field Summary | |
|---|---|
private Controller |
c
|
private java.lang.String |
opmlFilePath
|
private Folder |
target
|
private java.util.List<java.lang.String> |
urls
|
| 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 | |
|---|---|
ImportFromFileAction()
Contructs a new ImportFromURLAction |
|
| 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 Import a list of feeds in OPML form. |
void |
run(org.eclipse.core.runtime.IProgressMonitor monitor)
This method is invoked and paired with a progress monitor to monitor progress of the addition of the feeds. |
| 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 |
|---|
private Folder target
private java.util.List<java.lang.String> urls
private java.lang.String opmlFilePath
private Controller c
| Constructor Detail |
|---|
public ImportFromFileAction()
| Method Detail |
|---|
public void run()
run in interface org.eclipse.jface.action.IActionrun in class org.eclipse.jface.action.Action
public void run(org.eclipse.core.runtime.IProgressMonitor monitor)
throws java.lang.InterruptedException
run in interface org.eclipse.jface.operation.IRunnableWithProgressmonitor - ProgressMonitor
java.lang.InterruptedException - if the method is cancelled.public void addPropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener arg0)
addPropertyChangeListener in interface org.eclipse.jface.action.IActionprotected final void firePropertyChange(org.eclipse.jface.util.PropertyChangeEvent arg0)
protected final void firePropertyChange(java.lang.String arg0,
java.lang.Object arg1,
java.lang.Object arg2)
public void removePropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener arg0)
removePropertyChangeListener in interface org.eclipse.jface.action.IAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||