Package info.unipax.bina.platform.tasks.Tasks

Examples of info.unipax.bina.platform.tasks.Tasks.SequencedTask.addTask()


           
            controller.updateAll(tt)
          }
          else
          {
            tt.addTask(new Task("expand pathway")
            {
              public void run()
              {             
                expandPathway();//look for proteins
              }
View Full Code Here


              {             
                expandPathway();//look for proteins
              }
            });
               
            tt.addTask(new Task("clean map")
            {
              public void run()
              {         
                cleanMap();//delete all groups from the map
              }
View Full Code Here

              {         
                cleanMap();//delete all groups from the map
              }
            });

            tt.addTask(new Task("draw new proteins")
            {
              public void run()
              {
                drawNewProteins();//draw the proteins, that were found
              }
View Full Code Here

              }
            })
           
            controller.updateAll(tt);
           
            tt.addTask(new Task("group new nodes")
            {
              public void run()
              {         
                findNewNodes();//find new nodes, group and draw them           
              }
View Full Code Here

        cleanMap();
        controller.updateAll()
      }
      final SequencedTask t = Tasks.createSequencedTask("Metalayer");
     
      t.addTask(new Task("weit")
      {
        public void run()
        {                   
          controller.getVisualization().addLock(t);
        }
View Full Code Here

        {                   
          controller.getVisualization().addLock(t);
        }
      });
     
      t.addTask(new Task("calculate metalayer")
      {
        public void run()
        {         
          calculateBackground();             
        }
View Full Code Here

        {         
          calculateBackground();             
        }
      });
     
      t.addTask(new Task("draw metalayer")
      {
        public void run()
        {         
          insertBackground();
          controller.getVisualization().removeLock(t);
View Full Code Here

   
    else
    {
      final SequencedTask t = Tasks.createSequencedTask("Metalayer");
     
      t.addTask(new Task("wait")
      {
        public void run()
        {                   
          controller.getVisualization().addLock(t);
        }
View Full Code Here

        {                   
          controller.getVisualization().addLock(t);
        }
      });
     
      t.addTask(new Task("delete metalayer")
      {
        public void run()
        { 
          ListHashMap<Pathway, BasicNodeComponentUI> map = new ListHashMap<Pathway, BasicNodeComponentUI>();
          if (groupList.isEmpty())
View Full Code Here

            }
          }
        }
      });       
     
      t.addTask(new Task("delete metalayer")
      {
        public void run()
        {         
          deleteBackground();             
        }
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.