Package org.gjt.sp.jedit.gui

Examples of org.gjt.sp.jedit.gui.DockableWindowManager$Entry


        buttonDelete.setEnabled(true);
        buttonChange.setEnabled(true);
        formDataExchange.ChangeButtonEnabled(true);
        buttonGetNext.setEnabled(true);
        if (skDialog.hitShowList){
          DockableWindowManager mgr = ((org.gjt.sp.jedit.View) view).getDockableWindowManager();
          mgr.showDockableWindow("lazy8ledger-databaselist");
          FindInListView iv = (FindInListView) mgr.getDockable("lazy8ledger-databaselist");
          if (iv != null)
            iv.setDataView(dataAccess, this);
        }
      } else {
        buttonClearActionPerformed(evt);


   *  Description of the Method
   *
   * @param  evt  Description of the Parameter
   */
  private void buttonSeekListActionPerformed(java.awt.event.ActionEvent evt) {
    DockableWindowManager mgr = ((org.gjt.sp.jedit.View) view).getDockableWindowManager();
    mgr.showDockableWindow("lazy8ledger-databaselist");
    FindInListView iv = (FindInListView) mgr.getDockable("lazy8ledger-databaselist");
    if (iv == null) {
      return;
    }
    buttonGetFirstActionPerformed(evt);
    iv.setDataView(dataAccess, this);

  //{{{ +buttonExit() : void
  /**
   *  Description of the Method
   */
  public void buttonExit() {
    DockableWindowManager mgr = ((View) view).getDockableWindowManager();
    mgr.removeDockableWindow("lazy8ledger-report");
    EditBus.removeFromBus(this);
    if (cc != null) {
      cc.exit();
    }
  }//}}}

  //{{{ +buttonExit() : void
  /**
   *  Description of the Method
   */
  public void buttonExit() {
    DockableWindowManager mgr = ((View) view).getDockableWindowManager();
    mgr.removeDockableWindow(frameName);
    if (cc != null) {
      cc.exit();
    }
  }//}}}

  /**
   *  Description of the Method
   */
  public void buttonExit() {
    EditBus.removeFromBus(this);
    DockableWindowManager mgr = ((View) view).getDockableWindowManager();
    mgr.removeDockableWindow(frameName);
    if (cc != null) {
      cc.exit();
    }
  }//}}}

        }
        urlString = urltmp.toString();
        if (extention != null && extention.length() != 0) {
          urlString = urlString + "#" + extention;
        }
        DockableWindowManager mgr = view.getDockableWindowManager();
        InfoViewer iv = (InfoViewer) mgr.getDockable("infoviewer");
        if (iv == null) {
          return;
        }
        iv.gotoURL(new URL(urlString), true, -1);
      } catch (Exception e) {

              sleep(6000);}catch(Exception e){}
            SystemLog.InformationPrintln("lazy8ledger is now showing the logviewer window.");
            org.gjt.sp.jedit.jEdit.getFirstView().getDockableWindowManager().showDockableWindow("infoviewer");
            Lazy8Ledger.ShowContextHelp(null,"welcome","");
            if(isFirstTimeStarting){
              DockableWindowManager mgr = org.gjt.sp.jedit.jEdit.getFirstView().getDockableWindowManager();
              InfoViewer iv = (InfoViewer) mgr.getDockable("infoviewer");
              Dimension d=iv.getParent().getSize();
              iv.getParent().setSize(new Dimension(250,(int)d.getHeight()));
            }
          }//}}}
        }.start();

  }

    static void closeDialogsAndPanels() {
    SwingUtilities.invokeLater(new Runnable() {
      public void run() {
        DockableWindowManager dwm = jEdit.getActiveView().getDockableWindowManager();
        dwm.hideDockableWindow("openfilefastdockable");
      }
    });
        for (JDialog dialog : dialogs.values()) {
            dialog.dispose();
        }

TOP

Related Classes of org.gjt.sp.jedit.gui.DockableWindowManager$Entry

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.