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

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


    f.addElement("basic.yaams", new FormInfo("", YAamsCore.TITLE));

    if (YLevel.IS_ADVANCED) {
      f.addElement("basic.path", new FormTextField(I18N.t("Optionen"), YAamsCore.programPath.getAbsolutePath()));
      f.addElement("basic.temp", new FormTextField(I18N.t("Temp"), YAamsCore.tmpFolder.getAbsolutePath()));
      f.addElement("basic.system", new FormInfo(I18N.t("System"), SystemUtils.OS_NAME + " " + SystemUtils.OS_VERSION + " "
          + SystemUtils.OS_ARCH));
      f.addElement("basic.log", new FormInfo(I18N.t("Log level"), Log.ger.getLevel().toString()));
      f.addElement("basic.ylevel", new FormInfo(I18N.t("Program level"), YLevel.getName(YLevel.TYP)));
      f.addElement("basic.java", new FormInfo(I18N.t("Java"), SystemUtils.JAVA_RUNTIME_NAME + " " + SystemUtils.JAVA_VENDOR + " "
View Full Code Here


    f.addElement("basic.yaams", new FormInfo("", YAamsCore.TITLE));

    if (YLevel.IS_ADVANCED) {
      f.addElement("basic.path", new FormTextField(I18N.t("Optionen"), YAamsCore.programPath.getAbsolutePath()));
      f.addElement("basic.temp", new FormTextField(I18N.t("Temp"), YAamsCore.tmpFolder.getAbsolutePath()));
      f.addElement("basic.system", new FormInfo(I18N.t("System"), SystemUtils.OS_NAME + " " + SystemUtils.OS_VERSION + " "
          + SystemUtils.OS_ARCH));
      f.addElement("basic.log", new FormInfo(I18N.t("Log level"), Log.ger.getLevel().toString()));
      f.addElement("basic.ylevel", new FormInfo(I18N.t("Program level"), YLevel.getName(YLevel.TYP)));
      f.addElement("basic.java", new FormInfo(I18N.t("Java"), SystemUtils.JAVA_RUNTIME_NAME + " " + SystemUtils.JAVA_VENDOR + " "
          + SystemUtils.JAVA_VERSION));
View Full Code Here

    if (YLevel.IS_ADVANCED) {
      f.addElement("basic.path", new FormTextField(I18N.t("Optionen"), YAamsCore.programPath.getAbsolutePath()));
      f.addElement("basic.temp", new FormTextField(I18N.t("Temp"), YAamsCore.tmpFolder.getAbsolutePath()));
      f.addElement("basic.system", new FormInfo(I18N.t("System"), SystemUtils.OS_NAME + " " + SystemUtils.OS_VERSION + " "
          + SystemUtils.OS_ARCH));
      f.addElement("basic.log", new FormInfo(I18N.t("Log level"), Log.ger.getLevel().toString()));
      f.addElement("basic.ylevel", new FormInfo(I18N.t("Program level"), YLevel.getName(YLevel.TYP)));
      f.addElement("basic.java", new FormInfo(I18N.t("Java"), SystemUtils.JAVA_RUNTIME_NAME + " " + SystemUtils.JAVA_VENDOR + " "
          + SystemUtils.JAVA_VERSION));
      f.addElement(
          "basic.ram",
View Full Code Here

      f.addElement("basic.path", new FormTextField(I18N.t("Optionen"), YAamsCore.programPath.getAbsolutePath()));
      f.addElement("basic.temp", new FormTextField(I18N.t("Temp"), YAamsCore.tmpFolder.getAbsolutePath()));
      f.addElement("basic.system", new FormInfo(I18N.t("System"), SystemUtils.OS_NAME + " " + SystemUtils.OS_VERSION + " "
          + SystemUtils.OS_ARCH));
      f.addElement("basic.log", new FormInfo(I18N.t("Log level"), Log.ger.getLevel().toString()));
      f.addElement("basic.ylevel", new FormInfo(I18N.t("Program level"), YLevel.getName(YLevel.TYP)));
      f.addElement("basic.java", new FormInfo(I18N.t("Java"), SystemUtils.JAVA_RUNTIME_NAME + " " + SystemUtils.JAVA_VENDOR + " "
          + SystemUtils.JAVA_VERSION));
      f.addElement(
          "basic.ram",
          new FormInfo(I18N.t("RAM"), FileHelper.humanReadableByteCount(Runtime.getRuntime().freeMemory(), false) + " / "
View Full Code Here

      f.addElement("basic.temp", new FormTextField(I18N.t("Temp"), YAamsCore.tmpFolder.getAbsolutePath()));
      f.addElement("basic.system", new FormInfo(I18N.t("System"), SystemUtils.OS_NAME + " " + SystemUtils.OS_VERSION + " "
          + SystemUtils.OS_ARCH));
      f.addElement("basic.log", new FormInfo(I18N.t("Log level"), Log.ger.getLevel().toString()));
      f.addElement("basic.ylevel", new FormInfo(I18N.t("Program level"), YLevel.getName(YLevel.TYP)));
      f.addElement("basic.java", new FormInfo(I18N.t("Java"), SystemUtils.JAVA_RUNTIME_NAME + " " + SystemUtils.JAVA_VENDOR + " "
          + SystemUtils.JAVA_VERSION));
      f.addElement(
          "basic.ram",
          new FormInfo(I18N.t("RAM"), FileHelper.humanReadableByteCount(Runtime.getRuntime().freeMemory(), false) + " / "
              + FileHelper.humanReadableByteCount(Runtime.getRuntime().totalMemory(), false) + " ("
View Full Code Here

          + SystemUtils.OS_ARCH));
      f.addElement("basic.log", new FormInfo(I18N.t("Log level"), Log.ger.getLevel().toString()));
      f.addElement("basic.ylevel", new FormInfo(I18N.t("Program level"), YLevel.getName(YLevel.TYP)));
      f.addElement("basic.java", new FormInfo(I18N.t("Java"), SystemUtils.JAVA_RUNTIME_NAME + " " + SystemUtils.JAVA_VENDOR + " "
          + SystemUtils.JAVA_VERSION));
      f.addElement(
          "basic.ram",
          new FormInfo(I18N.t("RAM"), FileHelper.humanReadableByteCount(Runtime.getRuntime().freeMemory(), false) + " / "
              + FileHelper.humanReadableByteCount(Runtime.getRuntime().totalMemory(), false) + " ("
              + FileHelper.humanReadableByteCount(Runtime.getRuntime().maxMemory(), false) + ")"));
    }
View Full Code Here

    }

    // add plugins
    f.addHeader("plugins", new FormHeader(I18N.t("Plugins"), "plugin").setColumn(8));
    for (String key : PluginLoader.getPlugins().keySet()) {
      f.addElement("plugins." + key, new FormInfo("", PluginLoader.get(key).getTitle()));
    }
    if (PluginLoader.getPlugins().keySet().size() <= 1) {
      f.addElement("plugins.znone", new FormInfo("", I18N.t("Keine Plugins gefunden. Installiere zuerst welche")).setInfoTxt(I18N
          .t("Öffne zur Installation den Katalog vom Starttab und wähle die Plugins aus. Danach musst du YAams neustarten.")));
    }
View Full Code Here

    f.addHeader("plugins", new FormHeader(I18N.t("Plugins"), "plugin").setColumn(8));
    for (String key : PluginLoader.getPlugins().keySet()) {
      f.addElement("plugins." + key, new FormInfo("", PluginLoader.get(key).getTitle()));
    }
    if (PluginLoader.getPlugins().keySet().size() <= 1) {
      f.addElement("plugins.znone", new FormInfo("", I18N.t("Keine Plugins gefunden. Installiere zuerst welche")).setInfoTxt(I18N
          .t("Öffne zur Installation den Katalog vom Starttab und wähle die Plugins aus. Danach musst du YAams neustarten.")));
    }
    // add special thanks
    f.addHeader("thankuser", new FormHeader(I18N.t("Speziellen Dank an"), "user").setColumn(4));
    f.addElement("thankuser.studio", new FormInfo("rpg-studio.de", "fürs Hosting, den Server und vieles mehr"));
View Full Code Here

      f.addElement("plugins.znone", new FormInfo("", I18N.t("Keine Plugins gefunden. Installiere zuerst welche")).setInfoTxt(I18N
          .t("Öffne zur Installation den Katalog vom Starttab und wähle die Plugins aus. Danach musst du YAams neustarten.")));
    }
    // add special thanks
    f.addHeader("thankuser", new FormHeader(I18N.t("Speziellen Dank an"), "user").setColumn(4));
    f.addElement("thankuser.studio", new FormInfo("rpg-studio.de", "fürs Hosting, den Server und vieles mehr"));
    f.addElement("thankuser.steve", new FormInfo("Steve", "fürs Entwickeln"));
    f.addElement("thankuser.wolfsmutter", new FormInfo("Wolfsmutter", "fürs Testen und vieles mehr :)"));
    f.addElement("thankuser.evrey", new FormInfo("Evrey", "fürs Testen und ganz viel anderes"));
    f.addElement("thankuser.you", new FormInfo("Du?", "Wenn du willst, entwickle YAams mit! Mitarbeiter immer gesucht!"));
View Full Code Here

          .t("Öffne zur Installation den Katalog vom Starttab und wähle die Plugins aus. Danach musst du YAams neustarten.")));
    }
    // add special thanks
    f.addHeader("thankuser", new FormHeader(I18N.t("Speziellen Dank an"), "user").setColumn(4));
    f.addElement("thankuser.studio", new FormInfo("rpg-studio.de", "fürs Hosting, den Server und vieles mehr"));
    f.addElement("thankuser.steve", new FormInfo("Steve", "fürs Entwickeln"));
    f.addElement("thankuser.wolfsmutter", new FormInfo("Wolfsmutter", "fürs Testen und vieles mehr :)"));
    f.addElement("thankuser.evrey", new FormInfo("Evrey", "fürs Testen und ganz viel anderes"));
    f.addElement("thankuser.you", new FormInfo("Du?", "Wenn du willst, entwickle YAams mit! Mitarbeiter immer gesucht!"));

    // add thanks
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.