Class LinkPickerDialogConfig
java.lang.Object
org.hippoecm.frontend.editor.plugins.linkpicker.LinkPickerDialogConfig
Creates the default link picker dialog configuration for a hippo:mirror field with the given value model.
The configuration property 'base.uuid' is set to the UUID of the translated ancestor folder closest to the root
that has the same locale as the document the compound is a part of, unless the configuration property
'language.context.aware' is set to 'false' or no translated ancestor folder with the same locale exists.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IPluginConfig
fromPluginConfig
(IPluginConfig config, Supplier<Node> fieldNodeProvider) static IPluginConfig
fromPluginConfig
(IPluginConfig config, JcrPropertyValueModel model)
-
Field Details
-
CONFIG_LANGUAGE_CONTEXT_AWARE
- See Also:
-
DEFAULT_LANGUAGE_CONTEXT_AWARE
public static final boolean DEFAULT_LANGUAGE_CONTEXT_AWARE- See Also:
-
-
Constructor Details
-
LinkPickerDialogConfig
public LinkPickerDialogConfig()
-
-
Method Details
-
fromPluginConfig
-
fromPluginConfig
public static IPluginConfig fromPluginConfig(IPluginConfig config, Supplier<Node> fieldNodeProvider)
-