Package com.eclipsesource.tabris.internal.ui

Examples of com.eclipsesource.tabris.internal.ui.Controller


  public void create( Shell shell ) {
    whenNull( shell ).throwIllegalArgument( "Shell must not be null" );
    prepareShell( shell );
    RemoteUI remoteUI = new RemoteUI( shell );
    shell.setLayout( new ZIndexStackLayout() );
    Controller controller = new Controller( shell, remoteUI, configuration.getAdapter( UIDescriptor.class ) );
    UIImpl ui = prepareUi( shell, remoteUI, configuration, controller );
    configure( configuration, ui );
    setUiColors( shell, remoteUI, configuration );
    prepareController( controller, ui );
  }
View Full Code Here


   */
  protected void createTabrisUI( Shell shell ) {
    RemoteUI remoteUI = new RemoteUI( shell );
    shell.setLayout( new ZIndexStackLayout() );
    UIImpl ui = new UIImpl();
    Controller controller = new Controller( shell, remoteUI, ui.getDescriptorHolder() );
    UIContextImpl context = new UIContextImpl( shell.getDisplay(), controller, ui );
    remoteUI.setContext( context );
    remoteUI.setController( controller );
    configuration.configure( ui, context );
    context.markInitialized();
    controller.createGlobalActions( context );
    controller.createRootPages( context );
  }
View Full Code Here

    prepareShell( shell );
    UIDescriptor uiDescriptor = configuration.getAdapter( UIDescriptor.class );
    UIRenderer uiRenderer = uiDescriptor.getRendererFactory().createUIRenderer( shell );
    Composite pageParent = uiRenderer.getPageParent();
    pageParent.setLayout( new ZIndexStackLayout() );
    Controller controller = new Controller( uiRenderer, uiDescriptor );
    UIImpl ui = prepareUi( pageParent.getDisplay(), uiRenderer, configuration, controller );
    configure( configuration, ui );
    setUiColors( pageParent.getDisplay(), uiRenderer, configuration );
    setUiImage( pageParent.getDisplay(), uiRenderer, configuration );
    prepareController( controller, ui );
View Full Code Here

  public void create( Shell shell ) {
    checkArgumentNotNull( shell, Shell.class.getSimpleName() );
    prepareShell( shell );
    RemoteUI remoteUI = new RemoteUI( shell );
    shell.setLayout( new ZIndexStackLayout() );
    Controller controller = new Controller( shell, remoteUI, configuration.getAdapter( UIDescriptor.class ) );
    UIImpl ui = prepareUi( shell, remoteUI, configuration, controller );
    configure( configuration, ui );
    setUiColors( shell, remoteUI, configuration );
    prepareController( controller, ui );
  }
View Full Code Here

TOP

Related Classes of com.eclipsesource.tabris.internal.ui.Controller

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.