Remote Systems
v6.4.1

com.ibm.etools.systems.core.resources
Class CombineDialog

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.core.resources.CombineDialog
All Implemented Interfaces:
ISystemMessageLine, ISystemPromptDialog, Runnable
Direct Known Subclasses:
AddToArchiveDialog

public class CombineDialog
extends SystemSelectRemoteFileOrFolderDialog

A dialog to select or enter archive files.

See Also:
Serialized Form

Field Summary
protected  CombineForm form
           
protected  boolean prePop
           
 
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
CombineDialog(Shell shell)
          Constructor.
CombineDialog(Shell shell, String title)
          Constructor when you want to supply your own title.
CombineDialog(Shell shell, String title, boolean prePopSelection)
          Constructor when you want to supply your own title.
CombineDialog(Shell shell, String title, boolean prePopSelection, String[] relativePaths)
          Constructor when you want to supply your own title.
 
Method Summary
protected  SystemSelectRemoteFileOrFolderForm getForm(boolean fileMode)
          Private method
 Object getOutputObject()
          For explicitly getting output object after dialog is dismissed.
 void setDisallowedArchiveExtensions(String[] extensions)
          Sets the extensions to disallow.
 void setLocationPrompt(String prompt)
           
 void setNameAndTypePrompt(String prompt)
           
 void setShowLocationPrompt(boolean show)
           
 
Methods inherited from class com.ibm.etools.systems.files.ui.dialogs.SystemSelectRemoteFileOrFolderDialog
addViewerFilter, close, createInner, createMessageLine, enableAddMode, enableAddMode, getInitialFocusControl, getMultipleSelectionMode, getSelectedConnection, getSelectedObject, getSelectedObjects, getSystemViewForm, processAdd, processDetails, processOK, setAllowFolderSelection, setAllowForMultipleParents, setAutoExpandDepth, setDefaultConnection, setFileTypes, setFileTypes, setMessage, setMultipleSelectionMode, 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, 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
 

Field Detail

form

protected CombineForm form

prePop

protected boolean prePop
Constructor Detail

CombineDialog

public CombineDialog(Shell shell)
Constructor.

Parameters:
shell - the parent shell.

CombineDialog

public CombineDialog(Shell shell,
                     String title)
Constructor when you want to supply your own title.

Parameters:
shell - The shell to hang the dialog off of
title - The title to give the dialog

CombineDialog

public CombineDialog(Shell shell,
                     String title,
                     boolean prePopSelection)
Constructor when you want to supply your own title.

Parameters:
shell - The shell to hang the dialog off of
title - The title to give the dialog
prePopSelection - Whether or not the destination name and type will be prepopulated with the selection, or given a generic name and type.

CombineDialog

public CombineDialog(Shell shell,
                     String title,
                     boolean prePopSelection,
                     String[] relativePaths)
Constructor when you want to supply your own title.

Parameters:
shell - The shell to hang the dialog off of
title - The title to give the dialog
prePopSelection - Whether or not the destination name and type will be prepopulated with the selection, or given a generic name and type.
relativePaths - The relative paths to be inserted as choices in the relative path combo box. Null if you wish to disable this feature.
Method Detail

getForm

protected SystemSelectRemoteFileOrFolderForm getForm(boolean fileMode)
Description copied from class: SystemSelectRemoteFileOrFolderDialog
Private method. * Get the contents.

Overrides:
getForm in class SystemSelectRemoteFileOrFolderDialog

getOutputObject

public Object getOutputObject()
Description copied from class: SystemPromptDialog
For explicitly getting output object after dialog is dismissed. Set by the dialog's processOK method.

Specified by:
getOutputObject in interface ISystemPromptDialog
Overrides:
getOutputObject in class SystemPromptDialog

setShowLocationPrompt

public void setShowLocationPrompt(boolean show)

setLocationPrompt

public void setLocationPrompt(String prompt)

setNameAndTypePrompt

public void setNameAndTypePrompt(String prompt)

setDisallowedArchiveExtensions

public void setDisallowedArchiveExtensions(String[] extensions)
Sets the extensions to disallow.

Parameters:
extensions - the archive extensions that will not be allowed.

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.