org.olat.core.gui.control.generic.dtabs
Interface DTabs


public interface DTabs

Description:
Initial Date: 19.07.2005

Author:
Felix Jost

Method Summary
 void activate(UserRequest ureq, DTab dTab, java.lang.String viewIdentifier)
           
 void activateStatic(UserRequest ureq, java.lang.String className, java.lang.String viewIdentifier)
          FIXME:fj:b change string arg to class
 void addDTab(DTab dt)
          adds the tab.
 DTab createDTab(OLATResourceable ores, java.lang.String title)
           
 DTab getDTab(OLATResourceable ores)
           
 void removeDTab(DTab dt)
          Remove a tab from tabs-list.
 

Method Detail

getDTab

DTab getDTab(OLATResourceable ores)
Parameters:
ores -
Returns:
the tab

createDTab

DTab createDTab(OLATResourceable ores,
                java.lang.String title)
Parameters:
ores -
title -
Returns:
the tab or null if the headerbar is full. if null, the implementation of the DTabs should issue a warning to the current windowcontrol

activate

void activate(UserRequest ureq,
              DTab dTab,
              java.lang.String viewIdentifier)
Parameters:
ureq -
dTab -
viewIdentifier - if null, no activation takes places

activateStatic

void activateStatic(UserRequest ureq,
                    java.lang.String className,
                    java.lang.String viewIdentifier)
FIXME:fj:b change string arg to class

Parameters:
ureq -
className - the name of the class implementing the siteinstance we would like to activate
viewIdentifier - the subcommand (see docu of each controller implementing Activatable

addDTab

void addDTab(DTab dt)
adds the tab. (upon Event.DONE of the contained controller && if controller is DTabAware -> controller.dispose called by dtabs)

Parameters:
dt -

removeDTab

void removeDTab(DTab dt)
Remove a tab from tabs-list.

Parameters:
dt - Remove this tab