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,
String editButtonLabel,
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(String dialogName)
setEditButtonLabel
public void setEditButtonLabel(String editButtonLabel)
doRender
protected void doRender(Appendable out)
throws IOException
- Specified by:
doRender
in class AbstractAuthoringUiComponent
- Throws:
IOException
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.