|
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 SystemFilterStringEditPane com.ibm.etools.iseries.rse.ui.QSYSFilterStringBaseEditPane
public class QSYSFilterStringBaseEditPane
This is a base class edit pane for prompting for an iSeries filter string. Abstracts out common stuff. Add @SuppressWarnings since org.eclipse.rse.internal.ui.actions.SystemTestFilterStringAction is an internal class in openRSE. Need to address that.
Field Summary | |
---|---|
protected boolean |
calledFromVerify
|
protected SystemPromptDialog |
callerDialog
|
protected ISystemWizard |
callerWizard
|
protected IBMiConnectionCombo |
conn400Combo
|
static String |
copyright
|
protected IHost |
defaultConn
|
protected boolean |
wantConnectionPrompt
|
Constructor Summary | |
---|---|
QSYSFilterStringBaseEditPane(Shell shell)
Constructor |
|
QSYSFilterStringBaseEditPane(Shell shell,
ISystemWizard wizard)
Constructor when usage is for a wizard. |
|
QSYSFilterStringBaseEditPane(Shell shell,
SystemPromptDialog dialog)
Constructor when usage is for a dialog. |
Method Summary | |
---|---|
protected boolean |
areFieldsComplete()
Must be overridden if createContents is overridden. |
protected boolean |
areISeriesFieldsComplete()
Override point for subclasses |
protected void |
connectionChanged(IHost connection)
SubClasses that need to know when the connection changes (in those cases where there is a conn prompt at the top) should override this method. |
Control |
createContents(Composite parent)
Method createContents. |
Control |
createISeriesContents(Composite parent)
Method createISeriesContents. |
protected void |
doInitializeFields()
Initialize the input fields. |
protected void |
doInitializeISeriesFields()
Must be overridden. |
protected void |
doResetISeriesFields()
Must be overridden. |
IHost |
getSystemConnection()
Returns the System Connection selected from the Connection Combo |
void |
libraryNameChanged(SystemMessage errorMessage)
The user has entered or selected text in the library entry field and it has been validated by the prompt combo |
void |
memberNameChanged(SystemMessage errorMessage)
The user has entered or selected text in the member entry field and it has been validated by the ISeriesMemberPrompt. |
void |
objectNameChanged(SystemMessage errorMessage)
The user has entered or selected text in the object entry field and it has been validated by the prompt combo. |
void |
processTest(Shell shell)
Called by us or by owning dialog when common Test button is pressed |
protected void |
resetFields()
Must not be overridden. |
void |
setCallerDialog(SystemPromptDialog dialog)
Set the caller dialog. |
void |
setCallerWizard(ISystemWizard wizard)
Set the caller wizard. |
void |
setChangeFilterMode(boolean changeMode)
Intercept of parent so we can display our Test button only in change mode. |
void |
setShowConnectionPrompt(boolean show,
IHost defaultConnection)
Indicate you desire to include a prompt for a system connection in this edit pane. |
SystemMessage |
verify()
Does complete verification of input fields. |
protected Control |
verifyISeries()
Override point for subclasses. |
void |
widgetSelected(SelectionEvent event)
User has selected something |
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
protected ISystemWizard callerWizard
protected SystemPromptDialog callerDialog
protected IBMiConnectionCombo conn400Combo
protected boolean calledFromVerify
protected boolean wantConnectionPrompt
protected IHost defaultConn
Constructor Detail |
---|
public QSYSFilterStringBaseEditPane(Shell shell)
shell
- public QSYSFilterStringBaseEditPane(Shell shell, ISystemWizard wizard)
shell
- public QSYSFilterStringBaseEditPane(Shell shell, SystemPromptDialog dialog)
shell
- Method Detail |
---|
public void setCallerWizard(ISystemWizard wizard)
public void setCallerDialog(SystemPromptDialog dialog)
public void setShowConnectionPrompt(boolean show, IHost defaultConnection)
protected void doInitializeFields()
protected void resetFields()
public void setChangeFilterMode(boolean changeMode)
Called by Change Filter dialog to set on our changeFilterMode flag in case we wish to distinguish between new filter and change filter modes
public Control createContents(Composite parent)
parent
-
public Control createISeriesContents(Composite parent)
parent
-
protected void doInitializeISeriesFields()
protected void doResetISeriesFields()
protected boolean areFieldsComplete()
This is called by the isComplete, to decide if the default information is complete enough to enable finish. It doesn't do validation, that will be done when finish is pressed.
We do common stuff and then defer to areISeriesFieldsComplete()
protected boolean areISeriesFieldsComplete()
public SystemMessage verify()
Does common stuff and then defers to verifyISeries()
protected Control verifyISeries()
public void libraryNameChanged(SystemMessage errorMessage)
errorMessage
- Will be null if the input is valid, or a translated msg if notpublic void objectNameChanged(SystemMessage errorMessage)
errorMessage
- Will be null if the input is valid, or a translated msg if notpublic void memberNameChanged(SystemMessage errorMessage)
errorMessage
- Will be null if the input is valid, or a translated msg if notpublic void widgetSelected(SelectionEvent event)
protected void connectionChanged(IHost connection)
public void processTest(Shell shell)
public IHost getSystemConnection()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |