Examples of FormLink


Examples of de.yaams.maker.helper.gui.form.FormLink

    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/"));
    f.addElement("thx.ini4j", new FormLink("Ini4J", "http://ini4j.sourceforge.net"));
    f.addElement("thx.taskdialog", new FormLink("TaskDialog", "http://code.google.com/p/oxbow/"));
    f.addElement("thx.miglayout", new FormLink("MigLayout", "http://www.miglayout.com"));
    f.addElement("thx.xstream", new FormLink("XStream", "http://xstream.codehaus.org"));
    f.addElement("thx.fugueicons", new FormLink("Fugue Icons", "http://p.yusukekamiyamane.com/"));
    f.addElement("thx.crystalproject", new FormLink("Crystal Project", "http://crystalxp.net"));
    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() {
View Full Code Here

Examples of de.yaams.maker.helper.gui.form.FormLink

    ExtentionManagement.add(OptionsTab.OPTIONS_INFO, new IExtension() {

      @Override
      public void work(HashMap<String, Object> objects) {
        FormBuilder f = (FormBuilder) objects.get("form");
        f.addElement("thx.jruby", new FormLink("JRuby", "http://www.jruby.org"));

      }
    });
  }
View Full Code Here

Examples of de.yaams.maker.helper.gui.form.FormLink

    // add thanks
    ExtentionManagement.add("form.options.info", new IExtension() {

      @Override
      public void work(HashMap<String, Object> objects) {
        ((FormBuilder) objects.get("form")).addElement("thx.substance", new FormLink("Substance", "https://substance.dev.java.net/"));

      }
    });
  }
View Full Code Here

Examples of de.yaams.maker.helper.gui.form.FormLink

    ExtentionManagement.add(OptionsTab.OPTIONS_INFO, new IExtension() {

      @Override
      public void work(HashMap<String, Object> objects) {
        FormBuilder f = (FormBuilder) objects.get("form");
        f.addElement("thx.colorpicker", new FormLink("javagraphics for Color Picker",
            "http://javagraphics.blogspot.com/2007/04/jcolorchooser-making-alternative.html"));

      }
    });
View Full Code Here

Examples of de.yaams.maker.helper.gui.form.FormLink

    ExtentionManagement.add(OptionsTab.OPTIONS_INFO, new IExtension() {

      @Override
      public void work(HashMap<String, Object> objects) {
        FormBuilder f = (FormBuilder) objects.get("form");
        f.addElement("thx.imageeditor", new FormLink("JH Labs for ImageEditor", "http://www.jhlabs.com/ie/index.html"));

      }
    });

    // add panel
View Full Code Here

Examples of org.olat.core.gui.components.form.flexible.elements.FormLink

    for (I18nItem item : i18nItems) {
      if (!item.getBundleName().equals(currentBundleName)) {
        currentBundleName = item.getBundleName();
        String linkName = "translateBundle_" + currentBundleName;
        String label = (customizingMode ? "generic.customize.translateButton" : "generic.translateButton");
        FormLink bundleTranslateButton = new FormLinkImpl(linkName, linkName, label, Link.BUTTON_SMALL);
        bundleTranslateButton.setUserObject(item); // use first item of bundle
        formLayout.add(bundleTranslateButton);
        bundlesCount++;
      }
    }
    // Add all the items to velocity
View Full Code Here

Examples of org.olat.core.gui.components.form.flexible.elements.FormLink

      TranslationToolI18nItemEditCrumbController i18nItemEditCrumbCtr = new TranslationToolI18nItemEditCrumbController(ureq,
          getWindowControl(), i18nItems, referenceLocale, customizingMode);
      activateAndListenToChildCrumbController(i18nItemEditCrumbCtr);

    } else if (source instanceof FormLink) {
      FormLink link = (FormLink) source;
      TranslationToolI18nItemEditCrumbController i18nItemEditCrumbCtr = new TranslationToolI18nItemEditCrumbController(ureq,
          getWindowControl(), i18nItems, referenceLocale, customizingMode);
      activateAndListenToChildCrumbController(i18nItemEditCrumbCtr);
      // Set item from link as to be activated item
      I18nItem firstBundleItem = (I18nItem) link.getUserObject();
      i18nItemEditCrumbCtr.initialzeI18nitemAsCurrentItem(ureq, firstBundleItem);
    }
  }
View Full Code Here

Examples of org.olat.core.gui.components.form.flexible.elements.FormLink

   */
  public FormItem getStepTitle(){
    if(i18nStepTitle == null){
      throw new AssertException("no i18n key set for step title, or getStepTitle() not overridden.");
    }
    FormLink fl = new FormLinkImpl(i18nStepTitle, i18nStepTitle);
    fl.setTranslator(getTranslator());
    return fl;
  }
View Full Code Here

Examples of org.olat.core.gui.components.form.flexible.elements.FormLink

  @Override
  protected void formInnerEvent(UserRequest ureq, FormItem source, FormEvent event) {
    if (source instanceof FormLink) {
      // a delete link has been pressed, remove textElement and synonym
      FormLink delButton = (FormLink) source;
      String synonymToDelete = (String) delButton.getUserObject();
      glossItemSynonyms.remove(synonymToDelete);
      createOrUpdateSynonymLayout(this.flc, glossItemSynonyms);
   
  }
View Full Code Here

Examples of org.olat.core.gui.components.form.flexible.elements.FormLink

      synonymTextElementList.add(tmpSynonymTE);
    }

    // add delete-links for existing synonyms
    for (int linkNum = 1; linkNum < glossItemSynonymsToUse.size() + 1; linkNum++) {
      FormLink tmpRemoveButton = formUIf.addFormLink(CMD_DELETE_SYNONYM + linkNum, tmpLayout, Link.BUTTON_XSMALL);
      tmpRemoveButton.setUserObject(glossItemSynonymsToUse.get(linkNum - 1));
      tmpRemoveButton.setI18nKey("synonym.link.delete");
    }

    // add input field for new synonym
    newSynonymField = formUIf.addTextElement("synonym.inputfield", "glossary.term.synonym", 100, "", tmpLayout);
    newSynonymField.setVisible(true);
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.