Package com.cedarsoft.spring.rcp

Examples of com.cedarsoft.spring.rcp.PageComponentContextAware


  @NotNull
  private Component createDetailsComponent( @NotNull DetailsProvider<Object> provider, @NotNull Object selectedObject ) {
    Lookup details = provider.getDetails( selectedObject );

    //Delegate the view
    PageComponentContextAware pageComponentContextAware = details.lookup( PageComponentContextAware.class );
    if ( pageComponentContextAware != null ) {
      pageComponentContextAware.updateContext( getContext() );
    }

    //When a form is available, set the title pane as messagable
    Form form = details.lookup( Form.class );
    if ( form != null ) {
View Full Code Here

TOP

Related Classes of com.cedarsoft.spring.rcp.PageComponentContextAware

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.