Examples of displayCancelButton()


Examples of cytoscape.task.ui.JTaskConfig.displayCancelButton()

  public static CySBMLValidator getValidator(SBMLDocument document){
    CySBMLValidatorTask vTask = new CySBMLValidatorTask(document);
    JTaskConfig jTaskConfig = new JTaskConfig();
    jTaskConfig.setOwner(Cytoscape.getDesktop());
    jTaskConfig.displayCloseButton(false);
    jTaskConfig.displayCancelButton(false);
    jTaskConfig.displayStatus(true);
    jTaskConfig.setAutoDispose(true);
    TaskManager.executeTask(vTask, jTaskConfig);
    return vTask.getValidator();
  }
View Full Code Here

Examples of cytoscape.task.ui.JTaskConfig.displayCancelButton()

   
    LoadBioModelTask task = new LoadBioModelTask(id);
    JTaskConfig jTaskConfig = new JTaskConfig();
    jTaskConfig.setOwner(Cytoscape.getDesktop());
    jTaskConfig.displayCloseButton(false);
    jTaskConfig.displayCancelButton(false);
    jTaskConfig.displayStatus(true);
    jTaskConfig.setAutoDispose(true);
    TaskManager.executeTask(task, jTaskConfig);
  }
}
View Full Code Here

Examples of cytoscape.task.ui.JTaskConfig.displayCancelButton()

       
    SearchBioModelTask task = new SearchBioModelTask(content, bmInterface);
    JTaskConfig jTaskConfig = new JTaskConfig();
    jTaskConfig.setOwner(Cytoscape.getDesktop());
    jTaskConfig.displayCloseButton(false);
    jTaskConfig.displayCancelButton(true);
    jTaskConfig.displayStatus(true);
    jTaskConfig.setAutoDispose(true);
    TaskManager.executeTask(task, jTaskConfig);
    return task.getIds();
  }
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.