Package org.olat.core.gui.control.generic.popup

Examples of org.olat.core.gui.control.generic.popup.PopupBrowserWindow


        }
      };
      // no need for later disposal, opens in popup window and will be disposed
      // by window manager
      ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, controllerCreator);
      PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice().getWindowManager()
          .createNewPopupBrowserWindowFor(ureq, layoutCtrlr);
      pbw.open(ureq);

    } else if (source == enableInlineTranslationLink) {
      setNewInlineStatus(ureq, true);

    } else if (source == disableInlineTranslationLink) {
View Full Code Here


   *            a creator which is used to create the windows content
   */
  protected PopupBrowserWindow openInNewBrowserWindow(UserRequest ureq,
      ControllerCreator windowContentCreator) {
    // open in new browser window
    PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice()
        .getWindowManager().createNewPopupBrowserWindowFor(ureq,
            windowContentCreator);
    pbw.open(ureq);
    return pbw;
  }
View Full Code Here

        return layoutCtr;
      }         
    };
    //wrap the content controller into a full header layout
    ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, ctrlCreator);
    PopupBrowserWindow pbw = wControl.getWindowBackOffice().getWindowManager().createNewPopupBrowserWindowFor(ureq, layoutCtrlr);
    return pbw;             
  }
View Full Code Here

            }         
          };
          //wrap the content controller into a full header layout
          ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, ctrlCreator);
          //open in new browser window
          PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice().getWindowManager().createNewPopupBrowserWindowFor(ureq, layoutCtrlr);
          pbw.open(ureq);
          //
        }
      }
    }
  }
View Full Code Here

          }         
        };
        //wrap the content controller into a full header layout
        ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, ctrlCreator);
        //open in new browser window
        PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice().getWindowManager().createNewPopupBrowserWindowFor(ureq, layoutCtrlr);
        pbw.open(ureq);
        //
      }
    }
    // nothing to dispatch
  }
View Full Code Here

            }         
          };
          //wrap the content controller into a full header layout
          ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, ctrlCreator);
          //open in new browser window
          PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice().getWindowManager().createNewPopupBrowserWindowFor(ureq, layoutCtrlr);
          pbw.open(ureq);
          //
        }
      }
    }
  }
View Full Code Here

        }         
      };
      //wrap the content controller into a full header layout
      ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, ctrlCreator);
      //open in new browser window
      PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice().getWindowManager().createNewPopupBrowserWindowFor(ureq, layoutCtrlr);
      pbw.open(ureq);
      //
    } else if (source == loginLink) {
      DispatcherAction.redirectToDefaultDispatcher(ureq.getHttpResp());
    }
View Full Code Here

        }         
      };
      //wrap the content controller into a full header layout
      ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, ctrlCreator);
      //open in new browser window
      PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice().getWindowManager().createNewPopupBrowserWindowFor(ureq, layoutCtrlr);
      pbw.open(ureq);
      //
    }

  }
View Full Code Here

        }         
      };
      //wrap the content controller into a full header layout
      ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, ctrlCreator);
      //open in new browser window
      PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice().getWindowManager().createNewPopupBrowserWindowFor(ureq, layoutCtrlr);
      pbw.open(ureq);
      //
    }
  }
View Full Code Here

          content.contextPut("hasInlineForum", Boolean.TRUE);
          content.put("forum", forumCtr.getInitialComponent());
        } else {
          content.contextPut("hasInlineForum", Boolean.FALSE);         
          TitleInfo titleInfo = new TitleInfo(translate("dialog.selected.element"), selectedElement.getFilename());
          PopupBrowserWindow pbw = ForumUIFactory.getPopupableForumController(ureq, getWindowControl(), forum, forumCallback, titleInfo);
          pbw.open(ureq);
        }

      } else if (command.equals(ACTION_SHOW_FILE)) {
        doFileDelivery(ureq, entry.getForumKey());
      } else if (command.equals(ACTION_DELETE_ELEMENT)) {
View Full Code Here

TOP

Related Classes of org.olat.core.gui.control.generic.popup.PopupBrowserWindow

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.