code: public void init(CmsBinaryPreviewHandler handler) {
  
          m_handler = handler;
          final CmsPropertiesTab propTab = new CmsPropertiesTab(m_galleryMode, m_dialogHeight, m_dialogWidth, m_handler);
          m_selectButton.addClickHandler(new ClickHandler() {
  
              public void onClick(ClickEvent event) {
  
                  saveChanges(null);
  
              }
          });
          m_propertiesTab = propTab;
          m_tabbedPanel.add(m_propertiesTab, Messages.get().key(Messages.GUI_PREVIEW_TAB_PROPERTIES_0));
      }
docs: Initializes the preview.<p>
  
  @param handler the preview handler