Examples of PackageTranslator


Examples of org.olat.core.gui.translator.PackageTranslator

   * @param imageBaseUri
   */
  //o_clusterOK by:se synchronized on MacartneyPortlet class as olatresourceable
  protected MacartneyPortletRunController(UserRequest ureq, WindowControl wControl, Map configuration) {
    super(wControl);
    this.trans = new PackageTranslator(Util.getPackageName(MacartneyPortlet.class), ureq.getLocale());
    this.macartneyVC = new VelocityContainer("macartneyVC", VELOCITY_ROOT + "/macartneyPortlet.html", trans, this);

    if (comicStartDate == 0) {
      CoordinatorManager.getCoordinator().getSyncer().doInSync(
          OresHelper.createOLATResourceableType(MacartneyPortletRunController.class.getSimpleName()),
View Full Code Here

Examples of org.olat.core.gui.translator.PackageTranslator

   * @param wControl
   */
  public AddNewQTIDocumentController(String type, RepositoryAddCallback addCallback, UserRequest ureq, WindowControl wControl) {
    super(wControl);   
    this.type = type;
    this.translator = new PackageTranslator(PACKAGE_REPOSITORY, ureq.getLocale());
    this.locale = ureq.getLocale();
    if (type.equals(AssessmentInstance.QMD_ENTRY_TYPE_ASSESS)) {
      resource = new TestFileResource();
    } else if (type.equals(AssessmentInstance.QMD_ENTRY_TYPE_SURVEY)) {
      resource = new SurveyFileResource();
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.