Package org.olat.core.extensions.action

Examples of org.olat.core.extensions.action.GenericActionExtension


    int cnt = extm.getExtensionCnt();
    int j = 0;
    for (int i = 0; i < cnt; i++) {
      Extension anExt = extm.getExtension(i);
      // check for sites
      GenericActionExtension ae = (GenericActionExtension) anExt.getExtensionFor(className);
      if (ae != null) {
        gtnChild = new GenericTreeNode();
        String menuText = ae.getActionText(getLocale());
        gtnChild.setTitle(menuText);
        gtnChild.setAltText(ae.getDescription(getLocale()));
        gtnChild.setUserObject(ae);
        // load first child on root node
        if (j == 0 && !rootNodeSet) {
          rootTreeNode.setDelegate(gtnChild);
          rootTreeNode.setUserObject(ae);
View Full Code Here

TOP

Related Classes of org.olat.core.extensions.action.GenericActionExtension

Copyright © 2018 www.massapicom. 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.