Package org.springframework.richclient.command

Examples of org.springframework.richclient.command.ActionCommandExecutor


  /**
   * Handle a double click on a row of the table. The row will already be selected.
   */
  protected void onDoubleClick() {
    // Dispatch this to the doubleClickHandler, if any
    ActionCommandExecutor handler = doubleClickHandler;
    if ( handler == null ) {
      return;
    }

    //May execute an guarded command executor
    if ( handler instanceof Guarded ) {
      if ( !( ( Guarded ) handler ).isEnabled() ) {
        return;
      }
    }

    handler.execute();
  }
View Full Code Here

TOP

Related Classes of org.springframework.richclient.command.ActionCommandExecutor

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.