org.riotfamily.riot.editor
Class TreeDefinition
java.lang.Object
org.riotfamily.riot.editor.AbstractEditorDefinition
org.riotfamily.riot.editor.ListDefinition
org.riotfamily.riot.editor.TreeDefinition
- All Implemented Interfaces:
- EditorDefinition
public class TreeDefinition
- extends ListDefinition
Methods inherited from class org.riotfamily.riot.editor.ListDefinition |
createReference, createReference, getBeanClass, getDao, getDefaultName, getDisplayDefinition, getEditorType, getEditorUrl, getLabel, getListConfig, getListId, setDisplayDefinition, setListId |
Methods inherited from class org.riotfamily.riot.editor.AbstractEditorDefinition |
addReference, equals, getEditorRepository, getIcon, getId, getLabel, getMessageKey, getName, getParentEditorDefinition, hashCode, isHidden, setEditorRepository, setHidden, setIcon, setId, setName, setParentEditorDefinition, show |
TYPE_TREE
protected static final String TYPE_TREE
- See Also:
- Constant Field Values
TreeDefinition
public TreeDefinition(EditorRepository editorRepository)
isNode
public boolean isNode(Object bean)
createEditorPath
public EditorReference createEditorPath(String objectId,
String parentId,
String parentEditorId,
MessageResolver messageResolver)
- Description copied from interface:
EditorDefinition
- Returns a PathComponent for the given objectId and parentId that
represents the complete path to the editor.
This method is invoked by the PathController for the current (active)
editor in order to build a breadcrumb navigation.
- Specified by:
createEditorPath
in interface EditorDefinition
- Overrides:
createEditorPath
in class ListDefinition
createEditorPath
public EditorReference createEditorPath(Object bean,
MessageResolver messageResolver)
- Description copied from interface:
EditorDefinition
- Returns a PathComponent for the given bean that represents the complete
path to the editor.
This method is usually invoked by descendant editors to create a
complete path recursively.
- Specified by:
createEditorPath
in interface EditorDefinition
- Overrides:
createEditorPath
in class ListDefinition