public class PluginBusAdmin extends java.lang.Object implements IEventListener
Constructor and Description |
---|
PluginBusAdmin()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
addToBus(IPBComponent comp)
Deprecated.
Adds a component to the bus.
|
static IPBComponent[] |
getComponents()
Deprecated.
Returns an array of all components connected to the bus.
|
void |
handleEvent(Event event)
Deprecated.
Listens to internal events, and passes them on to listeners (plugins).
|
static void |
removeFromBus(IPBComponent comp)
Deprecated.
Removes a component from the bus.
|
static void |
send(PluginBusEvent event)
Deprecated.
Sends an event to all components on the bus.
|
public static IPBComponent[] getComponents()
public static void addToBus(IPBComponent comp)
comp
- The component to addpublic static void removeFromBus(IPBComponent comp)
comp
- The component to removepublic static void send(PluginBusEvent event)
event
- The eventpublic void handleEvent(Event event)
handleEvent
in interface IEventListener
event
- The eventIEventListener.handleEvent(com.objectplanet.survey.event.Event)
Built on September 5 2019