Examples of MorphologicalService


Examples of org.olat.core.commons.modules.glossary.morphService.MorphologicalService

    if(configuredMS!=null){
      if (!configuredMS.equals(GlossaryItemManager.NO_MS_VALUE)){
        //a MS was configured for this glossary, check if its enabled as bean in global glossary-config
        List morphServices = GlossaryModule.getMorphologicalServices();
        for (Iterator iterator = morphServices.iterator(); iterator.hasNext();) {
          MorphologicalService fsMgr = (MorphologicalService) iterator.next();
          if (fsMgr.getMorphServiceIdentifier().equals(configuredMS)){
            morphService = fsMgr;
            msConfigured = true;
          }
        }
      }
View Full Code Here

Examples of org.olat.core.commons.modules.glossary.morphService.MorphologicalService

    msKeys[0] = GlossaryItemManager.NO_MS_VALUE;
    msValues[0] = translate("settings.no.morph.service");
    if (morphServices!=null){
      int i=1;
      for (Iterator iterator = morphServices.iterator(); iterator.hasNext();) {
        MorphologicalService fsMgr = (MorphologicalService) iterator.next();
        msKeys[i] = fsMgr.getMorphServiceIdentifier();
        msValues[i] = fsMgr.getMorphServiceDescriptor();
        i++;
      }
    }
   
    selectMS = uifactory.addDropdownSingleselect("morph.service", formLayout, msKeys, msValues, msCSS);
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.