Class LinkPickerDialogConfig
- java.lang.Object
-
- org.hippoecm.frontend.editor.plugins.linkpicker.LinkPickerDialogConfig
-
public class LinkPickerDialogConfig extends Object
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
Fields Modifier and Type Field Description static String
CONFIG_LANGUAGE_CONTEXT_AWARE
static boolean
DEFAULT_LANGUAGE_CONTEXT_AWARE
-
Constructor Summary
Constructors Constructor Description LinkPickerDialogConfig()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IPluginConfig
fromPluginConfig(IPluginConfig config, Supplier<javax.jcr.Node> fieldNodeProvider)
static IPluginConfig
fromPluginConfig(IPluginConfig config, JcrPropertyValueModel model)
-
-
-
Field Detail
-
CONFIG_LANGUAGE_CONTEXT_AWARE
public static final String CONFIG_LANGUAGE_CONTEXT_AWARE
- See Also:
- Constant Field Values
-
DEFAULT_LANGUAGE_CONTEXT_AWARE
public static final boolean DEFAULT_LANGUAGE_CONTEXT_AWARE
- See Also:
- Constant Field Values
-
-
Method Detail
-
fromPluginConfig
public static IPluginConfig fromPluginConfig(IPluginConfig config, JcrPropertyValueModel model)
-
fromPluginConfig
public static IPluginConfig fromPluginConfig(IPluginConfig config, Supplier<javax.jcr.Node> fieldNodeProvider)
-
-