Examples of MainPanel


Examples of org.cytoscape.ClusterViz.internal.MainPanel

  public void run(TaskMonitor taskMonitor)
    throws Exception
  {
    synchronized (this) {
      MainPanel mainPanel = null;

      if (!this.mcodeUtil.isOpened()) {
        mainPanel = new MainPanel(this.swingApplication, this.mcodeUtil);
        mainPanel.addAction(this.analyzeAction);

        this.registrar.registerService(mainPanel, CytoPanelComponent.class, new Properties());
        this.analyzeAction.updateEnableState();
      } else {
        mainPanel = this.mcodeUtil.getMainPanel();
View Full Code Here

Examples of org.cytoscape.ClusterViz.internal.MainPanel

  }

  public void run(TaskMonitor taskMonitor) throws Exception
  {
    if ((this.closeAllResultsTask == null) || (this.closeAllResultsTask.close)) {
     MainPanel mainPanel = this.mcodeUtil.getMainPanel();

      if (mainPanel != null) {
        this.registrar.unregisterService(mainPanel, CytoPanelComponent.class);
      }
View Full Code Here

Examples of pdfdb.gui.panels.MainPanel

    /** Initializes the frame.
     * @param connected Whether to connect to the data pipeline.
     * @throws java.sql.SQLException If an error occured. */
    private void init(boolean connected) throws SQLException
    {
        this.panel = new MainPanel(connected);
        this.initSize();
        super.setLayout(new BorderLayout());
        super.add(this.panel, BorderLayout.CENTER);
        super.setTitle("ADRS");
        super.addWindowListener(EventController.getWindowListener());
View Full Code Here

Examples of pdfdb.gui.panels.MainPanel

     * @param source The source of the event. */
    private static void search(Object source)
    {
        JComponent comp = (JComponent) source;
        Component mPanel = Hierarchy.findDirectAncestor(MainPanel.class, comp);
        MainPanel panel = (MainPanel) mPanel;
        panel.addSearchTab(panel.getSearchString(), true);
    }
View Full Code Here

Examples of pdfdb.gui.panels.MainPanel

    /** Opens a PDF.
     * @param source The source of the event. */
    private static void openPdf(Object source)
    {
        JComponent comp = (JComponent) source;
        MainPanel mp1 = (MainPanel) Hierarchy.findDirectAncestor(MainPanel.class,
                comp);
        FileTable table = mp1.getTableForTab(mp1.getSelectedTab());
        IndexableFile f = table.getFile(table.getSelectedRow());
        if (f != null)
        {
            HelperApplicationAccess appAccess = HelperApplicationAccess.
                    getInstance();
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.