|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
net.sourceforge.java.feednread.frontend.wizard.FavoriteSelectionWizardPage
WizardPage that lets the end-user select the
Favorites which should be watched.
| Field Summary | |
private TreeViewerContentProvider |
contentProvider
Provides the data for the CheckBoxTreeViewer |
private Button |
deselectAllButton
Button to deselect the entire CheckBoxTreeViewer
|
private Tree |
favoritesTree
The Tree to display the Favorites to select
from
|
private NewsFeedFavoritesTreeLabelProvider |
labelProvider
Converts Category and Favorite objects to
gui presentable objects
|
private MainApplicationWindow |
mainWindow
The Feed'n Read main window |
private Button |
selectAllButton
Button to select the entire CheckBoxTreeViewer
|
private IMutableTreeElement[] |
selectedElements
The selected IMutableTreeElements; null if
in add mode or selection is empty;
|
private ContainerCheckedTreeViewer |
treeViewer
The CheckboxTreeViewer used to select the
Favorites to be watched.
|
| Fields inherited from class org.eclipse.jface.wizard.WizardPage |
|
| Fields inherited from class org.eclipse.jface.dialogs.DialogPage |
|
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
ERROR, INFORMATION, NONE, WARNING |
| Constructor Summary | |
FavoriteSelectionWizardPage(MainApplicationWindow mainWindow)
Creates a new FavoriteSelectionWizardPage instance.
|
|
FavoriteSelectionWizardPage(MainApplicationWindow mainWindow,
IMutableTreeElement[] selectedElements)
Creates a new FavoriteSelectionWizardPage instance.
|
|
| Method Summary | |
private void |
createButtonBar(Composite parent,
IMutableTreeElement root)
Creates the Button bar holding the
selectAllButton and deselectAllButton to
select resp. deselect all Favorites.
|
void |
createControl(Composite parent)
Creates the controls of this FavoriteSelectionWizardPage.
|
void |
dispose()
Disposes all resources claimed by this FavoriteSelectionWizardPage.
|
IMutableTreeElement[] |
getSelectedElements()
Gets the IMutableTreeElements as selected by the end-user
in this FavoriteSelectionWizardPage
|
private void |
setSelectedElements()
Updates this FavoriteSelectionWizardPage with the
IMutableTreeElements set in selectedElements;
|
| Methods inherited from class org.eclipse.jface.wizard.WizardPage |
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString |
| Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible |
| Field Detail |
private MainApplicationWindow mainWindow
The Feed'n Read main window
private IMutableTreeElement[] selectedElements
The selected IMutableTreeElements; null if
in add mode or selection is empty;
private ContainerCheckedTreeViewer treeViewer
The CheckboxTreeViewer used to select the
Favorites to be watched.
private Tree favoritesTree
The Tree to display the Favorites to select
from
private TreeViewerContentProvider contentProvider
Provides the data for the CheckBoxTreeViewer
private NewsFeedFavoritesTreeLabelProvider labelProvider
Converts Category and Favorite objects to
gui presentable objects
private Button selectAllButton
Button to select the entire CheckBoxTreeViewer
private Button deselectAllButton
Button to deselect the entire CheckBoxTreeViewer
| Constructor Detail |
public FavoriteSelectionWizardPage(MainApplicationWindow mainWindow)
Creates a new FavoriteSelectionWizardPage instance.
mainWindow - the Feed'n Read main windowFavoriteSelectionWizardPage(MainApplicationWindow, IMutableTreeElement[])
public FavoriteSelectionWizardPage(MainApplicationWindow mainWindow,
IMutableTreeElement[] selectedElements)
Creates a new FavoriteSelectionWizardPage instance.
mainWindow - the Feed'n Read main windowselectedElements - the IMutableTreeElements to preselectFavoriteSelectionWizardPage(MainApplicationWindow)| Method Detail |
public IMutableTreeElement[] getSelectedElements()
Gets the IMutableTreeElements as selected by the end-user
in this FavoriteSelectionWizardPage
IMutableTreeElementspublic void dispose()
Disposes all resources claimed by this
FavoriteSelectionWizardPage.
public void createControl(Composite parent)
Creates the controls of this FavoriteSelectionWizardPage.
parent - the parent Composite to embed the created
controls intoIDialogPage.createControl(org.eclipse.swt.widgets.Composite)
private void createButtonBar(Composite parent,
IMutableTreeElement root)
Creates the Button bar holding the
selectAllButton and deselectAllButton to
select resp. deselect all Favorites.
parent - the Composite to embed the
created Button bar intoroot - the root IMutableTreeElement to use
for the select/deselect all operationsprivate void setSelectedElements()
Updates this FavoriteSelectionWizardPage with the
IMutableTreeElements set in selectedElements;
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||