org.riotfamily.riot.editor
Class ViewDefinition
java.lang.Object
org.riotfamily.riot.editor.AbstractEditorDefinition
org.riotfamily.riot.editor.AbstractObjectEditorDefinition
org.riotfamily.riot.editor.ViewDefinition
- All Implemented Interfaces:
- EditorDefinition, ObjectEditorDefinition, ViewReference
public class ViewDefinition
- extends AbstractObjectEditorDefinition
- implements ViewReference
Methods inherited from class org.riotfamily.riot.editor.AbstractObjectEditorDefinition |
addChildEditorDefinition, createEditorPath, createEditorPath, createPathComponent, createReference, getBeanClass, getChildEditorDefinitions, getChildEditorReferences, getEditorUrl, getEditorUrlWithinServlet, getLabel, getLabelProperty, loadBean, setBeanClass, setLabelProperty |
Methods inherited from class org.riotfamily.riot.editor.AbstractEditorDefinition |
addReference, equals, getDefaultName, getEditorRepository, getIcon, getId, getLabel, getMessageKey, getName, getParentEditorDefinition, hashCode, isHidden, setEditorRepository, setHidden, setIcon, setId, setName, setParentEditorDefinition, show |
TYPE_VIEW
protected static final String TYPE_VIEW
- See Also:
- Constant Field Values
ViewDefinition
public ViewDefinition(EditorRepository editorRepository)
getEditorType
public String getEditorType()
- Specified by:
getEditorType
in interface EditorDefinition
setViewName
public void setViewName(String viewName)
getTemplate
public String getTemplate()
- Specified by:
getTemplate
in interface ViewReference
getEditorUrlWithinServlet
public String getEditorUrlWithinServlet(String objectId,
String parentId,
String parentEditorId)
- Specified by:
getEditorUrlWithinServlet
in class AbstractObjectEditorDefinition