|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.rssowl.controller.Quickview
This is the RSS Quickview controll that is displayed directly under the menue.
Field Summary | |
private org.eclipse.swt.widgets.MenuItem |
aggregateFavorites
|
private org.eclipse.swt.widgets.Composite |
bottomContainer
|
(package private) org.eclipse.swt.dnd.DropTarget |
comboDNDTarget
|
private org.eclipse.swt.widgets.ToolItem |
discoverFeedItem
|
(package private) EventManager |
eventManager
|
(package private) org.eclipse.swt.widgets.ToolItem |
exportItem
|
(package private) org.eclipse.swt.widgets.Menu |
exportMenu
|
private org.eclipse.swt.widgets.MenuItem |
exportOPML
|
(package private) org.eclipse.swt.widgets.ToolItem |
favoritesItem
|
(package private) org.eclipse.swt.widgets.Menu |
favoritesMenu
|
private org.eclipse.swt.widgets.MenuItem |
importBlogroll
|
(package private) org.eclipse.swt.widgets.ToolItem |
importItem
|
(package private) org.eclipse.swt.widgets.Menu |
importMenu
|
private org.eclipse.swt.widgets.MenuItem |
importOPML
|
(package private) org.eclipse.swt.widgets.Text |
liveSearch
|
private org.eclipse.swt.custom.CLabel |
liveSearchLabel
|
private org.eclipse.swt.widgets.MenuItem |
markAllRead
|
private org.eclipse.swt.widgets.ToolItem |
markReadItem
|
private org.eclipse.swt.widgets.MenuItem |
newCategory
|
private org.eclipse.swt.widgets.MenuItem |
newFavorite
|
(package private) org.eclipse.swt.widgets.ToolItem |
newItem
|
(package private) org.eclipse.swt.widgets.Menu |
newMenu
|
private org.eclipse.swt.widgets.MenuItem |
newSubCategory
|
private org.eclipse.swt.widgets.ToolItem |
nextUnreadNewsItem
|
private org.eclipse.swt.widgets.Menu |
quickviewMenu
|
(package private) org.eclipse.swt.widgets.MenuItem |
quickviewState
|
private org.eclipse.swt.widgets.MenuItem |
reloadFavorites
|
private org.eclipse.swt.widgets.ToolItem |
reloadItem
|
(package private) GUI |
rssOwlGui
|
private static int |
SEARCH_DELAY
Delay before the Search is beginning |
private ExtendedThread |
searchDelayThread
|
(package private) org.eclipse.swt.dnd.DropTarget |
searchDNDTarget
|
private org.eclipse.swt.widgets.MenuItem |
searchFavorites
|
private org.eclipse.swt.widgets.ToolItem |
searchFeedItem
|
private org.eclipse.swt.widgets.ToolItem |
searchItem
|
(package private) org.eclipse.swt.widgets.Shell |
shell
|
(package private) boolean |
stopLiveSearch
|
(package private) org.eclipse.swt.widgets.MenuItem |
toolBarState
|
private ViewForm |
toolbarViewForm
|
private org.eclipse.swt.widgets.Composite |
topContainer
|
(package private) org.eclipse.swt.widgets.ToolBar |
topToolBar
|
private org.eclipse.swt.widgets.Label |
urlLabelQuickView
|
(package private) org.eclipse.swt.widgets.Combo |
urlTestCombo
|
private org.eclipse.swt.widgets.ToolItem |
validateFeedItem
|
Constructor Summary | |
Quickview(GUI rssOwlGui,
org.eclipse.swt.widgets.Shell shell,
EventManager eventManager)
Instantiate a new Quickview |
Method Summary | |
(package private) void |
addUrlToCombo(String url)
Add the URL to the combo if its not yet in |
void |
clearLiveSearch()
Clear the live search input field |
private void |
createToolBar(org.eclipse.swt.widgets.Composite topToolBarContainer)
Create the Top ToolBar |
private void |
createWildCardMenu(String[] wildcards)
Apply a wildcard popup menu to the text. |
private int |
getIndex(String url)
Get the index from the combo where the given URL is located or -1 if the URL is not part of the combo |
private void |
initComponents()
Init all components |
private void |
initContextMenu(org.eclipse.swt.widgets.Control parent)
Initialize the Context Menu showing two items to hide/show ToolBar and Quickview control. |
(package private) void |
search()
Perform the search in the displayed channel. |
void |
setNewMenuDisabled()
Disable the "New" dropdown ToolItem |
void |
setShowQuickview(boolean show,
boolean save)
Show / Hide the quickview control |
void |
setShowToolBar(boolean show,
boolean save)
Show / Hide the ToolBar control |
void |
setShowViewForm(boolean show)
Show / Hide the ViewForm containing ToolBar and Quickview |
void |
updateFonts()
All implementing classes must provide a method to update the fonts of all GUI elements that provide a setFont() Method. |
void |
updateI18N()
Update all controlls text with i18n |
void |
updateNewMenu(boolean showSubCategory,
boolean isBlogroll)
Update the new menu in dependance of the selection in the favorites tree. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final int SEARCH_DELAY
private org.eclipse.swt.widgets.MenuItem aggregateFavorites
private org.eclipse.swt.widgets.Composite bottomContainer
private org.eclipse.swt.widgets.ToolItem discoverFeedItem
private org.eclipse.swt.widgets.MenuItem exportOPML
private org.eclipse.swt.widgets.MenuItem importBlogroll
private org.eclipse.swt.widgets.MenuItem importOPML
private org.eclipse.swt.custom.CLabel liveSearchLabel
private org.eclipse.swt.widgets.MenuItem markAllRead
private org.eclipse.swt.widgets.ToolItem markReadItem
private org.eclipse.swt.widgets.MenuItem newCategory
private org.eclipse.swt.widgets.MenuItem newFavorite
private org.eclipse.swt.widgets.MenuItem newSubCategory
private org.eclipse.swt.widgets.ToolItem nextUnreadNewsItem
private org.eclipse.swt.widgets.Menu quickviewMenu
private org.eclipse.swt.widgets.MenuItem reloadFavorites
private org.eclipse.swt.widgets.ToolItem reloadItem
private ExtendedThread searchDelayThread
private org.eclipse.swt.widgets.MenuItem searchFavorites
private org.eclipse.swt.widgets.ToolItem searchFeedItem
private org.eclipse.swt.widgets.ToolItem searchItem
private ViewForm toolbarViewForm
private org.eclipse.swt.widgets.Composite topContainer
private org.eclipse.swt.widgets.Label urlLabelQuickView
private org.eclipse.swt.widgets.ToolItem validateFeedItem
org.eclipse.swt.dnd.DropTarget comboDNDTarget
EventManager eventManager
org.eclipse.swt.widgets.ToolItem exportItem
org.eclipse.swt.widgets.Menu exportMenu
org.eclipse.swt.widgets.ToolItem favoritesItem
org.eclipse.swt.widgets.Menu favoritesMenu
org.eclipse.swt.widgets.ToolItem importItem
org.eclipse.swt.widgets.Menu importMenu
org.eclipse.swt.widgets.Text liveSearch
org.eclipse.swt.widgets.ToolItem newItem
org.eclipse.swt.widgets.Menu newMenu
org.eclipse.swt.widgets.MenuItem quickviewState
GUI rssOwlGui
org.eclipse.swt.dnd.DropTarget searchDNDTarget
org.eclipse.swt.widgets.Shell shell
boolean stopLiveSearch
org.eclipse.swt.widgets.MenuItem toolBarState
org.eclipse.swt.widgets.ToolBar topToolBar
org.eclipse.swt.widgets.Combo urlTestCombo
Constructor Detail |
public Quickview(GUI rssOwlGui, org.eclipse.swt.widgets.Shell shell, EventManager eventManager)
rssOwlGui
- Access some methods of the main controllershell
- The shelleventManager
- The event managerMethod Detail |
public void clearLiveSearch()
public void setNewMenuDisabled()
public void setShowQuickview(boolean show, boolean save)
show
- TRUE if visiblesave
- If TRUE save state to GlobalSettingspublic void setShowToolBar(boolean show, boolean save)
show
- TRUE if visiblesave
- If TRUE save state to GlobalSettingspublic void setShowViewForm(boolean show)
show
- TRUE if visiblepublic void updateFonts()
IFontChangeable
updateFonts
in interface IFontChangeable
IFontChangeable.updateFonts()
public void updateI18N()
updateI18N
in interface ITranslatable
public void updateNewMenu(boolean showSubCategory, boolean isBlogroll)
showSubCategory
- If TRUE, show the "New > Sub Category" item.isBlogroll
- If TRUE, selection is set on a Blogroll.private void createToolBar(org.eclipse.swt.widgets.Composite topToolBarContainer)
topToolBarContainer
- The Top ToolBar Containerprivate void createWildCardMenu(String[] wildcards)
wildcards
- The wildcards to add to the menuprivate int getIndex(String url)
url
- Any URL to search for
private void initComponents()
private void initContextMenu(org.eclipse.swt.widgets.Control parent)
parent
- The parent to use for Initialization.void addUrlToCombo(String url)
url
- Any URLvoid search()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |