Package org.infoglue.cms.applications.common

Examples of org.infoglue.cms.applications.common.ToolbarButtonGroup


  {
    this.groups = new ArrayList<ToolbarButtonGroup>();
   
    if(toolbarKey.equalsIgnoreCase("tool.structuretool.siteNodeComponentsHeader"))
    {
      ToolbarButtonGroup crudGroup = new ToolbarButtonGroup("CRUD", "CRUD", "CRUD operations");
      crudGroup.addButton(findButton(buttons, "createSiteNode"));
      crudGroup.addButton(findButton(buttons, "pageDetail"));
      crudGroup.addButton(findButton(buttons, "deleteSiteNode"));
      crudGroup.addButton(findButton(buttons, "moveSiteNode"));
      this.groups.add(crudGroup);

      ToolbarButtonGroup previewGroup = new ToolbarButtonGroup("preview", "preview", "preview operations");
      previewGroup.addButton(findButton(buttons, "previewPage"));
      this.groups.add(previewGroup);

      ToolbarButtonGroup publishGroup = new ToolbarButtonGroup("publish", "publish", "publish operations");
      publishGroup.addButton(findButton(buttons, "publishPageStructure"));
      publishGroup.addButton(findButton(buttons, "publishCurrentPage"));
      publishGroup.addButton(findButton(buttons, "unpublishPage"));
      this.groups.add(publishGroup);
    }
  }
View Full Code Here

TOP

Related Classes of org.infoglue.cms.applications.common.ToolbarButtonGroup

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.