Package org.xwiki.edit
Interface EditorManager
-
@Role public interface EditorManager
Manages the availableEditor
s.- Since:
- 8.2RC1
- Version:
- $Id: 93ff5d1806ec777d97c6e9b6cb0be53bd611b1e0 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <D> Editor<D>
getDefaultEditor(Type dataType)
<D> Editor<D>
getDefaultEditor(Type dataType, String category)
<D> Editor<D>
getEditor(Type dataType, String hint)
<D> List<Editor<D>>
getEditors(Type dataType)
<D> List<Editor<D>>
getEditors(Type dataType, String category)
-
-
-
Method Detail
-
getEditors
<D> List<Editor<D>> getEditors(Type dataType)
- 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
<D> List<Editor<D>> getEditors(Type dataType, String category)
- 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
-
getDefaultEditor
<D> Editor<D> getDefaultEditor(Type dataType)
- Type Parameters:
D
- the data type- Parameters:
dataType
- the data type- Returns:
- the configured default editor associated with the specified data type
-
getDefaultEditor
<D> Editor<D> getDefaultEditor(Type dataType, String category)
- 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
-
-