Examples of TagToolCreationAdapter


Examples of org.eclipse.jst.pagedesigner.editors.palette.TagToolCreationAdapter

    });

  }

  private void loadTapestryTags(final TaglibPaletteDrawer category, final CMDocument doc){
    final ITagDropSourceData data = new TagToolCreationAdapter(category
        .getURI(), "actionlink", category.getDefaultPrefix(), "actionlink");
    final TagToolPaletteEntry item = new TagToolPaletteEntry(data, "actionlink",
        "create t:actionlink element", null, null);
    item.setId("actionlink");
View Full Code Here

Examples of org.eclipse.jst.pagedesigner.editors.palette.TagToolCreationAdapter

  private TagToolPaletteEntry internalCreateTagEntry(final TaglibPaletteDrawer category,
      final String id, final String tagName,
      final String label, String desc, final ImageDescriptor smallIcon,
      final ImageDescriptor largeIcon, final boolean expert) {
   
    final ITagDropSourceData data = new TagToolCreationAdapter(category
        .getURI(), tagName, category.getDefaultPrefix(), id);
    final TagToolPaletteEntry item = new TagToolPaletteEntry(data, label,
        desc, smallIcon, largeIcon);
    item.setId(id);
View Full Code Here

Examples of org.eclipse.jst.pagedesigner.editors.palette.TagToolCreationAdapter

        if(component.getNodeType() == Node.ELEMENT_NODE && component.getNodeName().trim().equals("component")){
          Node id = component.getAttributes().getNamedItem("id");
          Node name = component.getAttributes().getNamedItem("name");
          Node text = component.getAttributes().getNamedItem("text");
          if (id != null && name != null && text !=null){
            ITagDropSourceData data = new TagToolCreationAdapter(category
                .getURI(), name.getNodeValue(), category.getDefaultPrefix(), name.getNodeValue());
            TagToolPaletteEntry item = new TagToolPaletteEntry(data, text.getNodeValue(),
                "create "+ text.getNodeValue() + " element", null, null);
            item.setId(id.getNodeValue());
            item.setLargeIcon(TAPESTRY_LARGE_ICON);
View Full Code Here

Examples of org.eclipse.jst.pagedesigner.editors.palette.TagToolCreationAdapter

  private TagToolPaletteEntry internalCreateTagEntry(final TaglibPaletteDrawer category,
      final String id, final String tagName,
      final String label, String desc, final ImageDescriptor smallIcon,
      final ImageDescriptor largeIcon, final boolean expert) {
   
    final ITagDropSourceData data = new TagToolCreationAdapter(category
        .getURI(), tagName, category.getDefaultPrefix(), id);
    final TagToolPaletteEntry item = new TagToolPaletteEntry(data, label,
        desc, smallIcon, largeIcon);
    item.setId(id);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.