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;
}
Aggregations