info.magnolia.module.templatingcomponents.components
Class PageEditBar
java.lang.Object
info.magnolia.module.templatingcomponents.components.AbstractAuthoringUiComponent
info.magnolia.module.templatingcomponents.components.PageEditBar
- All Implemented Interfaces:
- AuthoringUiComponent
public class PageEditBar
- extends AbstractAuthoringUiComponent
This describes the "main bar" for pages. This typically renders a bar to be placed on top of pages, with a
"preview" button and a "page info" button. It might also display a language selector (if i18n authoring is
enabled), and a "back to AdminCentral" button if relevant.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageEditBar
public PageEditBar(ServerConfiguration server,
AggregationState aggregationState)
make
public static PageEditBar make(ServerConfiguration serverCfg,
AggregationState aggState,
java.lang.String editButtonLabel,
java.lang.String dialogName)
- Parameters:
serverCfg
- aggState
- editButtonLabel
- pass null for the defaultdialogName
- if null or empty, no dialog button will be rendered
setDialogName
public void setDialogName(java.lang.String dialogName)
setEditButtonLabel
public void setEditButtonLabel(java.lang.String editButtonLabel)
doRender
protected void doRender(java.lang.Appendable out)
throws java.io.IOException
- Specified by:
doRender
in class AbstractAuthoringUiComponent
- Throws:
java.io.IOException
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.