com.ibm.etools.iseries.rse.ui.dialogs.datatableview
Class ISeriesDataTableViewRecordDialog
java.lang.Object
SystemPromptDialog
com.ibm.etools.iseries.rse.ui.dialogs.datatableview.ISeriesDataTableViewPromptDialog
com.ibm.etools.iseries.rse.ui.dialogs.datatableview.ISeriesDataTableViewRecordDialog
public class ISeriesDataTableViewRecordDialog
- extends ISeriesDataTableViewPromptDialog
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 |
processAdd()
|
protected boolean |
processOK()
Called when user presses OK button. |
protected boolean |
verify()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static final String copyright
- See Also:
- Constant Field Values
ADD_ACTION
public static final int ADD_ACTION
- See Also:
- Constant Field Values
UPDATE_ACTION
public static final int UPDATE_ACTION
- See Also:
- Constant Field Values
ISeriesDataTableViewRecordDialog
public ISeriesDataTableViewRecordDialog(Shell shell,
ISeriesDataTableViewProvider provider,
String title,
int actionType)
- Constructor with a title
createInner
protected Control createInner(Composite parent)
- See Also:
SystemPromptDialog#getInitialFocusControl()
processAdd
protected boolean processAdd()
processOK
protected boolean processOK()
- Called when user presses OK button.
Return true to close dialog.
Return false to not close dialog.
verify
protected boolean verify()
isPageComplete
public boolean isPageComplete()
- This method can be called to decide whether to enable or disable the
buttons.
It returns true if the minimal information is available and currently not
showing an error message.
But dialog's field may not be correct.
(Scenario: 2 fields are invalid. User corrects one. Error message
disappears. At this point, we have to enable the OK so they can try it,
proceed to the verify() which will find the other error(s) and display
it. and disable the OK ... )
- Specified by:
isPageComplete
in class ISeriesDataTableViewPromptDialog
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.