org.riotfamily.riot.editor
Class ViewDefinition

java.lang.Object
  extended by org.riotfamily.riot.editor.AbstractEditorDefinition
      extended by org.riotfamily.riot.editor.AbstractObjectEditorDefinition
          extended by org.riotfamily.riot.editor.ViewDefinition
All Implemented Interfaces:
EditorDefinition, ObjectEditorDefinition, ViewReference

public class ViewDefinition
extends AbstractObjectEditorDefinition
implements ViewReference


Field Summary
protected static String TYPE_VIEW
           
 
Constructor Summary
ViewDefinition(EditorRepository editorRepository)
           
 
Method Summary
 String getEditorType()
           
 String getEditorUrlWithinServlet(String objectId, String parentId, String parentEditorId)
           
 String getTemplate()
           
 void setViewName(String viewName)
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.riotfamily.riot.editor.EditorDefinition
addReference, getId, getParentEditorDefinition, isHidden, setParentEditorDefinition, show
 

Field Detail

TYPE_VIEW

protected static final String TYPE_VIEW
See Also:
Constant Field Values
Constructor Detail

ViewDefinition

public ViewDefinition(EditorRepository editorRepository)
Method Detail

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