Package cysbml.gui

Examples of cysbml.gui.NavigationPanel


    }
   
  }
 
  protected void updateNavigationPanel(CyNetwork network){
    NavigationPanel panel = NavigationPanel.getInstance();
    panel.putSBMLDocument(network.getIdentifier(), document, network);
  }
View Full Code Here


      }
  }
 
  public void displayReactionsInCurrentSBMLDocument(){
    // Get the current SBML document via Singleton instance of the navigatin panel
    NavigationPanel panel = NavigationPanel.getInstance();
    SBMLDocument doc = panel.getCurrentSBMLDocument();
   
    // Work with the current SBML document
    String text = null;
    if (doc == null){
      text = "No SBML document available for current network";
View Full Code Here

    super("", icon);
    this.putValue(Action.SHORT_DESCRIPTION, CySBML.NAME + " Hide/Show Panel");
  }
   
    public void actionPerformed(ActionEvent ae) {
      NavigationPanel navPanel = NavigationPanel.getInstance();
      if (navPanel.isActive()){
        navPanel.deactivate();
      }else{
        navPanel.activate();
      }
    }     
View Full Code Here

    updateNavigationPanel(network);
  }
 
  @Override
  public void updateNavigationPanel(CyNetwork network){
    NavigationPanel cySBMLPanel = NavigationPanel.getInstance();
    cySBMLPanel.putSBMLDocumentForLayout(getNetworkName(), document, network, layout);
  }
View Full Code Here

    VisualStyleManager.setVisualStyleForNetwork(network, CustomStyle.GRN_STYLE);
  }
 
  @Override
  public void updateNavigationPanel(CyNetwork network){
    NavigationPanel panel = NavigationPanel.getInstance();
    panel.putSBMLDocumentForGRN(getNetworkName(), document, network);
 
View Full Code Here

TOP

Related Classes of cysbml.gui.NavigationPanel

Copyright © 2018 www.massapicom. 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.