Examples of open()


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

    dialog.setErrorChecking(false);// !model.getType().equals(IStructuredModel.HTML));
    dialog.create();
    dialog.getShell().setText(title);
    dialog.setBlockOnOpen(true);
    dialog.setResourceLocation(new Path(resourceLocation));
    dialog.open();

    return dialog;
  }

View Full Code Here

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

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

    EditNamespaceInfoDialog dialog = new EditNamespaceInfoDialog(topComposite.getShell(), info);
    dialog.create();
    dialog.getShell().setText(title);
    dialog.setBlockOnOpen(true);
    dialog.setResourceLocation(resourceLocation);
    dialog.open();
    return dialog;
  }

  protected void performDelayedUpdate() {
    tableViewer.refresh();
View Full Code Here

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

      }
 
      dialog.create();
      dialog.getShell().setText(title);
      dialog.setBlockOnOpen(true);
      dialog.open();
 
      if (dialog.getReturnCode() == Window.OK) {
        if (pi != null) {
          childRef = pi;
        }
View Full Code Here

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

        dialog.setNamespaceInfoList(namespaceInfoList);
        dialog.create();
        // dialog.getShell().setSize(500, 300);
        dialog.getShell().setText(XMLUIMessages._UI_MENU_EDIT_SCHEMA_INFORMATION_TITLE);
        dialog.setBlockOnOpen(true);
        dialog.open();
 
        if (dialog.getReturnCode() == Window.OK) {
          List newInfoList = dialog.getNamespaceInfoList();
          namespaceInfoManager.removeNamespaceInfo(element);
          namespaceInfoManager.addNamespaceInfo(element, newInfoList, false);
View Full Code Here

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

Examples of org.eclipse.xcde.dialogs.XCDEServerConfigDialog.open()

          boolean error;
          do
            {
            error = false;
            XCDEServerConfigDialog d = new XCDEServerConfigDialog(new Shell());
            Object[] newVal = d.open(new ServerInfo("localhost", 48879), "");
            if (newVal != null)
              {
              try
                {
                XCDERegisterProvider.getProvider().addInstance((ServerInfo)newVal[0],(String)newVal[1]);
View Full Code Here

Examples of org.eclipse.xcde.dialogs.XCDEUserDialog.open()

      MessageDialog.openError(window.getShell(),"No active XCDE Server", "There is currently no active XCDE server, configure a server then try again.");
      return;
      }
    XCDEUserDialog dialog = new XCDEUserDialog(window.getShell());
    XCDERegister r = XCDERegisterProvider.getProvider().getCurrentRegister();
    r.setUsername(dialog.open(r.getUsername(),r));
    }

  public void selectionChanged(IAction action, ISelection selection)
    {
    //Interface demanded, but we don't need it
View Full Code Here

Examples of org.encog.app.quant.ninja.NinjaStreamWriter.open()

public class TestNinjaStreamWriter extends TestCase {

  public void testWrite() throws IOException {
    NinjaStreamWriter nsw = new NinjaStreamWriter();

    nsw.open("test.csv", true, CSVFormat.ENGLISH);

    nsw.beginBar(new GregorianCalendar(2010, 00, 01).getTime());
    nsw.storeColumn("close", 10);
    nsw.endBar();
View Full Code Here

Examples of org.encog.ml.data.buffer.EncogEGBFile.open()

          "type:" + type);
      EncogLogging.log(EncogLogging.LEVEL_DEBUG,
          "arch:" + arch)

    final EncogEGBFile egb = new EncogEGBFile(trainingFile);
    egb.open();
    final int input = egb.getInputCount();
    final int ideal = egb.getIdealCount();
    egb.close();

    final MLMethodFactory factory = new MLMethodFactory();
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.