RSE
Release 2.0

org.eclipse.rse.files.ui.widgets
Class SystemRemoteConnectionCombo

java.lang.Object
  extended by org.eclipse.swt.widgets.Widget
      extended by org.eclipse.swt.widgets.Control
          extended by org.eclipse.swt.widgets.Scrollable
              extended by org.eclipse.swt.widgets.Composite
                  extended by org.eclipse.rse.ui.widgets.SystemHostCombo
                      extended by org.eclipse.rse.files.ui.widgets.SystemRemoteConnectionCombo
All Implemented Interfaces:
EventListener, ISelectionProvider, ISystemResourceChangeListener, ISystemShellProvider, ISystemCombo, DisposeListener, Drawable, org.eclipse.swt.internal.SWTEventListener

public class SystemRemoteConnectionCombo
extends SystemHostCombo

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


Field Summary
 
Fields inherited from class org.eclipse.rse.ui.widgets.SystemHostCombo
connectionCombo, connectionLabel, listeningForConnectionEvents, newButton, showLabel, showNewButton, showQualifiedNames
 
Fields inherited from class org.eclipse.swt.widgets.Composite
embeddedHandle
 
Fields inherited from class org.eclipse.swt.widgets.Widget
handle
 
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, IHost defaultConnection, boolean showNewButton)
          Constructor when you don't care about the style.
SystemRemoteConnectionCombo(Composite parent, int style, IHost defaultConnection, boolean showNewButton)
          Constructor when you want to set the style.
 
Method Summary
 
Methods inherited from class org.eclipse.rse.ui.widgets.SystemHostCombo
addModifyListener, addNewButtonSelectionListener, addOurButtonSelectionListener, addOurConnectionSelectionListener, addSelectionChangedListener, addSelectionListener, clearSelection, clearTextSelection, createCombo, createConnectionCombo, createPushButton, createPushButton, getCombo, getConnections, getGridColumns, getHost, getItems, getNewButton, getNewConnectionAction, getPromptLabel, getSelection, getSelectionIndex, getText, init, init, listenToConnectionEvents, populateConnectionCombo, populateConnectionCombo, populateConnectionCombo, populateConnectionCombo, populateConnectionCombo, populateConnectionCombo, prepareComposite, refreshConnections, removeModifyListener, removeNewButtonSelectionListener, removeSelectionChangedListener, removeSelectionListener, select, select, setAutoUpperCase, setBusyCursor, setButtonToolTipText, setButtonWidthHint, setButtonWidthHint, setConnections, setConnectionToolTipText, setEnabled, setFocus, setItems, setLabel, setNewButtonFocus, setNewButtonToolTipText, setSelection, setSelectionIndex, setToolTipText, setWidthHint, sub, systemResourceChanged, widgetDisposed
 
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, computeSize, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setLayout, setLayoutDeferred, setTabList
 
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getBorderWidth, getHorizontalBar, getVerticalBar
 
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBounds, getCursor, getDragDetect, 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, removeDragDetectListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, 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
 
Methods inherited from interface org.eclipse.rse.ui.model.ISystemShellProvider
getShell
 

Constructor Detail

SystemRemoteConnectionCombo

public SystemRemoteConnectionCombo(Composite parent,
                                   int style,
                                   IHost 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,
                                   IHost 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

RSE
Release 2.0

Copyright (c) IBM Corporation and others 2000, 2007. All Rights Reserved.