org.olat.course.nodes.cp
Class CPCourseNodeConfiguration

java.lang.Object
  extended by org.olat.course.nodes.cp.CPCourseNodeConfiguration
All Implemented Interfaces:
OLATExtension, CourseNodeConfiguration

public class CPCourseNodeConfiguration
extends java.lang.Object
implements CourseNodeConfiguration, OLATExtension

Description:
TODO: guido Class Description for CPCourseNodeConfiguration


Constructor Summary
CPCourseNodeConfiguration()
           
 
Method Summary
 java.lang.String getAlias()
           
 ExtensionResource getExtensionCSS()
          The extension may provider a CSS.
 java.util.List getExtensionResources()
          The extension may provide a list of Resources.
 java.lang.String getIconCSSClass()
           
 CourseNode getInstance()
           
 java.lang.String getLinkCSSClass()
           
 java.lang.String getLinkText(java.util.Locale locale)
           
 java.lang.String getName()
          Return a name of this extension.
 void setExtensionResourcesBaseURI(java.lang.String ubi)
           
 void setup()
          Called after OLAT fully started up.
 void tearDown()
          Called before OLAT shuts down.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPCourseNodeConfiguration

public CPCourseNodeConfiguration()
Method Detail

getInstance

public CourseNode getInstance()
Specified by:
getInstance in interface CourseNodeConfiguration

getLinkText

public java.lang.String getLinkText(java.util.Locale locale)
Specified by:
getLinkText in interface CourseNodeConfiguration
See Also:
CourseNodeConfiguration.getLinkText(java.util.Locale)

getIconCSSClass

public java.lang.String getIconCSSClass()
Specified by:
getIconCSSClass in interface CourseNodeConfiguration
See Also:
org.olat.course.nodes.CourseNodeConfiguration#getCSSClass()

getLinkCSSClass

public java.lang.String getLinkCSSClass()
Specified by:
getLinkCSSClass in interface CourseNodeConfiguration
See Also:
CourseNodeConfiguration.getLinkCSSClass()

getAlias

public java.lang.String getAlias()
Specified by:
getAlias in interface CourseNodeConfiguration

getName

public java.lang.String getName()
Description copied from interface: OLATExtension
Return a name of this extension. This is for identifying the extension only.

Specified by:
getName in interface OLATExtension
Returns:

getExtensionResources

public java.util.List getExtensionResources()
Description copied from interface: OLATExtension
The extension may provide a list of Resources. These resources will get deployed to a local directory from which they will be accessible via the web through the URLBuilder provided by setURLBuilder.

Specified by:
getExtensionResources in interface OLATExtension
Returns:
A List (may be empty, but not null)
See Also:
OLATExtension.getExtensionResources()

getExtensionCSS

public ExtensionResource getExtensionCSS()
Description copied from interface: OLATExtension
The extension may provider a CSS. The CSS will be included in the OLAT main header.

Specified by:
getExtensionCSS in interface OLATExtension
Returns:
See Also:
OLATExtension.getExtensionCSS()

setExtensionResourcesBaseURI

public void setExtensionResourcesBaseURI(java.lang.String ubi)
See Also:
org.olat.core.extensions.OLATExtension#setURLBuilder(org.olat.core.gui.render.URLBuilder)

setup

public void setup()
Description copied from interface: OLATExtension
Called after OLAT fully started up.

Specified by:
setup in interface OLATExtension
See Also:
OLATExtension.setup()

tearDown

public void tearDown()
Description copied from interface: OLATExtension
Called before OLAT shuts down.

Specified by:
tearDown in interface OLATExtension
See Also:
OLATExtension.tearDown()