Package org.pentaho.mantle.client.commands

Examples of org.pentaho.mantle.client.commands.RefreshRepositoryCommand


    if ( PerspectiveManager.SCHEDULES_PERSPECTIVE.equals( PerspectiveManager.getInstance().getActivePerspective()
        .getId() ) ) {
      Command cmd = new RefreshSchedulesCommand();
      cmd.execute();
    } else {
      Command cmd = new RefreshRepositoryCommand();
      cmd.execute();
    }
  }
View Full Code Here


    Image refreshImage = ImageUtil.getThemeableImage( "icon-small", "icon-refresh" );
    Image refreshDisabledImage = ImageUtil.getThemeableImage( "icon-small", "icon-refresh", "disabled" );

    refreshBtn = new ToolbarButton( refreshImage, refreshDisabledImage );
    refreshBtn.setCommand( new RefreshRepositoryCommand() );
    refreshBtn.setToolTip( Messages.getString( "refresh" ) ); //$NON-NLS-1$
    add( refreshBtn );
  }
View Full Code Here

TOP

Related Classes of org.pentaho.mantle.client.commands.RefreshRepositoryCommand

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.