Package org.pentaho.mantle.client.commands

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


  @Bindable
  public void refreshContent() {
    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


    // Add refresh button
    ToolbarButton refresh = new ToolbarButton( ImageUtil.getThemeableImage( "icon-small", "icon-refresh" ) );
    refresh.setToolTip( Messages.getString( "refreshTooltip" ) );
    refresh.setCommand( new Command() {
      public void execute() {
        RefreshSchedulesCommand cmd = new RefreshSchedulesCommand();
        cmd.execute();
      }
    } );
    bar.add( refresh );

    bar.addSpacer( 20 );
View Full Code Here

TOP

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

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.