Package de.yaams.maker.helper.gui.form.core

Examples of de.yaams.maker.helper.gui.form.core.FormBuilder.addElement()


    b.addElement("basic.name", new FormInfo(I18N.t("Info"), getDesc()).setSorting(-1));
    b.addElement("basic.author", new FormInfo(I18N.t("Autor"), getElement("author", "unknown")));
    if (YLevel.IS_ADVANCED) {
      b.addElement("basic.folder", new FormTextField(I18N.t("Path"), path.getAbsolutePath()));
    }
    b.addElement("basic.status", new FormSwing(I18N.t("Status"), status));
    b.addElement("basic.hp", new FormTextField(I18N.t("Homepage"), getElement("homepage", "-")));
    b.addElement("basic.version", new FormInfo(I18N.t("Inst. Version"), getElement("version", "0")));
    b.addElement("basic.versiono", new FormInfo(I18N.t("Online Version"), getOnlineElement("version", "0")));
    return b;
  }
View Full Code Here


    b.addElement("basic.author", new FormInfo(I18N.t("Autor"), getElement("author", "unknown")));
    if (YLevel.IS_ADVANCED) {
      b.addElement("basic.folder", new FormTextField(I18N.t("Path"), path.getAbsolutePath()));
    }
    b.addElement("basic.status", new FormSwing(I18N.t("Status"), status));
    b.addElement("basic.hp", new FormTextField(I18N.t("Homepage"), getElement("homepage", "-")));
    b.addElement("basic.version", new FormInfo(I18N.t("Inst. Version"), getElement("version", "0")));
    b.addElement("basic.versiono", new FormInfo(I18N.t("Online Version"), getOnlineElement("version", "0")));
    return b;
  }
View Full Code Here

    if (YLevel.IS_ADVANCED) {
      b.addElement("basic.folder", new FormTextField(I18N.t("Path"), path.getAbsolutePath()));
    }
    b.addElement("basic.status", new FormSwing(I18N.t("Status"), status));
    b.addElement("basic.hp", new FormTextField(I18N.t("Homepage"), getElement("homepage", "-")));
    b.addElement("basic.version", new FormInfo(I18N.t("Inst. Version"), getElement("version", "0")));
    b.addElement("basic.versiono", new FormInfo(I18N.t("Online Version"), getOnlineElement("version", "0")));
    return b;
  }

  /**
 
View Full Code Here

      b.addElement("basic.folder", new FormTextField(I18N.t("Path"), path.getAbsolutePath()));
    }
    b.addElement("basic.status", new FormSwing(I18N.t("Status"), status));
    b.addElement("basic.hp", new FormTextField(I18N.t("Homepage"), getElement("homepage", "-")));
    b.addElement("basic.version", new FormInfo(I18N.t("Inst. Version"), getElement("version", "0")));
    b.addElement("basic.versiono", new FormInfo(I18N.t("Online Version"), getOnlineElement("version", "0")));
    return b;
  }

  /**
   * Get the loading status
View Full Code Here

    // form
    FormBuilder f = new FormBuilder("project.left");

    // add basics
    f.addHeader("main", new FormHeader(YAamsCore.NAME, "yaams").setSorting(-2));
    f.addElement("main.opts", new FormButton(I18N.t("Options"), "opts", new AE() {

      @Override
      public void run() {
        YaFrame.open(HomeTab.OPTIONS);
View Full Code Here

      public void run() {
        YaFrame.open(HomeTab.OPTIONS);

      }
    }));
    f.addElement("main.plugins", new FormButton(I18N.t("Plugins"), "plugin", new AE() {

      @Override
      public void run() {
        BasicTabEvent.openPlugin();
View Full Code Here

      public void run() {
        BasicTabEvent.openPlugin();

      }
    }).setSorting(1));
    f.addElement("main.feedback", new FormButton(I18N.t("Feedback"), "mail_web", new AE() {

      @Override
      public void run() {
        BasicTabEvent.openFeedback();
View Full Code Here

    // has project?
    if (p != null) {

      // main elements
      f.getHeader("basic").setTitle(p.getTitle()).setIcon(p.getIcon()).setCollapsed(true).setSorting(-1);
      f.addElement("basic.type", new FormInfo(I18N.t("Typ"), p.getType().getTitle()));

      // aktions
      f.addHeader("action", new FormHeader(I18N.t("Aktionen"), "mouse"));
      f.addElement("action.tab", new FormButton(I18N.t("Im Tab öffnen"), "tab_arrow", new AE() {
View Full Code Here

      f.getHeader("basic").setTitle(p.getTitle()).setIcon(p.getIcon()).setCollapsed(true).setSorting(-1);
      f.addElement("basic.type", new FormInfo(I18N.t("Typ"), p.getType().getTitle()));

      // aktions
      f.addHeader("action", new FormHeader(I18N.t("Aktionen"), "mouse"));
      f.addElement("action.tab", new FormButton(I18N.t("Im Tab öffnen"), "tab_arrow", new AE() {

        @Override
        public void run() {
          doubleClick();
View Full Code Here

        public void run() {
          doubleClick();

        }
      }).setSorting(-2));
      f.addElement("action.edit", new FormButton(I18N.t("Konfigurieren"), "opts", new AE() {

        @Override
        public void run() {
          config();
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.