iSeries Remote Systems
v6.0.1

com.ibm.etools.iseries.core.ui.widgets
Class ISeriesIFSFolderCombo

java.lang.Object
  extended byorg.eclipse.swt.widgets.Widget
      extended byorg.eclipse.swt.widgets.Control
          extended byorg.eclipse.swt.widgets.Scrollable
              extended byorg.eclipse.swt.widgets.Composite
                  extended bycom.ibm.etools.systems.files.ui.widgets.SystemRemoteFolderCombo
                      extended bycom.ibm.etools.iseries.core.ui.widgets.ISeriesIFSFolderCombo
All Implemented Interfaces:
Drawable, com.ibm.etools.systems.core.ui.widgets.ISystemCombo, com.ibm.etools.systems.files.ui.ISystemFileConstants

public class ISeriesIFSFolderCombo
extends com.ibm.etools.systems.files.ui.widgets.SystemRemoteFolderCombo

This is an optimization of SystemRemoteFolderCombo specifically for iSeries IFS folders. It restricts the connections to iSeries connections.

This re-usable widget is for selecting a new or previously specified folder path within a given connection.

Unlike SystemQualifiedRemoteFolderCombo, this widget does not combine the connection name with the folder name. That means the connection must be passed in as a parameter, in order to scope what connections are shown when Browse is pressed. Since the history of the dropdown does not include the connection, it is assumed that all items in the history come from the same connection. Sometimes, as in a filter string dialog, the connection is not that important, in which case you can scope it by subsystemFactoryId instead.

Because this combo only deals with strings, versus IRemoteFile, it is left to the caller to interpret that string as desired.

The composite is layed as follows:


   Folder: ______________v  Browse...
 


Field Summary
static String copyright
           
 
Fields inherited from class org.eclipse.swt.widgets.Control
handle
 
Fields inherited from interface com.ibm.etools.systems.files.ui.ISystemFileConstants
ACTION_ADDFILEFILTERSTRING, ACTION_ID, ACTION_NEWFILEFILTER, ACTION_NEWFILEFILTERSTRING, ACTION_NEWNESTEDFILEFILTER, ACTION_SELECTFILETYPES, ACTION_UPDATEFILEFILTER, ACTION_UPDATEFILEFILTERSTRING, ICON_DIR, ICON_EXT, ICON_PATH, ICON_SUFFIX, PLUGIN_ID, PREFIX, RESID_CHGFILEFILTER_TITLE, RESID_CHGFILEFILTERSTRING_TITLE, RESID_ENTER_OR_SELECT_FILE_ENTER_LABEL, RESID_ENTER_OR_SELECT_FILE_ENTER_TOOLTIP, RESID_ENTER_OR_SELECT_FILE_FILE_LABEL, RESID_ENTER_OR_SELECT_FILE_FILE_TOOLTIP, RESID_ENTER_OR_SELECT_FILE_PREFIX, RESID_ENTER_OR_SELECT_FILE_SELECT_TOOLTIP, RESID_ENTER_OR_SELECT_FILE_TITLE, RESID_ENTER_OR_SELECT_FILE_VERBAGE_LABEL, RESID_FILEFILTER_FILE_ROOT, RESID_FILEFILTER_FOLDER_ROOT, RESID_FILEFILTER_NAME_ROOT, RESID_FILEFILTER_ROOT, RESID_FILEFILTER_STRING_ROOT, RESID_FILEFILTERSTRING_BYFILENAME_ROOT, RESID_FILEFILTERSTRING_BYFILETYPES_ROOT, RESID_FILEFILTERSTRING_FILE_ROOT, RESID_FILEFILTERSTRING_FOLDER_ROOT, RESID_FILEFILTERSTRING_INCFILES_ROOT, RESID_FILEFILTERSTRING_INCFILESONLY_ROOT, RESID_FILEFILTERSTRING_INCFOLDERS_ROOT, RESID_FILEFILTERSTRING_ROOT, RESID_FILEFILTERSTRING_SELECTTYPES_ROOT, RESID_FILEFILTERSTRING_TEST_ROOT, RESID_FILEFILTERSTRING_TYPES_ROOT, RESID_FILTER_DRIVES, RESID_FILTER_HOME, RESID_FILTER_MYHOME, RESID_FILTER_ROOTFILES, RESID_FILTER_ROOTFOLDERS, RESID_FILTER_ROOTS, RESID_FILTER_USERHOME, RESID_HOMEPROMPT_PROMPT_ROOT, RESID_HOMEPROMPT_TITLE, RESID_HOMEPROMPT_VERBAGE, RESID_NEWFILEFILTER_PAGE1_DESCRIPTION, RESID_NEWFILEFILTER_PAGE1_TITLE, RESID_NEWFILTERSTRING_PAGE1_DESCRIPTION, RESID_NEWFILTERSTRING_PAGE1_TITLE, RESID_NEWFILTERSTRING_TITLE, RESID_PP_FILE_HIDDEN_ROOT, RESID_PP_FILE_MODIFIED_ROOT, RESID_PP_FILE_NAME_ROOT, RESID_PP_FILE_PATH_ROOT, RESID_PP_FILE_READABLE_ROOT, RESID_PP_FILE_READONLY_ROOT, RESID_PP_FILE_ROOT, RESID_PP_FILE_SIZE_ROOT, RESID_PP_FILE_SIZE_VALUE, RESID_PP_FILE_TITLE, RESID_PP_FILE_TYPE_FILE_VALUE, RESID_PP_FILE_TYPE_FOLDER_VALUE, RESID_PP_FILE_TYPE_ROOT, RESID_PP_FILE_TYPE_ROOT_VALUE, RESID_PP_FILE_WRITABLE_ROOT, RESID_PREFIX, RESID_PROPERTY_FILE_FILTER_VALUE, RESID_SELECTDIRECTORY_SELECT, RESID_SELECTDIRECTORY_TITLE, RESID_SELECTDIRECTORY_VERBAGE, RESID_SELECTFILE_SELECT, RESID_SELECTFILE_TITLE, RESID_SELECTFILE_VERBAGE, WIDGET_BROWSE_ROOT, WIDGET_FOLDER_ROOT, WIDGET_ID
 
Fields inherited from interface com.ibm.etools.systems.core.ui.widgets.ISystemCombo
Copyright
 
Constructor Summary
ISeriesIFSFolderCombo(Composite parent, int style, String historyKey, boolean readOnly)
          Constructor
 
Methods inherited from class com.ibm.etools.systems.files.ui.widgets.SystemRemoteFolderCombo
addBrowseActionCompleteListener, addBrowseButtonSelectionListener, addModifyListener, addOurButtonSelectionListener, addSelectionListener, clearSelection, clearTextSelection, createPushButton, createPushButton, getBrowseAction, getBrowseButton, getCombo, getFolderCombo, getFolderLabel, getHistory, getHistoryCombo, getItems, getSelectionIndex, getSystemConnection, getText, notifyBrowseActionCompleteListeners, prepareComposite, removeBrowseActionCompleteListener, removeBrowseButtonSelectionListener, removeModifyListener, removeSelectionListener, select, setAutoUpperCase, setBrowseButtonFocus, setBrowseButtonToolTipText, setButtonToolTipText, setEnabled, setFocus, setItems, setSelectionIndex, setShowNewConnectionPrompt, setSubSystem, setSystemConnection, setSystemType, setSystemTypes, setText, setTextLimit, setToolTipText, setWidthHint, updateHistory, updateHistory
 
Methods inherited from class org.eclipse.swt.widgets.Composite
checkSubclass, computeSize, getChildren, getLayout, getTabList, layout, layout, setLayout, setTabList
 
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getVerticalBar
 
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addFocusListener, addHelpListener, addKeyListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addPaintListener, addTraverseListener, computeSize, forceFocus, getAccessible, getBackground, getBorderWidth, getBounds, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, redraw, redraw, removeControlListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removePaintListener, removeTraverseListener, setBackground, setBounds, setBounds, setCapture, setCursor, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setSize, setSize, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update
 
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

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

ISeriesIFSFolderCombo

public ISeriesIFSFolderCombo(Composite parent,
                             int style,
                             String historyKey,
                             boolean readOnly)
Constructor

Parameters:
parent - Parent composite
style - SWT style flags for overall composite widget
historyKey - A string identifying the key into the user preferences where this combo's history will be stored.
readOnly - True if the combo box is not to allow user editing.
See Also:
SystemRemoteFolderCombo.setSystemConnection(SystemConnection)

iSeries Remote Systems
v6.0.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.