Package org.gvt.gui

Examples of org.gvt.gui.ItemSelectionDialog.open()


        500,
        "Pathway Selection Dialog",
        "Select pathways to view",
        allNames, pathways, true, true, null);

      dialog.open();

      if (dialog.isCancelled())
      {
        pathways = null;
        return;
View Full Code Here


      false,
      true,
      null);

    dialog.setDoSort(false);
    dialog.open();

    if(dialog.isCancelled())
    {
      return;
    }
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

        "Select path to visualize",
        pathIDs, new ArrayList<String>(), false, false, new Runner());

      dialog.setUpdateUponSelection(true);
      dialog.setDoSort(false);
      String lastItem = dialog.open();

      if (lastItem == null || !lastItem.equals(ItemSelectionDialog.NONE))
      {
        dialog.runAsIfSelected(ItemSelectionDialog.NONE);
      }
View Full Code Here

          false,
          false,
          new ColoringSelectionRunnable());

        dialog.setUpdateUponSelection(true);
        dialog.open();
      }
    }

    if (type != null)
    {
View Full Code Here

        userSelection,
        true, true, null);

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

      if (!dialog.isCancelled())
      {
        for (String s : userSelection)
        {
View Full Code Here

          false,
          true,
          null);

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

        if (dialog.isCancelled()) type = null;
      }
    }
View Full Code Here

    if (type != null)
    {
      ExperimentDataManagementDialog dialog = new ExperimentDataManagementDialog(
        main, main.getExperimentDataManager(type));

      dialog.open();

      // We do not want to remember this the next time
      type = null;
    }
  }
View Full Code Here

        "Path Selection Dialog",
        "Select path to visualize",
        pathIDs, new ArrayList<String>(), false, false, new Runner());

      dialog.setUpdateUponSelection(true);
      String lastItem = dialog.open();

      // Below lines are responsible for clearing any highlighting after closing the dialog.
      // But we do not want it to disappear. So this is disabled.
//      if (!lastItem.equals(ItemSelectionDialog.NONE))
//      {
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.