org.olat.course.assessment
Class EfficiencyStatementsPortlet

java.lang.Object
  extended by org.olat.core.gui.control.generic.portal.AbstractPortlet
      extended by org.olat.course.assessment.EfficiencyStatementsPortlet
All Implemented Interfaces:
Disposable, Portlet

public class EfficiencyStatementsPortlet
extends AbstractPortlet

Description:
Displays the list of efficiency statements of most used courses

Initial Date: 08.07.2005

Author:
gnaegi

Constructor Summary
EfficiencyStatementsPortlet()
           
 
Method Summary
 Portlet createInstance(WindowControl wControl, UserRequest ureq, java.util.Map configuration)
          Factory method to create a portlet of the current type using the given configuration
 void dispose()
          disposes the disposable
 void disposeRunComponent()
          Dispose the run component and all its resources without disposing the portlet.
 java.lang.String getCssClass()
           
 java.lang.String getDescription()
           
 Component getInitialRunComponent(WindowControl wControl, UserRequest ureq)
          Get the run component of this portlet
 java.lang.String getTitle()
           
 PortletToolController getTools(UserRequest ureq, WindowControl wControl)
          This must be overriden if there are any tools to be exposed.
 
Methods inherited from class org.olat.core.gui.control.generic.portal.AbstractPortlet
getConfiguration, getName, getTranslator, setConfiguration, setName, setTranslator
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EfficiencyStatementsPortlet

public EfficiencyStatementsPortlet()
Method Detail

createInstance

public Portlet createInstance(WindowControl wControl,
                              UserRequest ureq,
                              java.util.Map configuration)
Description copied from interface: Portlet
Factory method to create a portlet of the current type using the given configuration

Returns:
AbstractPortlet
See Also:
org.olat.gui.control.generic.portal.AbstractPortlet#createInstance(org.olat.core.gui.control.WindowControl, org.olat.core.gui.UserRequest, java.util.Map)

getTitle

public java.lang.String getTitle()
Returns:
The (translated) title for the portlet
See Also:
org.olat.gui.control.generic.portal.Portlet#getTitle()

getDescription

public java.lang.String getDescription()
Returns:
The (translated) description for the portlet
See Also:
org.olat.gui.control.generic.portal.Portlet#getDescription()

getInitialRunComponent

public Component getInitialRunComponent(WindowControl wControl,
                                        UserRequest ureq)
Description copied from interface: Portlet
Get the run component of this portlet

Returns:
Component
See Also:
org.olat.gui.control.generic.portal.Portlet#getInitialRunComponent(org.olat.core.gui.control.WindowControl, org.olat.core.gui.UserRequest)

dispose

public void dispose()
Description copied from interface: Disposable
disposes the disposable

See Also:
org.olat.core.gui.control.Disposable#dispose(boolean)

getCssClass

public java.lang.String getCssClass()
Returns:
String name of wrapper css class that provides the portlet icon and other styles
See Also:
org.olat.gui.control.generic.portal.Portlet#getCssClass()

disposeRunComponent

public void disposeRunComponent()
Description copied from interface: Portlet
Dispose the run component and all its resources without disposing the portlet.

See Also:
org.olat.gui.control.generic.portal.Portlet#disposeRunComponent(boolean)

getTools

public PortletToolController getTools(UserRequest ureq,
                                      WindowControl wControl)
Description copied from class: AbstractPortlet
This must be overriden if there are any tools to be exposed.

Specified by:
getTools in interface Portlet
Overrides:
getTools in class AbstractPortlet
Returns:
a tools controller for this Portlet. It could be null if the Portlet does't want to provide any additional tools. If you provide tools make sure have a working controller when you switch into the edit mode.
See Also:
org.olat.core.gui.control.generic.portal.Portlet#getTools()