public interface Decorator extends Ordered
Decorator
interface offers a subtle, yet powerful way to
decorate visual clues in the UI.
Decorator
is queried any time there's an update on the
state of the context the decorator refers to.
Ordered
interface is respected. This means that decorators with a
lower index returned by Ordered.getOrderValue()
will be executed first than
decorators with an higher index. This is important to consider when some
decorators want to define the base for other decorators or ensure that their
information is property ordered.
ID
property needs to point to the appropriate
value for the decoration. The value is client and context dependent.Modifier and Type | Field and Description |
---|---|
static String |
ID
Property for OSGi services indicating the target for this decorator.
|
ORDER_CPU_GROUP, ORDER_DEFAULT_GROUP, ORDER_FIRST, ORDER_IO_GROUP, ORDER_LAST, ORDER_MEMORY_GROUP, ORDER_NETWORK_GROUP, ORDER_THREAD_GROUP, ORDER_USER_GROUP
getOrderValue
static final String ID
Copyright © 2015. All rights reserved.