|
|||||||||||
| 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.AbstractAction
org.eclipse.jface.action.Action
net.sourceforge.java.feednread.frontend.event.action.UpdateTreeElementAction
Updates an ITreeElement either in the
NewsFeedFavoritesTree or in the
NewsFeedWatchesTree depending on the current selection in the
SideBar component.
| Field Summary | |
private MainApplicationWindow |
mainWindow
The Feed'n Read main window |
| Fields inherited from class org.eclipse.jface.action.Action |
|
| Fields inherited from class org.eclipse.core.commands.common.EventManager |
|
| 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 | |
UpdateTreeElementAction(MainApplicationWindow mainWindow)
Creates a new UpdateTreeElementAction instance. |
|
| Method Summary | |
void |
run()
Executes the action: Updates the newsfeed defined in the selected Favorite
or Watch. |
private void |
update(Category category)
Updates the specified Category, i.e. recursively updates
all Favorites in that Category.
|
private void |
update(Favorite favorite)
Updates the specified Favorite.
|
private IJob |
update(INameable nameable,
Favorite[] favorites)
Updates the specified list of Favorites.
|
private void |
update(Watch watch)
Updates the specified Watch.
|
private void |
update(WatchFolder folder)
Updates the specified WatchFolder, i.e. recursively
updates all Watches within that WatchFolder.
|
| 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 |
| Field Detail |
private MainApplicationWindow mainWindow
The Feed'n Read main window
| Constructor Detail |
public UpdateTreeElementAction(MainApplicationWindow mainWindow)
Creates a new UpdateTreeElementAction instance. This
Action updates the newsfeed defined in the selected
Favorite or Watch.
mainWindow - the Feed'n Read main window| Method Detail |
public void run()
Executes the action:
Favorite
or Watch.
private void update(WatchFolder folder)
Updates the specified WatchFolder, i.e. recursively
updates all Watches within that WatchFolder.
folder - the WatchFolder to updateupdate(Category),
update(Favorite),
update(Watch)private void update(Watch watch)
Updates the specified Watch.
watch - the Watch to updateupdate(Category),
update(Favorite),
update(WatchFolder)private void update(Favorite favorite)
Updates the specified Favorite.
favorite - the Favorite to updateupdate(Category),
update(WatchFolder),
update(Watch)private void update(Category category)
Updates the specified Category, i.e. recursively updates
all Favorites in that Category.
category - the Category to updateupdate(Favorite),
update(WatchFolder),
update(Watch)
private IJob update(INameable nameable,
Favorite[] favorites)
Updates the specified list of Favorites.
nameable - the INameable for the updatefavorites - the list of Favorites to update
IJob which does the update
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||