org.riotfamily.riot.editor
Class CustomEditorDefinition
java.lang.Object
org.riotfamily.riot.editor.AbstractEditorDefinition
org.riotfamily.riot.editor.AbstractObjectEditorDefinition
org.riotfamily.riot.editor.CustomEditorDefinition
- All Implemented Interfaces:
- EditorDefinition, ObjectEditorDefinition
public class CustomEditorDefinition
- extends AbstractObjectEditorDefinition
Methods inherited from class org.riotfamily.riot.editor.AbstractObjectEditorDefinition |
addChildEditorDefinition, createEditorPath, createEditorPath, createPathComponent, getBeanClass, getChildEditorDefinitions, getChildEditorReferences, 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_CUSTOM
protected static final String TYPE_CUSTOM
- See Also:
- Constant Field Values
CustomEditorDefinition
public CustomEditorDefinition()
getEditorType
public String getEditorType()
setTarget
public void setTarget(String target)
setUrl
public void setUrl(String url)
setHandler
public void setHandler(String handler)
createReference
public EditorReference createReference(String objectId,
MessageResolver messageResolver)
- Description copied from interface:
EditorDefinition
- Creates a reference to an editor. The method is used by the
EditorGroupController
.
- Specified by:
createReference
in interface EditorDefinition
- Overrides:
createReference
in class AbstractObjectEditorDefinition
getTargetUrl
public String getTargetUrl(String objectId,
String parentId,
String parentEditorId)
getEditorUrl
public String getEditorUrl(String objectId,
String parentId,
String parentEditorId)
- Specified by:
getEditorUrl
in interface EditorDefinition
- Overrides:
getEditorUrl
in class AbstractObjectEditorDefinition
getEditorUrlWithinServlet
protected String getEditorUrlWithinServlet(String objectId,
String parentId,
String parentEditorId)
- Specified by:
getEditorUrlWithinServlet
in class AbstractObjectEditorDefinition