|
|||||||||||
| 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.WatchSettingsEntryInputDialog
User Dialog to create/edit a WatchSettingsEntry.
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.jface.window.Window |
Window.IExceptionHandler |
| Field Summary | |
private Button |
caseSensitiveButton
The Button to toggle the case sensitive setting |
private LanguageResource |
defaultResource
Default language resource used in this dialog |
private String |
dialogTitle
The dialog title |
private WatchSettingsEntry |
entry
The WatchSettingsEntry created/edited |
private Text |
keywordField
The Text carrying the keyword input |
private Button |
wholeWordButton
The Button to toggle the whole word setting |
| 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 | |
WatchSettingsEntryInputDialog(Shell parentShell,
String dialogTitle)
Creates a new WatchSettingsEntryInputDialog instance.
|
|
WatchSettingsEntryInputDialog(Shell parentShell,
WatchSettingsEntry entry,
String dialogTitle)
Creates a new WatchSettingsEntryInputDialog instance.
|
|
| Method Summary | |
protected void |
buttonPressed(int buttonId)
Called whenever a button is pressed in this WatchSettingsEntryInputDialog.
|
protected void |
configureShell(Shell shell)
Configures the Shell representing this
WatchSettingsEntryInputDialog.
|
protected void |
createButtonsForButtonBar(Composite parent)
Creates the buttons used in this WatchSettingsEntryInputDialog and sets up their default
enabled state.
|
protected Control |
createDialogArea(Composite parent)
Creates the dialog area of this WatchSettingsEntryInputDialog.
|
private void |
createLegend(Composite parent)
Creates a legend that describes the wildcards that can be used within a keyword. |
WatchSettingsEntry |
getEntry()
Gets the created/edited WatchSettingsEntry instance.
|
String |
isValid(String newText)
Verifies if the given input is valid. |
| 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 dialogTitle
The dialog title
private WatchSettingsEntry entry
The WatchSettingsEntry created/edited
private Text keywordField
The Text carrying the keyword input
private Button caseSensitiveButton
The Button to toggle the case sensitive setting
private Button wholeWordButton
The Button to toggle the whole word setting
private LanguageResource defaultResource
Default language resource used in this dialog
| Constructor Detail |
public WatchSettingsEntryInputDialog(Shell parentShell,
String dialogTitle)
Creates a new WatchSettingsEntryInputDialog instance.
parentShell - the parent Shell of this
WatchSettingsEntryInputDialogdialogTitle - the dialog title
public WatchSettingsEntryInputDialog(Shell parentShell,
WatchSettingsEntry entry,
String dialogTitle)
Creates a new WatchSettingsEntryInputDialog instance.
parentShell - the parent Shell of this
WatchSettingsEntryInputDialogentry - the edited WatchSettingsEntrydialogTitle - the dialog title| Method Detail |
public WatchSettingsEntry getEntry()
Gets the created/edited WatchSettingsEntry instance.
WatchSettingsEntry instancepublic String isValid(String newText)
Verifies if the given input is valid. Currently only an empty input is being declined.
isValid in interface IInputValidatornewText - the text to verify
null
otherwiseprotected void configureShell(Shell shell)
Configures the Shell representing this
WatchSettingsEntryInputDialog.
shell - the Shell to configureprotected void createButtonsForButtonBar(Composite parent)
Creates the buttons used in this
WatchSettingsEntryInputDialog and sets up their default
enabled state.
parent - the parent component to embed the buttons intoprotected void buttonPressed(int buttonId)
Called whenever a button is pressed in this
WatchSettingsEntryInputDialog.
buttonId - the id of the button that was pressedfor the button ids
defined in the JFace frameworkprotected Control createDialogArea(Composite parent)
Creates the dialog area of this
WatchSettingsEntryInputDialog.
parent - the parent Composite to embed the dialog
area into
private void createLegend(Composite parent)
Creates a legend that describes the wildcards that can be used within a keyword.
parent - the parent Composite to embed the legend into
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||