|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.ui.dialogs.PropertyPage
org.eclipse.rse.ui.propertypages.SystemBasePropertyPage
org.eclipse.rse.ui.propertypages.SystemConnectionSubSystemsPropertyPage
The property page for subsystem properties when accessed from the connection property page.
The plugin.xml file registers this for objects of class org.eclipse.rse.model.IHost
| Field Summary | |
|---|---|
protected PropertyPage[] |
pages
|
protected String |
parentHelpId
|
protected ResourceBundle |
rb
|
protected CTabFolder |
tabFolder
|
protected CTabItem[] |
tabs
|
| Fields inherited from class org.eclipse.rse.ui.propertypages.SystemBasePropertyPage |
|---|
buttonsComposite, contentArea, msgLine, msgLineSet |
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
|---|
ERROR, INFORMATION, NONE, WARNING |
| Constructor Summary | |
|---|---|
SystemConnectionSubSystemsPropertyPage()
Constructor. |
|
| Method Summary | |
|---|---|
protected Control |
createContentArea(Composite parent)
Create the page's GUI contents. |
protected CTabFolder |
createTabFolder(Composite parent)
Create the notebook. |
protected ISystemViewElementAdapter |
getAdapter(Object o)
Returns the implementation of ISystemViewElement for the given object. |
protected IHost |
getConnection()
Get the input connection object |
protected ISystemRemoteElementAdapter |
getRemoteAdapter(Object o)
Returns the implementation of ISystemRemoteElement for the given object. |
protected ISubSystem[] |
getSubSystems()
Get the input subsystems |
boolean |
isValid()
Return true if this page is valid. |
boolean |
okToLeave()
The PreferencePage implementation of this
IPreferencePage method returns true
if the page is valid.
|
boolean |
performOk()
Called by parent when user presses OK. |
void |
systemTypeSelected(String systemType,
boolean duringInitialization)
Event: the user has selected a system type. |
protected boolean |
verifyPageContents()
Validate all the widgets on the page Subclasses should override to do full error checking on all the widgets on the page. |
protected boolean |
wantMnemonics()
Return false if you don't want to have mnemonics automatically applied to your page by this parent class. |
void |
widgetDefaultSelected(SelectionEvent event)
Not used |
void |
widgetSelected(SelectionEvent event)
A tab item selected |
| Methods inherited from class org.eclipse.rse.ui.propertypages.SystemBasePropertyPage |
|---|
addFillerLine, addSeparatorLine, clearErrorMessage, clearMessage, configureMessageLine, contributeButtons, createContents, createLabeledCombo, createLabeledLabel, createLabeledText, createLabeledVerbage, getMessageLine, getSystemErrorMessage, grabExcessSpace, setBusyCursor, setErrorMessage, setErrorMessage, setErrorMessage, setHelp, setMessage, setMessage, setMessageLine, wantAutomaticValidManagement, wantDefaultAndApplyButton |
| Methods inherited from class org.eclipse.ui.dialogs.PropertyPage |
|---|
getElement, setElement |
| Methods inherited from class org.eclipse.jface.preference.PreferencePage |
|---|
applyData, applyDialogFont, computeSize, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, noDefaultAndApplyButton, performApply, performCancel, performDefaults, performHelp, setContainer, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton |
| Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
|---|
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setVisible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.rse.ui.messages.ISystemMessageLine |
|---|
clearErrorMessage, clearMessage, getErrorMessage, getMessage, getSystemErrorMessage, setErrorMessage, setErrorMessage, setErrorMessage, setMessage, setMessage |
| Methods inherited from interface org.eclipse.rse.ui.ISystemConnectionFormCaller |
|---|
getShell |
| Methods inherited from interface org.eclipse.jface.preference.IPreferencePage |
|---|
computeSize, performCancel, setContainer, setSize |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
|---|
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
| Field Detail |
protected CTabFolder tabFolder
protected ResourceBundle rb
protected String parentHelpId
protected PropertyPage[] pages
protected CTabItem[] tabs
| Constructor Detail |
public SystemConnectionSubSystemsPropertyPage()
| Method Detail |
protected boolean wantMnemonics()
wantMnemonics in class SystemBasePropertyPageprotected Control createContentArea(Composite parent)
createContentArea in class SystemBasePropertyPageprotected CTabFolder createTabFolder(Composite parent)
protected IHost getConnection()
protected ISubSystem[] getSubSystems()
public boolean okToLeave()
PreferencePage implementation of this
IPreferencePage method returns true
if the page is valid.
We cycle through all pages calling okToLeave().
okToLeave in interface IPreferencePageokToLeave in class SystemBasePropertyPagepublic boolean isValid()
isValid in interface IPreferencePagepublic boolean performOk()
performOk in interface IPreferencePageperformOk in class SystemBasePropertyPageprotected boolean verifyPageContents()
Subclasses should override to do full error checking on all the widgets on the page.
verifyPageContents in class SystemBasePropertyPageprotected ISystemViewElementAdapter getAdapter(Object o)
protected ISystemRemoteElementAdapter getRemoteAdapter(Object o)
public void widgetSelected(SelectionEvent event)
widgetSelected in interface SelectionListenerpublic void widgetDefaultSelected(SelectionEvent event)
widgetDefaultSelected in interface SelectionListener
public void systemTypeSelected(String systemType,
boolean duringInitialization)
systemTypeSelected in interface ISystemConnectionFormCallersystemType - the type of system selectedduringInitialization - true if this is being set at page initialization time versus selected by the user
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||