|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
com.ibm.etools.systems.core.ui.widgets.SystemConnectionCombo
com.ibm.etools.iseries.core.ui.widgets.ISeriesConnectionCombo
This re-usable widget is for selecting an iSeries connection from the master list of connections. The list is subsettable by one or more system types. There is also the option of including a "New" button to the right of the connection dropdown, for the purpose of creating a new connection.
Without the New button, the composite is layed as follows:
Connection: ______________________v
With the New button, the composite is layed as follows:
Connection: ______________v New...
Field Summary | |
---|---|
static String |
copyright
|
Fields inherited from class com.ibm.etools.systems.core.ui.widgets.SystemConnectionCombo |
---|
connectionCombo, connectionLabel, listeningForConnectionEvents, newButton, showLabel, showNewButton, showQualifiedNames |
Fields inherited from class org.eclipse.swt.widgets.Control |
---|
handle |
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 | |
---|---|
ISeriesConnectionCombo(Composite parent)
Constructor when you don't care about the style or default connection, and do want to show the New button. |
|
ISeriesConnectionCombo(Composite parent,
int style,
ISeriesConnection defaultConnection,
boolean showNewButton)
Constructor when you want to set the style |
|
ISeriesConnectionCombo(Composite parent,
int style,
com.ibm.etools.systems.model.SystemConnection defaultConnection,
boolean showNewButton)
Constructor when you want to set the style |
|
ISeriesConnectionCombo(Composite parent,
ISeriesConnection defaultConnection,
boolean showNewButton)
Constructor when you don't care about the style. |
|
ISeriesConnectionCombo(Composite parent,
com.ibm.etools.systems.model.SystemConnection defaultConnection,
boolean showNewButton)
Constructor when you don't care about the style. |
Method Summary | |
---|---|
void |
addSelectionListener(ISeriesSearchPage aS400SearchPage)
Method addSelectionListener. |
ISeriesConnection |
getISeriesConnection()
Return the selected connection as an ISeriesConnection object. |
protected com.ibm.etools.systems.core.ui.actions.SystemNewConnectionAction |
getNewConnectionAction(Shell shell,
ISelectionProvider selectionProvider)
Overridable method. |
void |
lineUpWith(ISeriesBasePrompt otherWidget)
If a composite widget like this is used more than once on the same page, it is nice to line up the columns. |
void |
lineUpWith(ISeriesConnectionCombo otherWidget)
If a composite widget like this is used more than once on the same page, it is nice to line up the columns. |
void |
select(ISeriesConnection connection)
Select an iSeries connection from the dropdown |
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, 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, 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 |
---|
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.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 com.ibm.etools.systems.model.ISystemResourceChangeListener |
---|
getShell |
Field Detail |
public static final String copyright
Constructor Detail |
public ISeriesConnectionCombo(Composite parent, int style, com.ibm.etools.systems.model.SystemConnection defaultConnection, boolean showNewButton)
parent
- Parent compositestyle
- SWT style flags for overall composite widget. Typically just pass SWT.NULLdefaultConnection
- the system connection to preselect. Pass null to preselect first connection.showNewButton
- true if a New... button is to be included in this compositepublic ISeriesConnectionCombo(Composite parent, com.ibm.etools.systems.model.SystemConnection defaultConnection, boolean showNewButton)
parent
- Parent compositedefaultConnection
- the system connection to preselect. Pass null to preselect first connection.showNewButton
- true if a New... button is to be included in this compositepublic ISeriesConnectionCombo(Composite parent, int style, ISeriesConnection defaultConnection, boolean showNewButton)
parent
- Parent compositestyle
- SWT style flags for overall composite widget. Typically just pass SWT.NULLdefaultConnection
- the AS/400 connection to preselect. Pass null to preselect first connection.showNewButton
- true if a New... button is to be included in this compositepublic ISeriesConnectionCombo(Composite parent, ISeriesConnection defaultConnection, boolean showNewButton)
parent
- Parent compositedefaultConnection
- the AS/400 connection to preselect. Pass null to preselect first connection.showNewButton
- true if a New... button is to be included in this compositepublic ISeriesConnectionCombo(Composite parent)
parent
- Parent compositeMethod Detail |
public ISeriesConnection getISeriesConnection()
This returns null if there is no connection currently selected.
public void select(ISeriesConnection connection)
protected com.ibm.etools.systems.core.ui.actions.SystemNewConnectionAction getNewConnectionAction(Shell shell, ISelectionProvider selectionProvider)
public void lineUpWith(ISeriesBasePrompt otherWidget)
public void lineUpWith(ISeriesConnectionCombo otherWidget)
public void addSelectionListener(ISeriesSearchPage aS400SearchPage)
aS400SearchPage
-
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |