Remote Systems
v6.4.1

com.ibm.etools.systems.launch.sourceLookup
Class RemoteSourceContainerSelectionDialog

java.lang.Object
  extended byorg.eclipse.jface.dialogs.Dialog
      extended bycom.ibm.etools.systems.core.ui.dialogs.SystemPromptDialog
          extended bycom.ibm.etools.systems.launch.sourceLookup.RemoteSourceContainerSelectionDialog
All Implemented Interfaces:
ISystemMessageLine, ISystemPromptDialog, IUniversalLaunchConstants, Runnable

public class RemoteSourceContainerSelectionDialog
extends SystemPromptDialog
implements IUniversalLaunchConstants

See Also:
Serialized Form

Field Summary
static String Copyright
           
 
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, copyright, 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
 
Fields inherited from interface com.ibm.etools.systems.launch.IUniversalLaunchConstants
ATTR_PREFIX, ATTR_SYSTEM_CONNECTION_ALIAS_NAME, ATTR_SYSTEM_CONNECTION_PROFILE_NAME, BROWSE, BROWSEPROMPT, DEBUG_MODE, HISTORY_PREFIX, ICON_EXT, ICON_ROOT, ICON_SOURCELOCATOR_RSE, ICON_SOURCELOCATOR_RSE_ID, ICON_SOURCELOCATOR_RSE_ROOT, ICON_SUFFIX, LABEL, LAUNCH_GENERIC_PREFIX, PLUGIN_ID, PREFIX, REMOTEBUILD_EXPORT_LABEL, REMOTEBUILD_EXPORT_ROOT, REMOTEBUILD_EXPORT_TOOLTIP, REMOTEBUILD_PROGRAM, REMOTEBUILD_PROJECT, REMOTEBUILD_PROJECT_TOOLTIP, REMOTEBUILD_PROJECTCHKBOX, REMOTEEXTTOOLS_CONNECTION_INVALID, REMOTEEXTTOOLS_PROJECT_INVALID, REMOTEEXTTOOLS_WORKINGDIR_INVALID, REMOTEPROGRAM_CONNECTION, REMOTEPROGRAM_CONNECTIONS_LABEL, REMOTEPROGRAM_CONNECTIONS_TOOLTIP, REMOTEPROGRAM_EXPORT_LABEL, REMOTEPROGRAM_EXPORT_ROOT, REMOTEPROGRAM_EXPORT_TOOLTIP, REMOTEPROGRAM_PROGRAM, REMOTESOURCECONTIANER_ARCHIVE_ROOT, REMOTESOURCECONTIANER_DOWNLOAD, REMOTESOURCECONTIANER_FOLDER_ROOT, REMOTESOURCECONTIANER_LOOKUP, REMOTETOOLS_TABS_DEBUG_PREFIX, REMOTETOOLS_TABS_MAIN, REMOTETOOLS_TABS_MAIN_EXPORT_BROWSE_ROOT, REMOTETOOLS_TABS_MAIN_EXPORT_BROWSE_TOOLTIP, REMOTETOOLS_TABS_MAIN_EXPORT_DIALOG_ROOT, REMOTETOOLS_TABS_MAIN_EXPORT_DIALOG_TITLE, REMOTETOOLS_TABS_MAIN_EXPORT_LABEL, REMOTETOOLS_TABS_MAIN_EXPORT_ROOT, REMOTETOOLS_TABS_MAIN_EXPORT_TOOLTIP, REMOTETOOLS_TABS_MAIN_PROJECT_BROWSE_DIALOG_ROOT, REMOTETOOLS_TABS_MAIN_PROJECT_BROWSE_ROOT, REMOTETOOLS_TABS_MAIN_PROJECT_CHECK_ROOT, REMOTETOOLS_TABS_MAIN_PROJECT_ROOT, REMOTETOOLS_TABS_PREFIX, RESID_LAUNCH_PREFRENCE_DEBUG_ROOT, RESID_LAUNCH_PREFRENCE_PREFIX, RESID_PREFIX, RESID_REMOTEBUILD_PREFIX, RESID_REMOTEPROGRAM_PREFIX, RESID_REMOTESOURCECONTAINER_PREFIX, RESID_UI_PREFIX, RSE_ARCHIVE_SOURCECONTAINER_TYPE, RSE_DIRECTORY_SOURCECONTAINER_TYPE, RSE_SOURCECONTAINER_ARCHIVE_SELECTION_INVALID, RSE_SOURCECONTAINER_FOLDER_SELECTION_INVALID, RUN_MODE, SHOWINERRORLIST, TITLE, TOOLTIP
 
Constructor Summary
RemoteSourceContainerSelectionDialog(Shell shell, int style, String pathString, boolean caseSensitive, boolean showOnlyDirectory, boolean isMultiSelection, boolean showAnyConnection, SystemConnection connection, String root)
           
RemoteSourceContainerSelectionDialog(Shell shell, int style, String pathString, boolean caseSensitive, boolean showOnlyDirectory, boolean isMultiSelection, boolean showAnyConnection, SystemConnection connection, String root, ResourceBundle resourceBundle, String resourceKey)
           
 
Method Summary
 IRemoteFile[] browseFolder()
           
protected  Control createInner(Composite parent)
          Called by createContents method.
protected  Control getInitialFocusControl()
          Return the Control to be given initial focus.
 IRemoteFile[] getSelections()
          Return selected source locations
 boolean isCaseSensitive()
           
protected  IRemoteFile[] parseSelections()
          Return selected source locations
protected  boolean processOK()
          To be overridden by children.
 void setSelectionValidator(IValidatorRemoteSelection selectionValidator)
           
 
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, createMessageLine, 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, setInputObject, 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
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

RemoteSourceContainerSelectionDialog

public RemoteSourceContainerSelectionDialog(Shell shell,
                                            int style,
                                            String pathString,
                                            boolean caseSensitive,
                                            boolean showOnlyDirectory,
                                            boolean isMultiSelection,
                                            boolean showAnyConnection,
                                            SystemConnection connection,
                                            String root)

RemoteSourceContainerSelectionDialog

public RemoteSourceContainerSelectionDialog(Shell shell,
                                            int style,
                                            String pathString,
                                            boolean caseSensitive,
                                            boolean showOnlyDirectory,
                                            boolean isMultiSelection,
                                            boolean showAnyConnection,
                                            SystemConnection connection,
                                            String root,
                                            ResourceBundle resourceBundle,
                                            String resourceKey)
Method Detail

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

browseFolder

public IRemoteFile[] browseFolder()

setSelectionValidator

public void setSelectionValidator(IValidatorRemoteSelection selectionValidator)

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

getSelections

public IRemoteFile[] getSelections()
Return selected source locations

Returns:

parseSelections

protected IRemoteFile[] parseSelections()
                                 throws SystemMessageException
Return selected source locations

Returns:
Throws:
SystemMessageException

isCaseSensitive

public boolean isCaseSensitive()

processOK

protected boolean processOK()
To be overridden by children. Called when user presses OK button. Child dialog class should set output object. Return true to close dialog. Return false to not close dialog.

Overrides:
processOK in class SystemPromptDialog

Remote Systems
v6.4.1

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.