|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jface.dialogs.TrayDialog
org.eclipse.jface.dialogs.TitleAreaDialog
net.sourceforge.java.feednread.frontend.dialog.NewsFeedLinkDialog
Dialog that prompts the user if he wants to create a
Favorite
in case a
NewsFeed link
is detected within a web page.
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.jface.window.Window |
Window.IExceptionHandler |
| Field Summary | |
private Button |
dontAskAgainButton
|
private String |
newsfeedTitle
|
| Fields inherited from class org.eclipse.jface.dialogs.TitleAreaDialog |
DLG_IMG_TITLE_BANNER, DLG_IMG_TITLE_ERROR, INFO_MESSAGE, WARNING_MESSAGE |
| Fields inherited from class org.eclipse.jface.dialogs.TrayDialog |
|
| Fields inherited from class org.eclipse.jface.dialogs.Dialog |
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS |
| Fields inherited from class org.eclipse.jface.window.Window |
CANCEL, OK |
| Constructor Summary | |
NewsFeedLinkDialog(Shell parentShell,
String newsfeedTitle)
Creates a new NewsFeedLinkDialog instance.
|
|
| Method Summary | |
protected void |
buttonPressed(int buttonId)
Called whenever a button is pressed in this NewsFeedLinkDialog.
|
protected void |
configureShell(Shell shell)
Configures the Shell representing this
NewsFeedLinkDialog.
|
protected void |
createButtonsForButtonBar(Composite parent)
Creates the buttons used in this NewsFeedLinkDialog.
|
protected Control |
createDialogArea(Composite parent)
Creates the dialog area of this NewsFeedLinkDialog.
|
private void |
updateConfiguration()
Updates the confguration according to the selection made in this NewsFeedLinkDialog.
|
| Methods inherited from class org.eclipse.jface.dialogs.TitleAreaDialog |
createContents, getInitialSize, getTitleArea, getTitleImageLabel, setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImage |
| Methods inherited from class org.eclipse.jface.dialogs.TrayDialog |
close, closeTray, createButtonBar, createHelpControl, getLayout, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private String newsfeedTitle
private Button dontAskAgainButton
| Constructor Detail |
public NewsFeedLinkDialog(Shell parentShell,
String newsfeedTitle)
Creates a new NewsFeedLinkDialog instance.
parentShell - the parent Shell of this
NewsFeedLinkDialognewsfeedTitle - the title of the link that points to a newsfeed| Method Detail |
protected void configureShell(Shell shell)
Configures the Shell representing this
NewsFeedLinkDialog.
shell - the Shell to configureprotected void createButtonsForButtonBar(Composite parent)
Creates the buttons used in this NewsFeedLinkDialog.
parent - the parent component to embed the buttons intoprotected Control createDialogArea(Composite parent)
Creates the dialog area of this NewsFeedLinkDialog.
parent - the parent component to embed the dialog area into
protected void buttonPressed(int buttonId)
Called whenever a button is pressed in this
NewsFeedLinkDialog.
buttonId - the id of the button that was pressedfor the button ids
defined in the JFace frameworkprivate void updateConfiguration()
Updates the confguration according to the selection made
in this NewsFeedLinkDialog.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||