Examples of ITagDropSourceData


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

//                        continue CHILDREN_LOOP;
//                    }

                    final String uri = child.getTagIdentifier().getUri();
                    final String tagName = child.getTagIdentifier().getTagName();
                    final ITagDropSourceData creationProvider =
                        TagToolCreationAdapter.findProviderForContainer(uri, tagName, PaletteItemManager.createPaletteContext(fileForDocument));
                   
              final IMetaDataModelContext modelContext = CommandUtil.getMetadataModelContext(child.getTagIdentifier().getUri(), _model);
//                    final ITaglibDomainMetaDataModelContext modelContext =
//                        TaglibDomainMetaDataQueryHelper
View Full Code Here

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

        }
    }

    private void addAttributesFromPaletteMetadata(Map<String, String> attributes)
    {
        final ITagDropSourceData info = _creationData.getTagCreationProvider();
        if (info != null)
        {
            final MetadataTagDropSourceData provider =
                TagToolCreationAdapter.createMdTagCreationProvider(info, _model);
View Full Code Here

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

        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.ITagDropSourceData

  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.