info.magnolia.module.admininterface.trees
Class JcrBrowserTreeConfiguration

java.lang.Object
  extended by info.magnolia.module.admininterface.AbstractTreeConfiguration
      extended by info.magnolia.module.admininterface.trees.ConfigTreeConfiguration
          extended by info.magnolia.module.admininterface.trees.JcrBrowserTreeConfiguration
All Implemented Interfaces:
AdminTreeConfiguration

public class JcrBrowserTreeConfiguration
extends ConfigTreeConfiguration

A TreeConfiguration that allows more node types.

Author:
gjoseph

Constructor Summary
JcrBrowserTreeConfiguration()
           
 
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, ...)
 
Methods inherited from class info.magnolia.module.admininterface.AbstractTreeConfiguration
getMessages, hasAnyActiveSubscriber, isAdminInstance, isEnableDeleteConfirmation, setEnableDeleteConfirmation, setMessages
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcrBrowserTreeConfiguration

public JcrBrowserTreeConfiguration()
Method Detail

prepareTree

public void prepareTree(Tree tree,
                        boolean browseMode,
                        javax.servlet.http.HttpServletRequest request)
Description copied from interface: AdminTreeConfiguration
Override this method to configure the tree control (define the columns, ...)

Specified by:
prepareTree in interface AdminTreeConfiguration
Overrides:
prepareTree in class ConfigTreeConfiguration
browseMode - true if this tree is shown in simple browse mode
See Also:
AdminTreeConfiguration.prepareTree(info.magnolia.cms.gui.control.Tree, boolean, javax.servlet.http.HttpServletRequest)

prepareContextMenu

public void prepareContextMenu(Tree tree,
                               boolean browseMode,
                               javax.servlet.http.HttpServletRequest request)
Description copied from interface: AdminTreeConfiguration
Prepare the context menu of the tree. This is called during renderTree

Specified by:
prepareContextMenu in interface AdminTreeConfiguration
Overrides:
prepareContextMenu in class ConfigTreeConfiguration
browseMode - true if this tree is shown in simple browse mode
See Also:
AdminTreeConfiguration.prepareContextMenu(info.magnolia.cms.gui.control.Tree, boolean, javax.servlet.http.HttpServletRequest)

prepareFunctionBar

public void prepareFunctionBar(Tree tree,
                               boolean browseMode,
                               javax.servlet.http.HttpServletRequest request)
Description copied from interface: AdminTreeConfiguration
Prepare the functionbar (footerbar) of the tree. This is called during renderTree

Specified by:
prepareFunctionBar in interface AdminTreeConfiguration
Overrides:
prepareFunctionBar in class ConfigTreeConfiguration
browseMode - true if this tree is shown in simple browse mode
See Also:
AdminTreeConfiguration.prepareFunctionBar(info.magnolia.cms.gui.control.Tree, boolean, javax.servlet.http.HttpServletRequest)


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.