@Qualifier
@Documented
@Target(value={FIELD,PARAMETER})
@Retention(value=RUNTIME)
public @interface UIEventTopic
Normally EventTopic annotations will be marked as optional. Those annotations establish a link rather then provide a value at the time of injection.
Example usage:
public class Car {
@void handle(@Optional @UIEventTopic("org/eclipse/e4/some/event/topic") Payload payload);
...
}
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
value |
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.