Examples of NavigationPanel


Examples of com.gitblit.wicket.panels.NavigationPanel

    // register the available page links for this page and user
    registeredPages = registerPages();

    // standard page links
    List<PageRegistration> pages = new ArrayList<PageRegistration>(registeredPages.values());
    NavigationPanel navigationPanel = new NavigationPanel("repositoryNavPanel", getRepoNavPageClass(), pages);
    add(navigationPanel);

    add(new ExternalLink("syndication", SyndicationServlet.asLink(getRequest()
        .getRelativePathPrefixToContextRoot(), repositoryName, null, 0)));
View Full Code Here

Examples of com.gitblit.wicket.panels.NavigationPanel

      if (!authenticateView || (authenticateView && GitBlitWebSession.get().isLoggedIn())) {
        addDropDownMenus(pages);
      }
    }

    NavigationPanel navPanel = new NavigationPanel("navPanel", getRootNavPageClass(), pages);
    add(navPanel);

    // display an error message cached from a redirect
    String cachedMessage = GitBlitWebSession.get().clearErrorMessage();
    if (!StringUtils.isEmpty(cachedMessage)) {
View Full Code Here

Examples of com.gitblit.wicket.panels.NavigationPanel

    // register the available navigation links for this page and user
    List<NavLink> navLinks = registerNavLinks();

    // standard navigation links
    NavigationPanel navigationPanel = new NavigationPanel("repositoryNavPanel", getRepoNavPageClass(), navLinks);
    add(navigationPanel);

    add(new ExternalLink("syndication", SyndicationServlet.asLink(getRequest()
        .getRelativePathPrefixToContextRoot(), getRepositoryName(), null, 0)));
View Full Code Here

Examples of com.gitblit.wicket.panels.NavigationPanel

      for (NavLinkExtension ext : extensions) {
        navLinks.addAll(ext.getNavLinks(user));
      }
    }

    NavigationPanel navPanel = new NavigationPanel("navPanel", getRootNavPageClass(), navLinks);
    add(navPanel);

    // display an error message cached from a redirect
    String cachedMessage = GitBlitWebSession.get().clearErrorMessage();
    if (!StringUtils.isEmpty(cachedMessage)) {
View Full Code Here

Examples of cysbml.gui.NavigationPanel

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

Examples of cysbml.gui.NavigationPanel

      }
  }
 
  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

Examples of cysbml.gui.NavigationPanel

    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

Examples of cysbml.gui.NavigationPanel

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

Examples of cysbml.gui.NavigationPanel

    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

Examples of net.datacrow.console.components.panels.NavigationPanel

       
        JScrollPane sp = new JScrollPane(tblTabs);
        sp.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
        sp.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
       
        NavigationPanel panelNav = new NavigationPanel(tblTabs);
        tblTabs.setDynamicLoading(false);
        tblTabs.activate();
       
        panelTable.add(sp,  Layout.getGBC( 0, 0, 1, 1, 20.0, 20.0
                ,GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH,
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.