Search in sources :

Example 1 with CreateElementAction

use of org.eclipse.wst.xsd.ui.internal.actions.CreateElementAction in project webtools.sourceediting by eclipse.

the class XSDSimpleTypeSection method addCreateElementAction.

protected Action addCreateElementAction(String elementTag, String label, List attributes, Element parent, Node relativeNode) {
    CreateElementAction action = new CreateElementAction(label);
    action.setElementTag(elementTag);
    action.setAttributes(attributes);
    action.setParentNode(parent);
    action.setRelativeNode(relativeNode);
    return action;
}
Also used : CreateElementAction(org.eclipse.wst.xsd.ui.internal.actions.CreateElementAction)

Aggregations

CreateElementAction (org.eclipse.wst.xsd.ui.internal.actions.CreateElementAction)1