info.magnolia.module.admininterface
Interface AdminTreeConfiguration

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

public interface AdminTreeConfiguration

Used by the tree handler to configure the tree

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

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

Method Detail

setMessages

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


prepareTree

void prepareTree(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(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(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–2014 Magnolia International Ltd.. All rights reserved.