Remote Systems
v6.4.1

com.ibm.etools.systems.files.ui.widgets
Class SystemRemoteConnectionCombo

java.lang.Object
  extended byComposite
      extended bycom.ibm.etools.systems.core.ui.widgets.SystemConnectionCombo
          extended bycom.ibm.etools.systems.files.ui.widgets.SystemRemoteConnectionCombo
All Implemented Interfaces:
EventListener, ISystemCombo, ISystemResourceChangeEvents, ISystemResourceChangeListener

public class SystemRemoteConnectionCombo
extends SystemConnectionCombo

A connection combo widget for universal connections. Includes remote Linux, Windows and Unix connections, and Local connections.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.etools.systems.core.ui.widgets.SystemConnectionCombo
connectionCombo, connectionLabel, copyright, listeningForConnectionEvents, newButton, showLabel, showNewButton, showQualifiedNames
 
Fields inherited from interface com.ibm.etools.systems.core.ui.widgets.ISystemCombo
Copyright
 
Fields inherited from interface com.ibm.etools.systems.model.ISystemResourceChangeEvents
EVENT_ADD, EVENT_ADD_FILTER_REFERENCE, EVENT_ADD_FILTERSTRING_REFERENCE, EVENT_ADD_MANY, EVENT_ADD_RELATIVE, EVENT_CHANGE_CHILDREN, EVENT_CHANGE_FILTER_REFERENCE, EVENT_CHANGE_FILTERSTRING_REFERENCE, EVENT_COLLAPSE_ALL, EVENT_COLLAPSE_SELECTED, EVENT_COMMAND_FINISHED, EVENT_COMMAND_HISTORY_UPDATE, EVENT_COMMAND_MESSAGE, EVENT_COMMAND_RUN, EVENT_COMMAND_SHELL_FINISHED, EVENT_COMMAND_SHELL_REMOVED, EVENT_COMPILE_COMMAND_RUN, EVENT_DELETE, EVENT_DELETE_FILTER_REFERENCE, EVENT_DELETE_FILTERSTRING_REFERENCE, EVENT_DELETE_MANY, EVENT_EXPAND_SELECTED, EVENT_ICON_CHANGE, EVENT_MOVE_FILTER_REFERENCES, EVENT_MOVE_FILTERSTRING_REFERENCES, EVENT_MOVE_MANY, EVENT_MUST_COLLAPSE, EVENT_PROPERTY_CHANGE, EVENT_PROPERTYSHEET_UPDATE, EVENT_REFRESH, EVENT_REFRESH_REMOTE, EVENT_REFRESH_SELECTED, EVENT_REFRESH_SELECTED_FILTER, EVENT_REFRESH_SELECTED_PARENT, EVENT_RENAME, EVENT_RENAME_FILTER_REFERENCE, EVENT_REPLACE_CHILDREN, EVENT_REVEAL_AND_SELECT, EVENT_SEARCH_FINISHED, EVENT_SELECT, EVENT_SELECT_EXPAND, EVENT_SELECT_REMOTE, PROPERTYSHEET_UPDATE_EVENT
 
Constructor Summary
SystemRemoteConnectionCombo(Composite parent)
          Constructor when you don't care about the style or default connection, and do want to show the New button.
SystemRemoteConnectionCombo(Composite parent, int style, SystemConnection defaultConnection, boolean showNewButton)
          Constructor when you want to set the style.
SystemRemoteConnectionCombo(Composite parent, SystemConnection defaultConnection, boolean showNewButton)
          Constructor when you don't care about the style.
 
Methods inherited from class com.ibm.etools.systems.core.ui.widgets.SystemConnectionCombo
addModifyListener, addNewButtonSelectionListener, addOurButtonSelectionListener, addOurConnectionSelectionListener, addSelectionChangedListener, addSelectionListener, clearSelection, clearTextSelection, createCombo, createConnectionCombo, createPushButton, createPushButton, getCombo, getConnections, getGridColumns, getItems, getNewButton, getNewConnectionAction, getPromptLabel, getSelection, getSelectionIndex, getSystemConnection, getText, init, init, listenToConnectionEvents, populateConnectionCombo, populateConnectionCombo, populateConnectionCombo, populateConnectionCombo, populateConnectionCombo, populateConnectionCombo, prepareComposite, refreshConnections, removeModifyListener, removeNewButtonSelectionListener, removeSelectionChangedListener, removeSelectionListener, select, select, setAutoUpperCase, setBusyCursor, setButtonToolTipText, setButtonWidthHint, setConnections, setConnectionToolTipText, setEnabled, setFocus, setItems, setLabel, setNewButtonFocus, setNewButtonToolTipText, setSelection, setSelectionIndex, setToolTipText, setWidthHint, sub, systemResourceChanged, widgetDisposed
 
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.model.ISystemResourceChangeListener
getShell
 

Constructor Detail

SystemRemoteConnectionCombo

public SystemRemoteConnectionCombo(Composite parent,
                                   int style,
                                   SystemConnection defaultConnection,
                                   boolean showNewButton)
Constructor when you want to set the style.

Parameters:
parent - Parent composite.
style - SWT style flags for overall composite widget. Typically just pass SWT.NULL.
defaultConnection - the system connection to preselect. Pass null to preselect first connection.
showNewButton - true if a New... button is to be included in this composite.

SystemRemoteConnectionCombo

public SystemRemoteConnectionCombo(Composite parent,
                                   SystemConnection defaultConnection,
                                   boolean showNewButton)
Constructor when you don't care about the style. Defaults to SWT.NULL.

Parameters:
parent - Parent composite.
defaultConnection - the system connection to preselect. Pass null to preselect first connection.
showNewButton - true if a New... button is to be included in this composite.

SystemRemoteConnectionCombo

public SystemRemoteConnectionCombo(Composite parent)
Constructor when you don't care about the style or default connection, and do want to show the New button. This is the most common case.

Parameters:
parent - Parent composite

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.