public class FactoryInformationBean extends AbstractPropertyChange implements ConnectionStateListener, org.eclipse.core.runtime.IAdaptable
| Modifier and Type | Class and Description |
|---|---|
static class |
FactoryInformationBean.State |
| Modifier and Type | Field and Description |
|---|---|
static String |
PROP_DATA |
static String |
PROP_STATE |
| Constructor and Description |
|---|
FactoryInformationBean(FactoryInformation factoryInformation,
ConnectionService service) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
<T> T |
getAdapter(Class<T> adapter) |
org.eclipse.core.databinding.observable.set.WritableSet |
getConfigurations() |
FactoryInformation |
getFactoryInformation() |
ConnectionService |
getService() |
FactoryInformationBean.State |
getState() |
void |
loadConfiguration() |
protected void |
setError(Exception e) |
protected void |
setFactoryInformation(FactoryInformation factoryInformation) |
void |
setState(FactoryInformationBean.State state) |
void |
stateChange(Connection connection,
ConnectionState state,
Throwable error)
Notify a state change
|
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListenerpublic static final String PROP_DATA
public static final String PROP_STATE
public FactoryInformationBean(FactoryInformation factoryInformation, ConnectionService service)
public ConnectionService getService()
public void setState(FactoryInformationBean.State state)
public FactoryInformationBean.State getState()
public void loadConfiguration()
protected void setError(Exception e)
protected void setFactoryInformation(FactoryInformation factoryInformation)
public FactoryInformation getFactoryInformation()
public org.eclipse.core.databinding.observable.set.WritableSet getConfigurations()
public void dispose()
public void stateChange(Connection connection, ConnectionState state, Throwable error)
ConnectionStateListenerstateChange in interface ConnectionStateListenerconnection - the connection that changedstate - the new state of the connectionerror - some error information that lead to the new state (can be null if it was not an error)public <T> T getAdapter(Class<T> adapter)
getAdapter in interface org.eclipse.core.runtime.IAdaptableCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.