|
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 Composite com.ibm.etools.iseries.rse.ui.widgets.QSYSBasePrompt com.ibm.etools.iseries.rse.ui.widgets.QSYSAUTLPrompt
public class QSYSAUTLPrompt
This re-usable composite widget is for prompting the user for an authorization list name. This is a commonly required parameter for many iSeries create commands. The autl name widget is a combo that lists special values and previously entered (historical) names. Beside the combo is a button with a Browse label for selecting an authorization list from a remote list.
The composite is layed as follows:
Authorization list: ______________________v Browse...
There are two modes for this, depending if you are prompting for the AUT parameter, or the CRTAUT parameter. This affects the special values allowed.
#setAUTLChangeListener(IQSYSAUTLPromptListener)
Field Summary | |
---|---|
String[] |
AUT_VALUES
|
protected ValidatorIBMiObject |
autlValidator
|
protected boolean |
autMode
|
static String |
copyright
|
String[] |
CRTAUT_VALUES
|
protected QSYSAUTLPromptListener |
listener
|
Fields inherited from class com.ibm.etools.iseries.rse.ui.widgets.QSYSBasePrompt |
---|
browseAction, browseButton, defaultConnection, enableBrowse, gridColumns, ignoreChanges, onlyConnection, promptCombo, promptLabel, rb, showNewConnection, testing |
Constructor Summary | |
---|---|
QSYSAUTLPrompt(Composite parent,
int style,
boolean autMode,
IHost connection)
Constructor |
Method Summary | |
---|---|
protected void |
addOurButtonSelectionListener()
AUTL's Browse button pressed handler |
String |
getAUTLName()
Get the user entered or selected authorization list name. |
protected IIBMiSelectAction |
getBrowseAction(Shell shell,
IHost defaultConnection,
boolean onlyConnection)
Overridable method. |
protected boolean |
isSpecialValue(String value)
Test if given value is one of the special values... |
protected void |
populateCombo(SystemHistoryCombo combo)
Populates the library combo. |
void |
setAUTLChangeListener(QSYSAUTLPromptListener listener)
Identify a caller that is interested in being informed of live error checking status |
void |
setAUTLName(String name)
Set the authorization list name or special displayed in the combo box. |
void |
setDefaultConnection(IHost defaultConnection)
Set the default connection to preselect when Browse is pressed. |
void |
setPromptLabel(String label)
Set the prompt label. |
void |
setSystemConnection(IHost onlyConnection)
Set the system connection to use when Browse is pressed. |
SystemMessage |
validateAutlInput()
Validate authorization list name, as it is typed, or in batch if you wish to call directly. |
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 boolean autMode
protected QSYSAUTLPromptListener listener
protected ValidatorIBMiObject autlValidator
public String[] CRTAUT_VALUES
public String[] AUT_VALUES
Constructor Detail |
---|
public QSYSAUTLPrompt(Composite parent, int style, boolean autMode, IHost connection)
parent
- Parent compositestyle
- The SWT style flags for overall composite widget. Typically just pass SWT.NULLboolean
- Pass true for AUT mode, false for CRTAUT modeconnection
- The connection to limit the user to selecting from.Method Detail |
---|
public void setAUTLChangeListener(QSYSAUTLPromptListener listener)
public void setDefaultConnection(IHost defaultConnection)
setDefaultConnection
in class QSYSBasePrompt
#setSystemConnection(SystemConnection)
public void setSystemConnection(IHost onlyConnection)
#setDefaultConnection(SystemConnection)
public void setPromptLabel(String label)
setPromptLabel
in class QSYSBasePrompt
public String getAUTLName()
QSYSBasePrompt.getText()
public void setAUTLName(String name)
QSYSBasePrompt.setText(String)
protected IIBMiSelectAction getBrowseAction(Shell shell, IHost defaultConnection, boolean onlyConnection)
getBrowseAction
in class QSYSBasePrompt
protected void populateCombo(SystemHistoryCombo combo)
protected void addOurButtonSelectionListener()
addOurButtonSelectionListener
in class QSYSBasePrompt
public SystemMessage validateAutlInput()
protected boolean isSpecialValue(String value)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |