Package com.cedarsoft.spring.rcp.selection

Examples of com.cedarsoft.spring.rcp.selection.NoElementSelectedException


   */
  @NotNull
  public T getSelectedObject() throws NoElementSelectedException {
    List<? extends T> selectedElements = getSelectedObjects();
    if ( selectedElements.isEmpty() ) {
      throw new NoElementSelectedException();
    }
    return selectedElements.get( 0 );
  }
View Full Code Here

TOP

Related Classes of com.cedarsoft.spring.rcp.selection.NoElementSelectedException

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.