public class ParaViewConnectionAdapter extends ConnectionAdapter<com.kitware.vtk.web.VtkWebClient>
ConnectionAdapter
that wraps a
VtkWebClient
. It handles connecting and disconnecting as well as
updating the required connection properties.iComponentListener
Constructor and Description |
---|
ParaViewConnectionAdapter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
findRelativePath(java.lang.String fullPath)
Determines the relative path for the full path with respect to the client
connection's data directory.
|
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<com.kitware.vtk.web.VtkWebClient>
setConnectionProperties
in class ConnectionAdapter<com.kitware.vtk.web.VtkWebClient>
row
- The list of new connection properties.public java.lang.String findRelativePath(java.lang.String fullPath)
fullPath
- The full path to the file.