Package org.eclipse.jst.pagedesigner.commands.single

Examples of org.eclipse.jst.pagedesigner.commands.single.AddSubNodeCommand


    return dialog.open() == Window.OK;
  }

  private static void createSubNode(final AttributeGroup group, final IDOMElement parent, final Map mapOfAttributeValues) {
    AddSubNodeCommand addSubCommand = new AddSubNodeCommand(
        AttributeGroupMessages
            .getString(
                "DialogUtil.createCommandLabel", group.getTagName()), parent, group.getTagName(), group.getURI(), mapOfAttributeValues); //$NON-NLS-1$
    addSubCommand.execute();
   
  }
View Full Code Here


    // the tag create metadata. Get a tag creation provider?
    Map attributes = new LinkedHashMap();
    attributes.put("href", "")//$NON-NLS-1$//$NON-NLS-2$
    attributes.put("rel", "Stylesheet")//$NON-NLS-1$//$NON-NLS-2$
    attributes.put("type", "text/css")//$NON-NLS-1$//$NON-NLS-2$
    Command command = new AddSubNodeCommand(
        PDPlugin.getResourceString("ItemCreationEditPolicy.CommandLabel.CreateItem"),//$NON-NLS-1$
        _parentElement, IHTMLConstants.TAG_LINK, ITLDConstants.URI_HTML,
        attributes);
    command.execute();
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jst.pagedesigner.commands.single.AddSubNodeCommand

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.