Package org.glassfish.admingui.plugin

Examples of org.glassfish.admingui.plugin.IndexItem


      throw new IllegalArgumentException("Invalid node type for Index: "
        + nodeObject.getClass().getName());
  }


  IndexItem item = (IndexItem) nodeObject;
        String htmlFile = null;

  // Setup the properties...
  // NOTE: All supported options must be handled here,
  //    otherwise they'll be ignored.
  // NOTE: Options will be evaluated later, do not eval here.
  props.put("text", item.getText());

        if (null != (htmlFile = item.getHtmlFileForTarget())) {
            // Add leading "/resource/" to ensure it's treated as *context root* relative.
      props.put("url", "/resource/" + htmlFile);
        }
//  LayoutComponent desc = getLayoutComponent();
//  setProperty(props, "imageURL", desc.getOption("imageURL"));
View Full Code Here

TOP

Related Classes of org.glassfish.admingui.plugin.IndexItem

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.