|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GadgetContext<E extends GomElement>
API for context information that is provided to Gadget
implementations on construction.
Important: The context may change during its lifetime, hence, objects retrieved via the context may be altered or replaced.
To be sure using the current context, these objects should always be accessed via the context directly.
Method Summary | |
---|---|
SpecialistsBroker |
getBroker()
Provides access to a specialitsts broker. |
Language |
getDisplayLanguage()
The display language to be used for displaying the form (labels). |
IDProvider |
getElement()
Delivers the store element the gadget belongs to. |
String |
getFormUid()
Provides the form identifying uid. |
E |
getGom()
Gives the form definition as GOM element. |
Language |
getPersistencyLanguage()
The persistency language of the gadget's value. |
Store.Type |
getStoreType()
Provides the store type the gadget operates in. |
boolean |
isDefault()
Indicates to operate for default value definition. |
boolean |
isRelease()
Indicates to operate in store element release mode. |
Method Detail |
---|
@NotNull E getGom()
@NotNull SpecialistsBroker getBroker()
The broker provided offers several additional, specialized agents:
OperationAgent
for accessing operationsReferenceConstructionAgent
for constructing reference containers
OperationAgent
,
ReferenceConstructionAgent
@Nullable IDProvider getElement()
@NotNull Store.Type getStoreType()
@NotNull Language getPersistencyLanguage()
GadgetContext.getDisplayLanguage()
@NotNull Language getDisplayLanguage()
persistency language
.
GadgetContext.getPersistencyLanguage()
boolean isRelease()
true
, if operating in release mode.@NotNull String getFormUid()
boolean isDefault()
true
, if operating on defaults.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |