Package org.xwiki.edit
Interface EditorManager
@Role
public interface EditorManager
Manages the available
Editor
s.- Since:
- 8.2RC1
- Version:
- $Id: 93ff5d1806ec777d97c6e9b6cb0be53bd611b1e0 $
-
Method Summary
Modifier and TypeMethodDescription<D> Editor<D>
getDefaultEditor
(Type dataType) <D> Editor<D>
getDefaultEditor
(Type dataType, String category) <D> Editor<D>
getEditors
(Type dataType) getEditors
(Type dataType, String category)
-
Method Details
-
getEditors
- Type Parameters:
D
- the data type- Parameters:
dataType
- the data type- Returns:
- the list of editors that can edit the specified type of data
-
getEditors
- Type Parameters:
D
- the data type- Parameters:
dataType
- the data typecategory
- the editor category- Returns:
- the list of editors that have the specified category and which are associated with the given data type
-
getEditor
-
getDefaultEditor
- Type Parameters:
D
- the data type- Parameters:
dataType
- the data type- Returns:
- the configured default editor associated with the specified data type
-
getDefaultEditor
- Type Parameters:
D
- the data type- Parameters:
dataType
- the data typecategory
- the editor category- Returns:
- the configured default editor that has the specified category and which is associated with the given data type
-