com.ibm.etools.systems.core.ui.dialogs
Class SystemUpdateConnectionDialog
java.lang.Object
org.eclipse.jface.dialogs.Dialog
com.ibm.etools.systems.core.ui.dialogs.SystemPromptDialog
com.ibm.etools.systems.core.ui.dialogs.SystemUpdateConnectionDialog
- All Implemented Interfaces:
- ISystemConnectionFormCaller, ISystemMessageLine, ISystemPromptDialog, Runnable
- public class SystemUpdateConnectionDialog
- extends SystemPromptDialog
- implements ISystemConnectionFormCaller
Dialog for updating a connection.
THIS DIALOG AND ITS ACTION ARE NO LONGER USED. THEY ARE REPLACED WITH A PROPERTIES DIALOG.
- See Also:
- Serialized Form
Fields inherited from class com.ibm.etools.systems.core.ui.dialogs.SystemPromptDialog |
activeRunningOperations, ADD_BUTTON_NO, ADD_BUTTON_YES, ADD_ID, addButton, arrowCursor, BROWSE_BUTTON_NO, BROWSE_BUTTON_YES, BROWSE_ID, browseButton, buttonsComposite, cancelButton, cancelListener, DETAILS_BUTTON_NO, DETAILS_BUTTON_YES, DETAILS_ID, detailsButton, detailsButtonHideMode, detailsHideLabel, detailsShowLabel, dialogAreaComposite, dialogMnemonics, fMessageLine, helpId, horizontalSpacing, initialAddButtonEnabledState, initialDetailsButtonEnabledState, initialOKButtonEnabledState, inputObject, labelAdd, labelBrowse, labelCancel, labelDetailsHide, labelDetailsShow, labelOk, labelTest, marginHeight, marginWidth, minHeight, minWidth, needsProgressMonitor, okButton, okPressed, operationCancelableState, outputObject, outputObjectValidator, overallShell, pack, parentComposite, pendingErrorMessage, pendingMessage, progressMonitorPart, showAddButton, showBrowseButton, showDetailsButton, showOkButton, showTestButton, TEST_BUTTON_NO, TEST_BUTTON_YES, TEST_ID, testButton, tipAdd, tipBrowse, tipCancel, tipDetailsHide, tipDetailsShow, tipOk, tipTest, title, titleImage, verticalSpacing, waitCursor, windowClosingDialog |
Methods inherited from class com.ibm.etools.systems.core.ui.dialogs.SystemPromptDialog |
aboutToStart, addFillerLine, addGrowableFillerLine, addSeparatorLine, adjustButtonWidth, applyMnemonics, buttonPressed, clearErrorMessage, clearMessage, close, configureShell, createButtonBar, createButtonsForButtonBar, createContents, createControl, createDialogArea, createWizardClosingDialog, dispose, enableAddButton, enableBrowseButton, enableCancelButton, enableDetailsButton, enableOkButton, enableTestButton, getAddButton, getBrowseButton, getCancelOrCloseButton, getControl, getDescription, getDetailsButton, getDialogMnemonics, getErrorMessage, getHelpContextId, getImage, getInputObject, getMessage, getMessageLine, getOkButton, getOutputObject, getOutputObjectValidator, getProgressMonitor, getSystemErrorMessage, getTestButton, getTitle, handleEvent, hardClose, okToClose, pack, performHelp, processAdd, processBrowse, processCancel, processDetails, processTest, publicConvertHeightInCharsToPixels, publicConvertWidthInCharsToPixels, restoreEnableState, restoreUIState, run, run, saveEnableStateAndSet, saveUIState, setAddButtonLabel, setAddButtonToolTipText, setBrowseButtonLabel, setBrowseButtonToolTipText, setBusyCursor, setCancelButtonLabel, setCancelButtonToolTipText, setControl, setDescription, setDetailsButtonLabel, setDetailsButtonToolTipText, setDisplayCursor, setDisplayCursor, setErrorMessage, setErrorMessage, setErrorMessage, setHelp, setHelp, setImageDescriptor, setInitialOKButtonEnabledState, setMessage, setMessage, setMinimumSize, setNeedsProgressMonitor, setOkButtonLabel, setOkButtonToolTipText, setOutputObject, setOutputObjectValidator, setPageComplete, setShowAddButton, setShowBrowseButton, setShowDetailsButton, setShowOkButton, setShowTestButton, setTestButtonLabel, setTestButtonToolTipText, setTitle, setVisible, wasCancelled |
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
form
protected SystemConnectionForm form
parentHelpId
protected String parentHelpId
SystemUpdateConnectionDialog
public SystemUpdateConnectionDialog(Shell shell)
- Constructor for SystemUpdateConnectionDialog
getForm
public SystemConnectionForm getForm()
- Overrride this if you want to supply your own form. This may be called
multiple times so please only instantatiate if the form instance variable
is null, and then return the form instance variable.
- See Also:
SystemConnectionForm
createMessageLine
protected ISystemMessageLine createMessageLine(Composite c)
- Create message line. Intercept so we can set msg line of form.
- Overrides:
createMessageLine
in class SystemPromptDialog
getInitialFocusControl
protected Control getInitialFocusControl()
- Description copied from class:
SystemPromptDialog
- Return the Control to be given initial focus.
Child classes must override this, but can return null.
- Specified by:
getInitialFocusControl
in class SystemPromptDialog
- See Also:
SystemPromptDialog.getInitialFocusControl()
createInner
protected Control createInner(Composite parent)
- Description copied from class:
SystemPromptDialog
- Called by createContents method.
Create this dialog's widgets inside a composite.
Child classes must override this.
- Specified by:
createInner
in class SystemPromptDialog
- See Also:
SystemPromptDialog.createInner(Composite)
setInputObject
public void setInputObject(Object inputObject)
- Override of parent. Must pass selected object onto the form for initializing fields.
Called by SystemDialogAction's default run() method after dialog instantiated.
- Specified by:
setInputObject
in interface ISystemPromptDialog
- Overrides:
setInputObject
in class SystemPromptDialog
processOK
protected boolean processOK()
- Called when user presses OK button.
Return true to close dialog.
Return false to not close dialog.
- Overrides:
processOK
in class SystemPromptDialog
systemTypeSelected
public void systemTypeSelected(String systemType,
boolean duringInitialization)
- Event: the user has selected a system type.
- Specified by:
systemTypeSelected
in interface ISystemConnectionFormCaller
- Parameters:
systemType
- the type of system selectedduringInitialization
- true if this is being set at page initialization time versus selected by the user
Copyright © 2005 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.