Remote Systems
v6.4.1

com.ibm.etools.systems.files.ui.dialogs
Class SystemEnterOrSelectRemoteFileDialog

java.lang.Object
  extended byorg.eclipse.jface.dialogs.Dialog
      extended bycom.ibm.etools.systems.core.ui.dialogs.SystemPromptDialog
          extended bycom.ibm.etools.systems.files.ui.dialogs.SystemSelectRemoteFileOrFolderDialog
              extended bycom.ibm.etools.systems.files.ui.dialogs.SystemEnterOrSelectRemoteFileDialog
All Implemented Interfaces:
ISystemMessageLine, ISystemPromptDialog, Runnable

public class SystemEnterOrSelectRemoteFileDialog
extends SystemSelectRemoteFileOrFolderDialog

A dialog for either selecting or entering a file name. Use getRemotePath() to get the absolute remote path of what the user selected or entered. Note that if the user enters a file name, then the output object will be its parent folder, since the file with that name may not exist.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.etools.systems.files.ui.dialogs.SystemSelectRemoteFileOrFolderDialog
copyright, FILE_MODE, FOLDER_MODE, outputConnection
 
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
 
Constructor Summary
SystemEnterOrSelectRemoteFileDialog(Shell shell)
          Creates the dialog with the parent shell.
SystemEnterOrSelectRemoteFileDialog(Shell shell, String title)
          Creates a dialog under the parent shell with the given title.
 
Method Summary
protected  SystemSelectRemoteFileOrFolderForm getForm(boolean fileMode)
          Creates the select or enter file form.
 boolean getMultipleSelectionMode()
          Always returns false.
 String getRemotePath()
          Returns the remote path.
 void setMultipleSelectionMode(boolean multiple)
          Has no effect.
 
Methods inherited from class com.ibm.etools.systems.files.ui.dialogs.SystemSelectRemoteFileOrFolderDialog
addViewerFilter, close, createInner, createMessageLine, enableAddMode, enableAddMode, getInitialFocusControl, getSelectedConnection, getSelectedObject, getSelectedObjects, getSystemViewForm, processAdd, processDetails, processOK, setAllowFolderSelection, setAllowForMultipleParents, setAutoExpandDepth, setDefaultConnection, setFileTypes, setFileTypes, setMessage, setPageComplete, setPreSelection, setRestrictFolders, setRootFolder, setRootFolder, setSelectionTreeToolTipText, setSelectionValidator, setShowNewConnectionPrompt, setShowPropertySheet, setShowPropertySheet, setSystemConnection, setSystemTypes
 
Methods inherited from class com.ibm.etools.systems.core.ui.dialogs.SystemPromptDialog
aboutToStart, addFillerLine, addGrowableFillerLine, addSeparatorLine, adjustButtonWidth, applyMnemonics, buttonPressed, clearErrorMessage, clearMessage, 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, processBrowse, processCancel, 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, setMinimumSize, setNeedsProgressMonitor, setOkButtonLabel, setOkButtonToolTipText, setOutputObject, setOutputObjectValidator, 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
 

Constructor Detail

SystemEnterOrSelectRemoteFileDialog

public SystemEnterOrSelectRemoteFileDialog(Shell shell)
Creates the dialog with the parent shell.

Parameters:
shell - the parent shell.

SystemEnterOrSelectRemoteFileDialog

public SystemEnterOrSelectRemoteFileDialog(Shell shell,
                                           String title)
Creates a dialog under the parent shell with the given title.

Parameters:
shell - the parent shell.
title - the title for the dialog.
Method Detail

getMultipleSelectionMode

public boolean getMultipleSelectionMode()
Always returns false.

Overrides:
getMultipleSelectionMode in class SystemSelectRemoteFileOrFolderDialog
See Also:
SystemSelectRemoteFileOrFolderDialog.getMultipleSelectionMode()

setMultipleSelectionMode

public void setMultipleSelectionMode(boolean multiple)
Has no effect. Multiple selection mode is not allowed.

Overrides:
setMultipleSelectionMode in class SystemSelectRemoteFileOrFolderDialog
See Also:
SystemSelectRemoteFileOrFolderDialog.setMultipleSelectionMode(boolean)

getForm

protected SystemSelectRemoteFileOrFolderForm getForm(boolean fileMode)
Creates the select or enter file form. Sets the verbage of the form.

Overrides:
getForm in class SystemSelectRemoteFileOrFolderDialog
See Also:
SystemSelectRemoteFileOrFolderDialog.getForm(boolean)

getRemotePath

public String getRemotePath()
Returns the remote path.

Returns:
the remote path.

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.