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

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


    f.addElement("basic.type", new FormComboBox(I18N.t("Typ"), key, title).selectField(p == null ? null : p.getType().getType()));

    // add crypto
    if (YLevel.IS_ADVANCED) {
      f.addHeader("sec", new FormHeader(I18N.t("Sicherheit"), "lock").setCollapsed(true));

      // load infos
      final boolean cryp = p != null && p.getCache() != null && p.getCache().containsKey("projecttype");

      // add info
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

      // 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() {

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

      @Override
      public void work(HashMap<String, Object> objects) {
        FormBuilder f = (FormBuilder) objects.get("form");

        // add it
        f.addHeader("plugins", new FormHeader(I18N.t("Plugins"), "plugin").setColumn(4));
        f.addElement("plugins.inet", YSettingHelper.bool(null, I18N.t("Internetzugriff aktivieren"), "net.access", true));
        f.addElement(AUTO, YSettingHelper.bool(null, I18N.t("Autom. Installation von Plugins"), AUTO, true));
        f.addElement(CHECK, YSettingHelper.combo(null, I18N.t("Updatecheck"), CHECK, "168", new String[] { "0", "24", "168", "714",
            "-1" }, new String[] { "Bei jedem Start", "Täglich", "Wöchentlich", "Monatlich", "Manuelle Prüfung" }));
      }
View Full Code Here

              I18N.t("Füge hier deine eMailadresse ein, wenn du eine Antwort wünscht oder Nachfragen erlaubst.")));
      f.addElement("basic.details", new FormTextArea(I18N.t("Ablauf"), "").setInfoTxt(I18N
          .t("Schreibe hier rein, was passiert ist, was du getan hast, wie es zu dem Fehler gekommen ist.")));

      // add details
      f.addHeader("error", new FormHeader(I18N.t("Details"), icon).setCollapsed(true));
      f.addElement("error.class", new FormTextField(I18N.t("Class"), t.getClass().toString()));
      f.addElement("error.mess", new FormTextField(I18N.t("Message"), YEx.toString(title, t, false)));
      f.addElement("error.stack", new FormTextArea(I18N.t("Stack"), Strings.stackStraceAsString(t)));

      task.setInstruction(I18N.t("{0}bericht einsenden", typ));
View Full Code Here

   * @return
   */
  public static Component addInfo() {
    // build form
    final FormBuilder f = new FormBuilder(OPTIONS_INFO);
    f.addHeader("basic", new FormHeader(I18N.t("Basics"), "info").setColumn(4));

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

    if (YLevel.IS_ADVANCED) {
      f.addElement("basic.path", new FormTextField(I18N.t("Optionen"), YAamsCore.programPath.getAbsolutePath()));
View Full Code Here

              + FileHelper.humanReadableByteCount(Runtime.getRuntime().totalMemory(), false) + " ("
              + FileHelper.humanReadableByteCount(Runtime.getRuntime().maxMemory(), false) + ")"));
    }

    // 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
View Full Code Here

    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"));
    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

    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
    f.addHeader("thx", new FormHeader(I18N.t("Vielen Dank an"), "java").setColumn(8));
    f.addElement("thx.apachecommon", new FormLink("Apache Commons", "http://commons.apache.org"));
    f.addElement("thx.jidesoft", new FormLink("Jidesoft", "http://www.jidesoft.com"));
    f.addElement("thx.swingx", new FormLink("SwingX", "http://www.swinglibs.com"));
    f.addElement("thx.flamingo", new FormLink("Flamingo", "https://flamingo.dev.java.net"));
    f.addElement("thx.log4j", new FormLink("Log4J", "http://logging.apache.org/log4j/"));
View Full Code Here

   * @return
   */
  public static Component addSystem() {
    // build form
    final FormBuilder f = new FormBuilder("options.system");
    f.addHeader("basic", new FormHeader(I18N.t("Basics"), "opts"));

    f.addElement(
        "basic.level",
        YSettingHelper
            .combo(null,
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.