public class VisItConnectionAdapter extends ConnectionAdapter<gov.lbnl.visit.swt.VisItSwtConnection>
ConnectionAdapter
that wraps a
VisItSwtConnection
. It handles connecting and disconnecting as well
as updating the required connection properties.iComponentListener
Constructor and Description |
---|
VisItConnectionAdapter() |
Modifier and Type | Method and Description |
---|---|
int |
getNextWindowId()
Gets the next available window ID from the underlying connection.
|
boolean |
setConnectionProperties(java.util.List<Entry> row)
Sets the connection's required properties based on the provided list of
Entry s (usually a row from a ConnectionTable ). |
connect, connect, disconnect, disconnect, getConnection, getConnectionProperty, getHost, getKey, getPort, getState, isRemote, register, setDescription, setId, setName
clone, copy, equals, getDescription, getId, getName, hashCode, unregister, update
getClass, notify, notifyAll, toString, wait, wait, wait
unregister, update
clone, equals, getDescription, getId, getName, hashCode
public boolean setConnectionProperties(java.util.List<Entry> row)
IConnectionAdapter
Entry
s (usually a row from a ConnectionTable
).
The associated connection should not be reset if the connection properties have changed.
setConnectionProperties
in interface IConnectionAdapter<gov.lbnl.visit.swt.VisItSwtConnection>
setConnectionProperties
in class ConnectionAdapter<gov.lbnl.visit.swt.VisItSwtConnection>
row
- The list of new connection properties.public int getNextWindowId()