Package org.eclipse.wst.xml.ui.internal.dialogs

Examples of org.eclipse.wst.xml.ui.internal.dialogs.EditElementDialog.open()


      manager.beginNodeAction(this);
      EditElementDialog dialog = new EditElementDialog(shell, element);
      dialog.create();
      dialog.getShell().setText(title);
      dialog.setBlockOnOpen(true);
      dialog.open();
 
      if (dialog.getReturnCode() == Window.OK) {
        Document document = parent.getNodeType() == Node.DOCUMENT_NODE ? (Document) parent : parent.getOwnerDocument();
        if (element != null) {
          // here we need to do a rename... which seems to be quite hard
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.