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

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


      }));
    }

    // add buttons
    // add button
    f.addButton("change", YFactory.installTooltip(YFactory.b(I18N.t("Wechseln"), "reload", new AE() {

      @Override
      public void run() {
        for (String key : PluginLoader.getPlugins().keySet()) {
          JCheckBox c = (JCheckBox) f.getElement("basic." + key + "_box").getElement();
View Full Code Here


      }
    }), I18N.t("Wechselt den Stand der ausgewählten Plugins"), "reload"));

    // add button
    f.addButton("check", YFactory.b(I18N.t("Online prüfen"), "search", new AE() {

      @Override
      public void run() {
        PluginLoader.installOnlineInfo(true);
        // update plugin view
View Full Code Here

      }
    }));

    // add button
    if (YLevel.IS_ADVANCED) {
      f.addButton("folder", YFactory.b(I18N.t("Pluginordner"), "folder_search", new AE() {

        @Override
        public void run() {
          SystemHelper.viewFile(PluginLoader.folder);
        }
View Full Code Here

        public void run() {
          SystemHelper.viewFile(PluginLoader.folder);
        }
      }));
      // add button
      f.addButton("enable", YFactory.b(I18N.t("Aktivieren"), "add", new AE() {

        @Override
        public void run() {
          // inform user
          if (checkSelected()) {
View Full Code Here

          }
        }
      }));

      // add button
      f.addButton("disable", YFactory.b(I18N.t("Deaktivieren"), "del", new AE() {

        @Override
        public void run() {
          // inform user
          if (checkSelected()) {
View Full Code Here

        }
      }));
    }

    // add button
    f.addButton("del", YFactory.b(I18N.t("Deinstallieren"), "plugin_del", new AE() {

      @Override
      public void run() {
        // inform user
        if (checkSelected()) {
View Full Code Here

        }
      }
    }));

    // add button
    f.addButton("install", YFactory.installTooltip(YFactory.b(I18N.t("Installieren"), "setup", new AE() {

      @Override
      public void run() {
        // inform user
        if (checkSelected()) {
View Full Code Here

        }
      }
    }), I18N.t("Installiert bzw. aktualisiert die Ausgewählten"), "setup"));

    // add button
    f.addButton("open", YFactory.installTooltip(YFactory.b(I18N.t("Importieren"), "folder", new AE() {

      @Override
      public void run() {
        File[] fl = EditorIntegration.openDialog(true, false, new FileFilter() {
View Full Code Here

    f.addElement("thx.faenza", new FormLink("Faenza", "http://tiheum.deviantart.com/art/Faenza-Icons-173323228"));
    f.addElement("thx.install4j", new FormLink("install4j", "http://www.ej-technologies.com/products/install4j/overview.html"));

    // add open buttons
    if (YLevel.IS_ADVANCED) {
      f.addButton("opts", YFactory.b(I18N.t("Öffne Optionen Ordner"), "opts_folder", new AE() {

        @Override
        public void run() {
          SystemHelper.viewFile(YAamsCore.programPath);
View Full Code Here

        public void run() {
          SystemHelper.viewFile(YAamsCore.programPath);

        }
      }));
      f.addButton("tmp", YFactory.b(I18N.t("Öffne Temp Ordner"), "open", new AE() {

        @Override
        public void run() {
          SystemHelper.viewFile(YAamsCore.tmpFolder);
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.