|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SystemPromptDialog com.ibm.etools.iseries.rse.ui.dialogs.datatableview.ISeriesDataTableViewPromptDialog
public abstract class ISeriesDataTableViewPromptDialog
To use the superclass:
#setHelp(String)
to set the dialog's help in the
constructor.
#createInner(Composite)
to populate the contents
#processOK()
to process the pressing of the OK button
For error checking, add modify listeners to entry fields and if needed selection listeners to buttons, then in your event handler
#setErrorMessage(SystemMessage)
to display an error if
detected. Pass null to clear previous error.
#setPageComplete(boolean)
with true if there are no errors
and all required data is supplied. This enables/disables OK.
For error validation when there are multiple input fields on the page, there are two different approaches you can take:
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
ISeriesDataTableViewPromptDialog(Shell shell,
String title)
|
Method Summary | |
---|---|
protected Control |
getInitialFocusControl()
|
abstract boolean |
isPageComplete()
This method can be called to decide whether to enable or disable the buttons. |
void |
setPageComplete()
Inform caller of page-complete status of this form |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String copyright
Constructor Detail |
---|
public ISeriesDataTableViewPromptDialog(Shell shell, String title)
Method Detail |
---|
protected Control getInitialFocusControl()
SystemPromptDialog#getInitialFocusControl()
public abstract boolean isPageComplete()
public void setPageComplete()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |