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

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


      String[] extensions = {".xsd"}; //$NON-NLS-1$
      SelectFileOrXMLCatalogIdDialog dialog = new SelectFileOrXMLCatalogIdDialog(getShell(), extensions);
      dialog.create();
      dialog.getShell().setText(XMLUIMessages._UI_LABEL_SELECT_FILE);
      dialog.setBlockOnOpen(true);
      dialog.open();

      if (dialog.getReturnCode() == Window.OK) {
        // String grammarURI = null;
        IFile file = dialog.getFile();
        String id = dialog.getId();
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.