@Component(value="ui_OptionDialogFacetProvider") public class OptionDialogFacetProvider extends java.lang.Object implements FacetProvider<OptionDialogFacet>
Modifier and Type | Field and Description |
---|---|
protected UiComponentProperties |
componentProperties |
protected Icons |
icons |
protected LoaderSupport |
loaderSupport |
protected io.jmix.core.MessageTools |
messageTools |
protected ThemeConstantsManager |
themeConstantsManager |
Constructor and Description |
---|
OptionDialogFacetProvider() |
Modifier and Type | Method and Description |
---|---|
OptionDialogFacet |
create() |
java.lang.Class<OptionDialogFacet> |
getFacetClass() |
java.lang.String |
getFacetTag() |
protected java.lang.String |
getIconPath(ComponentLoader.ComponentContext context,
java.lang.String icon) |
protected ActionsAwareDialogFacet.DialogAction |
loadAction(org.dom4j.Element element,
ComponentLoader.ComponentContext context) |
protected void |
loadActions(ActionsAwareDialogFacet facet,
org.dom4j.Element element,
ComponentLoader.ComponentContext context) |
protected void |
loadCaption(OptionDialogFacet facet,
org.dom4j.Element element,
ComponentLoader.ComponentContext context) |
protected void |
loadContentMode(OptionDialogFacet facet,
org.dom4j.Element element) |
void |
loadFromXml(OptionDialogFacet facet,
org.dom4j.Element element,
ComponentLoader.ComponentContext context)
Loads properties of the facet from XML.
|
protected void |
loadHeight(OptionDialogFacet facet,
org.dom4j.Element element) |
protected void |
loadHtmlSanitizerEnabled(OptionDialogFacet facet,
org.dom4j.Element element) |
protected void |
loadId(OptionDialogFacet facet,
org.dom4j.Element element) |
protected void |
loadMessage(OptionDialogFacet facet,
org.dom4j.Element element,
ComponentLoader.ComponentContext context) |
protected java.lang.String |
loadResourceString(ComponentLoader.ComponentContext context,
java.lang.String caption) |
protected void |
loadStyleName(OptionDialogFacet facet,
org.dom4j.Element element) |
protected void |
loadTarget(OptionDialogFacet facet,
org.dom4j.Element element,
ComponentLoader.ComponentContext context) |
protected java.lang.String |
loadThemeString(java.lang.String value) |
protected void |
loadWidth(OptionDialogFacet facet,
org.dom4j.Element element) |
@Autowired protected io.jmix.core.MessageTools messageTools
@Autowired protected Icons icons
@Autowired protected ThemeConstantsManager themeConstantsManager
@Autowired protected UiComponentProperties componentProperties
@Autowired protected LoaderSupport loaderSupport
public java.lang.Class<OptionDialogFacet> getFacetClass()
getFacetClass
in interface FacetProvider<OptionDialogFacet>
public OptionDialogFacet create()
create
in interface FacetProvider<OptionDialogFacet>
public java.lang.String getFacetTag()
getFacetTag
in interface FacetProvider<OptionDialogFacet>
public void loadFromXml(OptionDialogFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context)
FacetProvider
loadFromXml
in interface FacetProvider<OptionDialogFacet>
facet
- facetelement
- XML elementcontext
- loading contextprotected void loadId(OptionDialogFacet facet, org.dom4j.Element element)
protected void loadCaption(OptionDialogFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context)
protected void loadMessage(OptionDialogFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context)
protected void loadWidth(OptionDialogFacet facet, org.dom4j.Element element)
protected void loadHeight(OptionDialogFacet facet, org.dom4j.Element element)
protected void loadContentMode(OptionDialogFacet facet, org.dom4j.Element element)
protected void loadStyleName(OptionDialogFacet facet, org.dom4j.Element element)
protected void loadTarget(OptionDialogFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context)
protected void loadActions(ActionsAwareDialogFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context)
protected ActionsAwareDialogFacet.DialogAction loadAction(org.dom4j.Element element, ComponentLoader.ComponentContext context)
protected void loadHtmlSanitizerEnabled(OptionDialogFacet facet, org.dom4j.Element element)
@Nullable protected java.lang.String loadResourceString(ComponentLoader.ComponentContext context, @Nullable java.lang.String caption)
@Nullable protected java.lang.String getIconPath(ComponentLoader.ComponentContext context, @Nullable java.lang.String icon)
@Nullable protected java.lang.String loadThemeString(@Nullable java.lang.String value)