Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ease-dev] Demonstration code for firing script events

Here's the Java code for firing one of these events:

    // get broker service
    IEventBroker broker =
PlatformUI.getWorkbench().getService(IEventBroker.class);

    // post event
    broker.post("com/foobar/newTime", newValue);

Alternatively, the broken can be obtained in 4.x using an @Inject annotation.


Back to the top