|
RSE Release 1.0 |
|||||||||||
| 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.rse.ui.dialogs.SystemPromptDialog
org.eclipse.rse.ui.dialogs.SystemWorkWithHistoryDialog
A dialog that allows the user to manipulate the history associated with a widget.
The history strings are shown in a simple list, and the user can delete items from the list or re-order items in the list.
| Nested Class Summary |
|---|
| Nested classes inherited from class org.eclipse.jface.window.Window |
|---|
Window.IExceptionHandler |
| Field Summary | |
|---|---|
protected MenuItem |
clearMI
|
protected MenuItem |
mdnMI
|
protected MenuItem |
mupMI
|
protected Menu |
popupMenu
|
protected MenuItem |
rmvMI
|
| 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 |
| Fields inherited from interface org.eclipse.jface.dialogs.IDialogConstants |
|---|
ABORT_ID, ABORT_LABEL, BACK_ID, BACK_LABEL, BUTTON_BAR_HEIGHT, BUTTON_HEIGHT, BUTTON_MARGIN, BUTTON_WIDTH, CANCEL_ID, CANCEL_LABEL, CLIENT_ID, CLOSE_ID, CLOSE_LABEL, DESELECT_ALL_ID, ENTRY_FIELD_WIDTH, FINISH_ID, FINISH_LABEL, HELP_ID, HELP_LABEL, HIDE_DETAILS_LABEL, HORIZONTAL_MARGIN, HORIZONTAL_SPACING, IGNORE_ID, IGNORE_LABEL, INDENT, INTERNAL_ID, LEFT_MARGIN, MINIMUM_MESSAGE_AREA_WIDTH, NEXT_ID, NEXT_LABEL, NO_ID, NO_LABEL, NO_TO_ALL_ID, NO_TO_ALL_LABEL, OK_ID, OK_LABEL, OPEN_ID, OPEN_LABEL, PROCEED_ID, PROCEED_LABEL, RETRY_ID, RETRY_LABEL, SELECT_ALL_ID, SELECT_TYPES_ID, SHOW_DETAILS_LABEL, SKIP_ID, SKIP_LABEL, SMALL_INDENT, STOP_ID, STOP_LABEL, VERTICAL_MARGIN, VERTICAL_SPACING, YES_ID, YES_LABEL, YES_TO_ALL_ID, YES_TO_ALL_LABEL |
| Constructor Summary | |
|---|---|
SystemWorkWithHistoryDialog(Shell shell,
String[] history)
Constructor for SystemWorkWithHistoryDialog |
|
| Method Summary | |
|---|---|
protected MenuItem |
addSeparator(Menu parent)
Helper method for a separator menu item |
protected Control |
createInner(Composite parent)
Called by createContents method. |
protected MenuItem |
createMenuItem(String label,
String description)
Helper method for creating cascading menu item |
protected Button |
createPushButton(Composite c,
String label,
String tooltip)
Helper method for creating a pushbutton with tooltip text. |
String[] |
getHistory()
Return the updated history |
protected Control |
getInitialFocusControl()
Return the Control to be given initial focus. |
void |
handleEvent(Event e)
Handles events generated by controls on this page. |
protected Group |
init(Composite parent,
int nbrColumns)
Create and initialize labeled group |
protected boolean |
processOK()
To be overridden by children. |
void |
setDefaultHistory(String[] items)
Set the items to default the history to. |
void |
widgetArmed(ArmEvent e)
Called by system when menu item is "armed" or in select state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Menu popupMenu
protected MenuItem clearMI
protected MenuItem rmvMI
protected MenuItem mupMI
protected MenuItem mdnMI
| Constructor Detail |
public SystemWorkWithHistoryDialog(Shell shell,
String[] history)
| Method Detail |
public void setDefaultHistory(String[] items)
protected Control getInitialFocusControl()
SystemPromptDialog
getInitialFocusControl in class SystemPromptDialogSystemPromptDialog.getInitialFocusControl()protected Control createInner(Composite parent)
SystemPromptDialog
createInner in class SystemPromptDialogSystemPromptDialog.createInner(Composite)
protected Group init(Composite parent,
int nbrColumns)
protected MenuItem addSeparator(Menu parent)
protected MenuItem createMenuItem(String label,
String description)
protected Button createPushButton(Composite c,
String label,
String tooltip)
protected boolean processOK()
SystemPromptDialog
processOK in class SystemPromptDialogpublic void handleEvent(Event e)
handleEvent in interface ListenerhandleEvent in class SystemPromptDialogpublic void widgetArmed(ArmEvent e)
widgetArmed in interface ArmListenerpublic String[] getHistory()
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||