public class UiTopoOverlay extends Object
This base class does little more than provide a logger and an identifier. Subclasses will probably want to override some or all of the base methods to do useful things during the life-cycle of the overlay.
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log
Logger for this overlay.
|
| Constructor and Description |
|---|
UiTopoOverlay(String id)
Creates a new user interface topology view overlay descriptor, with
the given identifier.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Callback invoked when this overlay is activated.
|
Map<String,String> |
additionalLinkData(LinkEvent event)
Deprecated.
this is a temporary addition for Goldeneye (1.6) release,
and expected to be replaced in the Ibis (1.8) release
|
void |
deactivate()
Callback invoked when this overlay is deactivated.
|
void |
destroy()
Callback invoked to destroy this instance by cleaning up any
internal state ready for garbage collection.
|
String |
id()
Returns the identifier for this overlay.
|
void |
init()
Callback invoked to initialize this overlay, soon after creation.
|
boolean |
isActive()
Returns true if this overlay is currently active.
|
void |
modifyDeviceDetails(PropertyPanel pp,
DeviceId deviceId)
Callback to modify the contents of the details panel for
a selected device.
|
void |
modifyHostDetails(PropertyPanel pp,
HostId hostId)
Callback to modify the contents of the details panel for
a selected host.
|
void |
modifySummary(PropertyPanel pp)
Callback to modify the contents of the summary panel.
|
public UiTopoOverlay(String id)
id - overlay identifierpublic String id()
public void init()
public void activate()
public void deactivate()
public boolean isActive()
public void destroy()
public void modifySummary(PropertyPanel pp)
pp - property panel model of summary datapublic void modifyDeviceDetails(PropertyPanel pp, DeviceId deviceId)
pp - property panel model of summary datadeviceId - device idpublic void modifyHostDetails(PropertyPanel pp, HostId hostId)
pp - property panel model of summary datahostId - host id@Deprecated public Map<String,String> additionalLinkData(LinkEvent event)
The default implementation returns null, that is, no additional
properties to be added.
event - the link event