|
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 SystemBasePropertyPage com.ibm.etools.iseries.rse.ui.propertypages.CommandExecutionPropertyPage
public class CommandExecutionPropertyPage
This property page is for properties related to command execution, including compiles and user-defined commands and actions. It appears on all subsystems for iSeries connections.
For each property in this page,the user can elect to inherit the property from the Command Execution preference page setting (the default) or override it here locally for this connection.
Field Summary | |
---|---|
static String |
Copyright
|
Fields inherited from interface com.ibm.etools.iseries.rse.ui.widgets.IQSYSObjectPromptListener |
---|
copyright |
Constructor Summary | |
---|---|
CommandExecutionPropertyPage()
Constructor |
Method Summary | |
---|---|
protected void |
addDependentWidget(InheritButton toggle,
Control widget,
boolean inheritedValue,
boolean localValue)
Add a dependent widget to a particular toggle button, with a boolean setting |
protected void |
addDependentWidget(InheritButton toggle,
Control widget,
Object inheritedValue,
Object localValue)
Add a dependent widget to a particular toggle button |
protected Control |
createContentArea(Composite parent)
Build up content area of page |
protected InheritButton |
createToggleButton(Composite parent)
Create a toggle button for deciding between inherited or set-locally |
protected QSYSCommandSubSystem |
getCommandSubSystem()
Get the iSeries Objects subsystem from the selected object input |
protected String |
getSBMJOBParameters()
Get the SBMJOB parameters |
protected IISeriesSubSystem |
getSubSystem()
Get the subsystem from the selected object input |
void |
libraryNameChanged(SystemMessage errorMessage)
Callback from JobD prompt. |
void |
objectNameChanged(SystemMessage errorMessage)
Callback from JobD prompt. |
protected void |
performDefaults()
Performs special processing when this page's Defaults button has been pressed. |
boolean |
performOk()
Method declared on IPreferencePage. |
protected void |
processBrowseObjectLibrary()
User has pressed the Browse button beside the Object Library prompt. |
protected void |
processPromptParms()
User has pressed the Prompt button beside the SBMJOB parameters prompt. |
protected void |
setToggleState(InheritButton toggle,
boolean toRight)
Set toggle button state. |
protected SystemMessage |
validateObjectLibrary()
Validate text, as entered, into Object Library prompt |
protected SystemMessage |
validateSBMJOBParms()
Validate text, as entered, into SBMJOB Parms prompt |
protected boolean |
verifyPageContents()
Validate all the widgets on the page |
protected boolean |
wantDefaultAndApplyButton()
Return false if you don't want to see apply and default buttons. |
void |
widgetDefaultSelected(SelectionEvent event)
User has pressed Enter on a button... |
void |
widgetSelected(SelectionEvent event)
User has pressed a button... |
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 CommandExecutionPropertyPage()
Method Detail |
---|
protected boolean wantDefaultAndApplyButton()
We return true
protected boolean verifyPageContents()
Subclasses should override to do full error checking on all the widgets on the page.
protected IISeriesSubSystem getSubSystem()
protected QSYSCommandSubSystem getCommandSubSystem()
protected Control createContentArea(Composite parent)
protected InheritButton createToggleButton(Composite parent)
protected void addDependentWidget(InheritButton toggle, Control widget, Object inheritedValue, Object localValue)
protected void addDependentWidget(InheritButton toggle, Control widget, boolean inheritedValue, boolean localValue)
protected void setToggleState(InheritButton toggle, boolean toRight)
toggle
- ->
the button to set the state fortoRight
- ->
true if the button is to be toggled to the right, false if to
the left (inherit)public void widgetSelected(SelectionEvent event)
public void widgetDefaultSelected(SelectionEvent event)
protected void processBrowseObjectLibrary()
protected void processPromptParms()
protected String getSBMJOBParameters()
protected SystemMessage validateObjectLibrary()
protected SystemMessage validateSBMJOBParms()
public boolean performOk()
protected void performDefaults()
This is a framework hook method for sublcasses to do special things when
the Defaults button has been pressed. Subclasses may override, but should
call super.performDefaults
.
We reset all buttons to toggle to the left (inherit)
public void objectNameChanged(SystemMessage errorMessage)
objectNameChanged
in interface IQSYSObjectPromptListener
errorMessage
- Will be null if the input is valid, or a translated msg if notpublic void libraryNameChanged(SystemMessage errorMessage)
libraryNameChanged
in interface IQSYSLibraryPromptListener
errorMessage
- Will be null if the input is valid, or a translated msg if not
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |