/** @see org.olat.core.gui.control.WindowControl#setError(java.lang.String) */ public void setError(String error) { webappCtrl.getGUIMessage().setError(error); webappCtrl.getGUIMsgPanel().setContent(webappCtrl.getGUIMsgVc()); }
/** @see org.olat.core.gui.control.WindowControl#setWarning(java.lang.String) */ public void setWarning(String warning) { webappCtrl.getGUIMessage().setWarn(warning); webappCtrl.getGUIMsgPanel().setContent(webappCtrl.getGUIMsgVc()); }
/** @see org.olat.core.gui.control.WindowControl#setInfo(java.lang.String) */ public void setInfo(String info) { webappCtrl.getGUIMessage().setInfo(info); webappCtrl.getGUIMsgPanel().setContent(webappCtrl.getGUIMsgVc()); // setInfo is called input guimsgPanel into the correct place }
/** @see org.olat.core.gui.control.WindowControl#pop() */ public void pop() { // reactivate latest dialog from stack, dumping current one webappCtrl.getCurrentGuiStack().popContent(); }
@Override public void pushAsCallout(Component comp, String targetId) { webappCtrl.getCurrentGuiStack().pushCallout(comp, targetId); }
/** * @see org.olat.core.gui.control.WindowControl#pushAsModalDialog(java.lang.String, * org.olat.core.gui.components.Component) */ public void pushAsModalDialog(Component newModalDialog) { webappCtrl.getCurrentGuiStack().pushModalDialog(newModalDialog); }
/** * @see * org.olat.core.gui.control.WindowControl#pushToMainArea(org.olat.core.gui.components.Component) */ public void pushToMainArea(Component newMainArea) { webappCtrl.getCurrentGuiStack().pushContent(newMainArea); }