|
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 com.ibm.etools.iseries.rse.ui.dialogs.datatableview.ISeriesDataTableViewPositionToDialog
public class ISeriesDataTableViewPositionToDialog
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 | |
---|---|
ISeriesDataTableViewPositionToDialog(Shell shell,
ISeriesDataTableView iseriesDataTableView,
boolean hasPrimer,
char primeChar)
Constructor |
Method Summary | |
---|---|
protected Control |
createInner(Composite parent)
|
boolean |
isPageComplete()
This method can be called to decide whether to enable or disable the buttons. |
protected boolean |
processOK()
Called when user presses OK button. |
boolean |
verify(boolean setErrorFocus)
Verifies all input. |
Methods inherited from class com.ibm.etools.iseries.rse.ui.dialogs.datatableview.ISeriesDataTableViewPromptDialog |
---|
getInitialFocusControl, setPageComplete |
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 ISeriesDataTableViewPositionToDialog(Shell shell, ISeriesDataTableView iseriesDataTableView, boolean hasPrimer, char primeChar)
Method Detail |
---|
protected Control createInner(Composite parent)
SystemPromptDialog#createInner(Composite)
protected boolean processOK()
public boolean verify(boolean setErrorFocus)
public boolean isPageComplete()
isPageComplete
in class ISeriesDataTableViewPromptDialog
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |