Package org.xwiki.edit
Interface EditConfiguration
@Role
public interface EditConfiguration
Edit configuration options.
- Since:
- 8.2RC1
- Version:
- $Id: 04b0117f8cac052fe1c327773f1be97a362b44b4 $
-
Method Summary
Modifier and TypeMethodDescriptiongetDefaultEditor
(Type dataType) Returns the component hint of the configured default editor or the id of the configured default editor category associated with the specified data type.getDefaultEditor
(Type dataType, String category) Returns the component hint of the configured default editor within the specified category, or the id of the configured default editor sub-category within the specified category, associated with the specified data type.
-
Method Details
-
getDefaultEditor
Returns the component hint of the configured default editor or the id of the configured default editor category associated with the specified data type. Returnsnull
if there's no configured default editor or default editor category for the specified data type.- Parameters:
dataType
- some data type- Returns:
- an editor component hint, or a editor category id or
null
-
getDefaultEditor
Returns the component hint of the configured default editor within the specified category, or the id of the configured default editor sub-category within the specified category, associated with the specified data type. Returnsnull
if there's no configured default editor or default editor sub-category for the specified data type.- Parameters:
dataType
- some data typecategory
- some editor category- Returns:
- an editor component hint, or a editor sub-category id or
null
-