|
|||||||||||
| 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.UpdateNewsFeedTabAction
Updates the NewsFeed defined in the selected tab in the
NewsFeedTabBar.
| 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 | |
UpdateNewsFeedTabAction(MainApplicationWindow mainWindow)
Creates a new UpdateNewsFeedTabAction instance.
|
|
| Method Summary | |
void |
run()
Executes the action: Updates the newsfeed defined in the selected tab in the NewsFeedTabBar. |
private IJob |
update(INameable nameable,
Favorite[] favorites)
Updates the specified list of Favorites.
|
private void |
updateTab(Favorite favorite)
Updates the tab that display the specified Favorite.
|
private void |
updateTab(NewsFeedTabItemData tabData,
NewsFeedTabBar tabBar)
Updates a Watch tab.
|
private void |
updateTab(String newsFeedUrl)
Updates the tab that display the NewsFeed denoted by
the specified newsFeedUlr.
|
| 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 UpdateNewsFeedTabAction(MainApplicationWindow mainWindow)
Creates a new UpdateNewsFeedTabAction instance.
This Action updates the newsfeed defined in the
selected tab in the NewsFeedTabBar.
mainWindow - the Feed'n Read main window| Method Detail |
public void run()
Executes the action:
NewsFeedTabBar.
private void updateTab(String newsFeedUrl)
Updates the tab that display the NewsFeed denoted by
the specified newsFeedUlr.
newsFeedUrl - the url of the NewsFeed whose
tab is to be updatedupdateTab(Favorite),
updateTab(NewsFeedTabItemData, NewsFeedTabBar)private void updateTab(Favorite favorite)
Updates the tab that display the specified Favorite.
favorite - the Favorite whose tab is to be updatedupdateTab(String),
updateTab(NewsFeedTabItemData, NewsFeedTabBar)
private void updateTab(NewsFeedTabItemData tabData,
NewsFeedTabBar tabBar)
Updates a Watch tab.
tabData - the NewsFeedTabItemData assocated to the
Watch tabtabBar - the NewsFeedTabBar componentupdateTab(Favorite),
updateTab(String)
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 | ||||||||||