Package org.gvt.inspector

Examples of org.gvt.inspector.StringInputDialog.open()


        StringInputDialog dialog = new StringInputDialog(main.getShell(), "Rename Pathway",
          "Enter new name", tab.getText());

        dialog.setSelectText(true);

        newname = dialog.open();
      }
      while(newname != null && !newname.equals(tab.getText()) &&
        (main.getAllPathwayNames().contains(newname) ||
        main.getOpenTabNames().contains(newname)));
View Full Code Here


    if (refs.isEmpty() && !useSelectedNodes)
    {
      StringInputDialog dialog = new StringInputDialog(main.getShell(), "Query Neighborhood",
        "Enter UniProt or Entrez Gene ID", null);

      String ids = dialog.open();

      if (ids != null && ids.trim().length() > 0)
      {
        for (String id : ids.split(" "))
        {
View Full Code Here

    if (name == null)
    {
      StringInputDialog dialog = new StringInputDialog(main.getShell(), "Highlight By Name",
        "Enter keyword for searching entities", null);

      name = dialog.open();
    }

    // If we have a name, highlight related

    if (name != null && name.trim().length() > 0)
View Full Code Here

    if (refs.isEmpty() && !useSelectedNodes)
    {
      StringInputDialog dialog = new StringInputDialog(main.getShell(), "Query Pathways",
        "Enter UniProt or Entrez Gene ID", null);

      String ids = dialog.open();

      if (ids != null && ids.trim().length() > 0)
      {
        for (String id : ids.split(" "))
        {
View Full Code Here

            "Select pathways to retrieve",
            resultPathways, selectedItems,
            true, true, null);

          dialog.setMinValidSelect(1);
          dialog.open();

          List<String> idList = new ArrayList<String>();

          if (!dialog.isCancelled())
          {
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.