Remote Systems
v6.4.1

com.ibm.etools.systems.core.search
Class SystemSearchSelectFileTypesDialog

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

public class SystemSearchSelectFileTypesDialog
extends SystemSelectFileTypesDialog

File types selection dialog for the search page.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.etools.systems.core.ui.dialogs.SystemSelectFileTypesDialog
copyright, currentInput, initialSelections, instruction, listViewer, result, SIZING_SELECTION_WIDGET_HEIGHT, SIZING_SELECTION_WIDGET_WIDTH, TYPE_DELIMITER, userDefinedText
 
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
SystemSearchSelectFileTypesDialog(Shell shell, Collection currentTypes)
          Creates the dialog.
 
Method Summary
protected  void addUserDefinedEntries(List result)
          Add the currently-specified extensions.
protected  void checkInitialSelections()
          Visually checks the previously-specified elements in this dialog's list viewer.
protected  boolean processOK()
          User pressed OK.
protected  boolean validateFileType(String filename)
          Validate the user input for a file type
 
Methods inherited from class com.ibm.etools.systems.core.ui.dialogs.SystemSelectFileTypesDialog
createInner, createInstructionArea, getInitialFocusControl, getInput, getResult, setInstruction, setResult
 
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
 
Methods inherited from interface com.ibm.etools.systems.core.ui.messages.ISystemMessageLine
clearErrorMessage, clearMessage, getErrorMessage, getMessage, getSystemErrorMessage, setErrorMessage, setErrorMessage, setErrorMessage, setMessage, setMessage
 

Constructor Detail

SystemSearchSelectFileTypesDialog

public SystemSearchSelectFileTypesDialog(Shell shell,
                                         Collection currentTypes)
Creates the dialog.

Parameters:
shell - the shell.
currentTypes - types to preselect.
Method Detail

checkInitialSelections

protected void checkInitialSelections()
Description copied from class: SystemSelectFileTypesDialog
Visually checks the previously-specified elements in this dialog's list viewer.

Overrides:
checkInitialSelections in class SystemSelectFileTypesDialog
See Also:
SystemSelectFileTypesDialog.checkInitialSelections()

addUserDefinedEntries

protected void addUserDefinedEntries(List result)
Description copied from class: SystemSelectFileTypesDialog
Add the currently-specified extensions.

Overrides:
addUserDefinedEntries in class SystemSelectFileTypesDialog
See Also:
SystemSelectFileTypesDialog.addUserDefinedEntries(java.util.List)

processOK

protected boolean processOK()
Description copied from class: SystemSelectFileTypesDialog
User pressed OK.

Overrides:
processOK in class SystemSelectFileTypesDialog
See Also:
SystemPromptDialog.processOK()

validateFileType

protected boolean validateFileType(String filename)
Description copied from class: SystemSelectFileTypesDialog
Validate the user input for a file type

Overrides:
validateFileType in class SystemSelectFileTypesDialog
See Also:
SystemSelectFileTypesDialog.validateFileType(java.lang.String)

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.