public class PluginBusSurvey extends java.lang.Object implements IEventListener
| Constructor and Description |
|---|
PluginBusSurvey()
Deprecated.
Constructs an instance of the PluginBusSurvey.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addToBus(IPBComponent comp,
long surveyId)
Deprecated.
|
static IPBComponent[] |
getComponents(long surveyId)
Deprecated.
|
void |
handleEvent(Event event)
Deprecated.
Listens to internal events, and passes them on to listeners (plugins).
|
PluginBusSurvey |
instance()
Deprecated.
|
static void |
removeFromBus(IPBComponent comp,
long surveyId)
Deprecated.
|
static void |
send(PluginBusEvent event,
long surveyId)
Deprecated.
|
public PluginBusSurvey()
public PluginBusSurvey instance()
public static IPBComponent[] getComponents(long surveyId)
surveyId - Survey id of the plugin bus to get. 0 will return
components that have registered to receive all events.public static void addToBus(IPBComponent comp, long surveyId)
comp - The component to addsurveyId - The feature to be added to the ToBus attributepublic static void removeFromBus(IPBComponent comp, long surveyId)
comp - The component to removesurveyId - Survey id of the survey to receive events from. 0 (zero)
specifies all surveys. Use the value 0 with care, because
this may reduce performance of the application.public static void send(PluginBusEvent event, long surveyId)
event - The eventsurveyId - Sends events to all listening plugins.public void handleEvent(Event event)
handleEvent in interface IEventListenerevent - The eventIEventListener.handleEvent(com.objectplanet.survey.event.Event)Built on July 29 2025