public class ServerDescriptorImpl extends AbstractPropertyChange implements ServerDescriptor
PROP_ERROR, PROP_RUNNING
Constructor and Description |
---|
ServerDescriptorImpl(org.eclipse.core.databinding.observable.Realm realm,
Hive hive,
Set<Export> exporters,
String labelAddition) |
Modifier and Type | Method and Description |
---|---|
protected void |
addEndpoint(ServerEndpointImpl endpoint) |
void |
createManagementInterface(org.eclipse.swt.widgets.Composite parent) |
void |
dispose() |
String |
getAdditionalLabel() |
org.eclipse.core.databinding.observable.set.IObservableSet |
getEndpoints() |
Throwable |
getError() |
Hive |
getHive() |
org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor() |
String |
getLabel() |
boolean |
hasManagementInterface() |
boolean |
isRunning() |
protected void |
removeEndpoint(ServerEndpointImpl endpoint) |
protected void |
setError(Throwable error) |
protected void |
setRunning(boolean running) |
void |
start() |
void |
stop() |
void |
throwMultiStatus(org.eclipse.core.runtime.MultiStatus ms) |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
public void dispose()
protected void setRunning(boolean running)
public boolean isRunning()
isRunning
in interface ServerLifecycle
public void start() throws org.eclipse.core.runtime.CoreException
start
in interface ServerLifecycle
org.eclipse.core.runtime.CoreException
public void stop() throws org.eclipse.core.runtime.CoreException
stop
in interface ServerLifecycle
org.eclipse.core.runtime.CoreException
public void throwMultiStatus(org.eclipse.core.runtime.MultiStatus ms) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public String getAdditionalLabel()
getAdditionalLabel
in interface ServerDescriptor
public String getLabel()
getLabel
in interface ServerDescriptor
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
getImageDescriptor
in interface ServerDescriptor
public org.eclipse.core.databinding.observable.set.IObservableSet getEndpoints()
getEndpoints
in interface ServerDescriptor
public Hive getHive()
getHive
in interface ServerDescriptor
public boolean hasManagementInterface()
hasManagementInterface
in interface ServerDescriptor
public void createManagementInterface(org.eclipse.swt.widgets.Composite parent)
createManagementInterface
in interface ServerDescriptor
protected void addEndpoint(ServerEndpointImpl endpoint)
protected void removeEndpoint(ServerEndpointImpl endpoint)
protected void setError(Throwable error)
public Throwable getError()
getError
in interface ServerLifecycle
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.