info.magnolia.module.admininterface.setup
Class AddMainMenuItemTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.admininterface.setup.AddMainMenuItemTask
- All Implemented Interfaces:
- info.magnolia.module.delta.Task
- Direct Known Subclasses:
- AddSubMenuItemTask
public class AddMainMenuItemTask
- extends info.magnolia.module.delta.AbstractTask
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
Fields inherited from class info.magnolia.module.delta.AbstractTask |
log |
Method Summary |
void |
execute(info.magnolia.module.InstallContext ctx)
|
protected info.magnolia.cms.core.Content |
getParentNode(info.magnolia.module.InstallContext ctx)
|
Methods inherited from class info.magnolia.module.delta.AbstractTask |
getDescription, getName, toString |
AddMainMenuItemTask
public AddMainMenuItemTask(String menuName,
String label,
String i18nBasename,
String onClick,
String icon,
String orderBefore)
- Parameters:
orderBefore
- the menu name before which this new menu should be positioned. ignored if null.i18nBasename
- ignored if null.
execute
public void execute(info.magnolia.module.InstallContext ctx)
throws info.magnolia.module.delta.TaskExecutionException
- Throws:
info.magnolia.module.delta.TaskExecutionException
getParentNode
protected info.magnolia.cms.core.Content getParentNode(info.magnolia.module.InstallContext ctx)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.