public interface GadgetContext<E extends GomElement>
Gadget
implementations on construction.Modifier and Type | Method and Description |
---|---|
SpecialistsBroker |
getBroker()
Provides access to a specialists 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.
|
@NotNull E getGom()
@NotNull SpecialistsBroker getBroker()
The broker provided offers several additional, specialized agents:
OperationAgent
for accessing operationsReferenceConstructionAgent
for constructing reference containersOperationAgent
,
ReferenceConstructionAgent
@Nullable IDProvider getElement()
@NotNull Store.Type getStoreType()
@NotNull Language getPersistencyLanguage()
getDisplayLanguage()
@NotNull Language getDisplayLanguage()
persistency language
.getPersistencyLanguage()
boolean isRelease()
true
, if operating in release mode.@NotNull String getFormUid()
boolean isDefault()
true
, if operating on defaults.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500