Examples of DockHolder


Examples of de.yaams.maker.helper.gui.dock.DockHolder

    }

    // build it

    // build content
    DockHolder d = new DockHolder("project.home", elements.keySet().size(), 1);

    // add content
    for (String key : elements.keySet()) {
      ArrayList<BasicObjectManager> list = elements.get(key);
      DockLinkPanel dlp = new DockLinkPanel();
      dlp.setDock(d);
      for (final BasicObjectManager bom : list) {

        // add basic
        dlp.addLink(bom.getTitle(), bom.getIcon(), bom.getDesc() == null ? null : "<html>" + bom.getDesc(), new AE() {

          @Override
          public void run() {
            YaFrame.open(bom.getTabId());

          }
        });

      }
      dlp.buildGui(list.get(0).getGroup(), "yaams", false);
      d.add(dlp);
    }

    JPanel cont = new JPanel(new BorderLayout());
    cont.add(d, BorderLayout.CENTER);
View Full Code Here

Examples of de.yaams.maker.helper.gui.dock.DockHolder

   *
   * @return
   */
  public static DockHolder createBottomDock(String help) {
    // build links
    DockHolder d = new DockHolder("home", 3, 1);
    // DockLinkPanel dlp = new DockLinkPanel();
    // dlp.addLink(I18N.t("Options"), "opts", new AE() {
    //
    // @Override
    // public void run() {
    // YaFrame.open(HomeTab.OPTIONS);
    //
    // }
    // });
    // dlp.addLink(I18N.t("Plugins"), "plugin", new AE() {
    //
    // @Override
    // public void run() {
    // BasicTabEvent.openPlugin();
    //
    // }
    // });
    // dlp.addLink(I18N.t("Feedback"), "mail_web", new AE() {
    //
    // @Override
    // public void run() {
    // BasicTabEvent.openFeedback();
    //
    // }
    // });
    // d.add(dlp);
    // dlp.buildGui(I18N.t("Basis Optionen"), "yaams", false);
    //
    d.add(new DockInfoPanel(I18N.t("Erste Schritte"), help));
    //
    // add messages
    // DockRSSPanel p = new
    // DockRSSPanel("http://www.yaams.de/cms/?q=news.xml", "news", 3);
    // d.add(p);
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.