Package org.pentaho.mantle.client.admin

Examples of org.pentaho.mantle.client.admin.ISysAdminPanel


    int visiblePanelIndex = MantleXul.getInstance().getAdminContentDeck().getVisibleWidget();
    if ( visiblePanelIndex >= 0 ) {
      String visiblePanelId =
          MantleXul.getInstance().getAdminContentDeck().getWidget( visiblePanelIndex ).getElement().getId();
      if ( ( visiblePanelId != null ) && !visiblePanelId.equals( idOfSecurityPanelToBeActivated ) ) {
        ISysAdminPanel sysAdminPanel = sysAdminPanelsMap.get( visiblePanelId );
        if ( sysAdminPanel != null ) {
          sysAdminPanel.passivate( new AsyncCallback<Boolean>() {
            public void onFailure( Throwable caught ) {
            }

            public void onSuccess( Boolean passivateComplete ) {
              if ( passivateComplete ) {
View Full Code Here


  public void activateWaitingSecurityPanel( boolean activate ) {
    if ( activate && ( adminPanelAwaitingActivation != null ) ) {
      for ( int i = 0; i < MantleXul.getInstance().getAdminContentDeck().getWidgetCount(); i++ ) {
        Widget w = MantleXul.getInstance().getAdminContentDeck().getWidget( i );
        if ( adminPanelAwaitingActivation.id.equals( w.getElement().getId() ) ) {
          ISysAdminPanel sysAdminPanel = sysAdminPanelsMap.get( adminPanelAwaitingActivation.id );
          if ( sysAdminPanel != null ) {
            sysAdminPanel.activate();
          }
          break;
        }
      }
View Full Code Here

TOP

Related Classes of org.pentaho.mantle.client.admin.ISysAdminPanel

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.