info.magnolia.module.admininterface
Interface AdminTreeConfiguration

All Known Implementing Classes:
AbstractTreeConfiguration, ConfigTreeConfiguration, GroupsTreeConfiguration, JcrBrowserTreeConfiguration, RolesTreeConfiguration, UsersTreeConfiguration, WebsiteTreeConfiguration

public interface AdminTreeConfiguration

Used by the tree handler to configure the tree

Version:
$Revision: 32667 $ ($Author: gjoseph $)
Author:
Philipp Bracher

Method Summary
 void prepareContextMenu(info.magnolia.cms.gui.control.Tree tree, boolean browseMode, javax.servlet.http.HttpServletRequest request)
          Prepare the context menu of the tree.
 void prepareFunctionBar(info.magnolia.cms.gui.control.Tree tree, boolean browseMode, javax.servlet.http.HttpServletRequest request)
          Prepare the functionbar (footerbar) of the tree.
 void prepareTree(info.magnolia.cms.gui.control.Tree tree, boolean browseMode, javax.servlet.http.HttpServletRequest request)
          Override this method to configure the tree control (define the columns, ...)
 void setMessages(info.magnolia.cms.i18n.Messages m)
          Sets the messages bundle to be used.
 

Method Detail

setMessages

void setMessages(info.magnolia.cms.i18n.Messages m)
Sets the messages bundle to be used. Must be called by instanciator.


prepareTree

void prepareTree(info.magnolia.cms.gui.control.Tree tree,
                 boolean browseMode,
                 javax.servlet.http.HttpServletRequest request)
Override this method to configure the tree control (define the columns, ...)

Parameters:
tree -
browseMode - true if this tree is shown in simple browse mode

prepareContextMenu

void prepareContextMenu(info.magnolia.cms.gui.control.Tree tree,
                        boolean browseMode,
                        javax.servlet.http.HttpServletRequest request)
Prepare the context menu of the tree. This is called during renderTree

Parameters:
tree -
browseMode - true if this tree is shown in simple browse mode

prepareFunctionBar

void prepareFunctionBar(info.magnolia.cms.gui.control.Tree tree,
                        boolean browseMode,
                        javax.servlet.http.HttpServletRequest request)
Prepare the functionbar (footerbar) of the tree. This is called during renderTree

Parameters:
tree -
browseMode - true if this tree is shown in simple browse mode


Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.