Package org.pentaho.mantle.client.solutionbrowser.tabs

Examples of org.pentaho.mantle.client.solutionbrowser.tabs.IFrameTabPanel


      // fix for BISERVER-6027 - on selection, set the focus into a textbox
      // element to allow IE mouse access in these elements
      // this was made native due to BISERVER-7400
      ieFix( ( (IFrameTabPanel) selectedTab.getContent() ).getFrame().getElement() );

      IFrameTabPanel tabPanel = (IFrameTabPanel) selectedTab.getContent();
      if ( tabPanel.getUrl() != null ) {
        onTabSelect( getFrameElement( selectedTab ) );
      }
    }
  }
View Full Code Here


    setEnabled( false );
  }

  @Override
  public void popupClosed( PopupPanel panel ) {
    IFrameTabPanel iframeTab = SolutionBrowserPanel.getInstance().getContentTabPanel().getCurrentFrame();
    if ( iframeTab == null || iframeTab.getFrame() == null ) {
      return;
    }
    Frame currentFrame = iframeTab.getFrame();
    FrameUtils.setEmbedVisibility( currentFrame, true );
  }
View Full Code Here

    FrameUtils.setEmbedVisibility( currentFrame, true );
  }

  @Override
  public void popupOpened( PopupPanel panel ) {
    IFrameTabPanel iframeTab = SolutionBrowserPanel.getInstance().getContentTabPanel().getCurrentFrame();
    if ( iframeTab == null || iframeTab.getFrame() == null ) {
      return;
    }
    Frame currentFrame = iframeTab.getFrame();
    if ( ElementUtils.elementsOverlap( panel.getElement(), currentFrame.getElement() ) ) {
      FrameUtils.setEmbedVisibility( currentFrame, false );
    }
  }
View Full Code Here

    super( autohide );

    // This catches auto-hiding initiated closes
    addCloseHandler( new CloseHandler<PopupPanel>() {
      public void onClose( CloseEvent<PopupPanel> event ) {
        IFrameTabPanel iframeTab = SolutionBrowserPanel.getInstance().getContentTabPanel().getCurrentFrame();
        if ( iframeTab == null || iframeTab.getFrame() == null ) {
          return;
        }
        Frame currentFrame = iframeTab.getFrame();
        FrameUtils.setEmbedVisibility( currentFrame, true );
      }
    } );

    DOM.setElementAttribute( getElement(), "oncontextmenu", "return false;" ); //$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

  @Override
  public void hide() {
    super.hide();

    IFrameTabPanel iframeTab = SolutionBrowserPanel.getInstance().getContentTabPanel().getCurrentFrame();
    if ( iframeTab == null || iframeTab.getFrame() == null ) {
      return;
    }
    Frame currentFrame = iframeTab.getFrame();
    FrameUtils.setEmbedVisibility( currentFrame, true );
  }
View Full Code Here

  }

  @Override
  public void show() {
    super.show();
    IFrameTabPanel iframeTab = SolutionBrowserPanel.getInstance().getContentTabPanel().getCurrentFrame();
    if ( iframeTab == null || iframeTab.getFrame() == null ) {
      return;
    }
    Frame currentFrame = iframeTab.getFrame();
    if ( ElementUtils.elementsOverlap( this.getElement(), currentFrame.getElement() ) ) {
      FrameUtils.setEmbedVisibility( currentFrame, false );
    }
  }
View Full Code Here

TOP

Related Classes of org.pentaho.mantle.client.solutionbrowser.tabs.IFrameTabPanel

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.