Example usage for com.google.gwt.user.client.ui RootLayoutPanel forceLayout

List of usage examples for com.google.gwt.user.client.ui RootLayoutPanel forceLayout

Introduction

In this page you can find the example usage for com.google.gwt.user.client.ui RootLayoutPanel forceLayout.

Prototype

public void forceLayout() 

Source Link

Usage

From source file:ru.ksu.niimm.cll.mocassin.frontend.client.Mocassin.java

License:Open Source License

/**
 * This is the entry point method.//from  w  ww  . java  2s. com
 */
public void onModuleLoad() {
    ScrollPanel outer = binder.createAndBindUi(this);
    RootLayoutPanel root = RootLayoutPanel.get();
    root.add(outer);
    root.forceLayout();
    topPanel.sendButton.addClickHandler(new BuildQueryStatementHandler(topPanel, centerPanel));
}

From source file:ru.ksu.niimm.cll.mocassin.frontend.dashboard.client.Dashboard.java

License:Open Source License

@Override
public void onModuleLoad() {
    RootLayoutPanel root = RootLayoutPanel.get();
    root.add(new DashboardTabPanel());
    root.forceLayout();
}

From source file:ru.ksu.niimm.cll.mocassin.frontend.viewer.client.StructureViewer.java

License:Open Source License

public void onModuleLoad() {
    ScrollPanel outer = binder.createAndBindUi(this);
    RootLayoutPanel root = RootLayoutPanel.get();
    root.add(outer);//from  w  w  w .j  a v  a 2 s . c  o m
    root.forceLayout();

    String resourceUri = Location.getParameter("resourceuri");
    if (resourceUri == null)
        return;

    App.eventBus.addHandler(NavigationEvent.TYPE, this);

    metadataCaptionPanel.setCaptionText(constants.metadataPanelTitle());

    viewerService.load(resourceUri, new LoadMetadataCallback());

}