Example usage for com.google.gwt.user.client Window setTitle

List of usage examples for com.google.gwt.user.client Window setTitle

Introduction

In this page you can find the example usage for com.google.gwt.user.client Window setTitle.

Prototype

public static void setTitle(String title) 

Source Link

Usage

From source file:thothbot.parallax.demo.client.Demo.java

License:Open Source License

private void displayIndex() {
    History.newItem("", true);
    index.setContentWidget(indexWidget);
    Window.setTitle("Parallax: All Examples");
}

From source file:ua.oilukraine.client.MainEntryPoint.java

private void loadLogin() {
    // Assemble login panel.
    Window.setTitle("  ??");

    LoginForm lf = new LoginForm();
    lf.mep = this;
    RootPanel.get().add(lf);//from  w ww  . j  a  v  a2s  .c om
}

From source file:ua.oilukraine.client.MainEntryPoint.java

void BuildMAinWindow() {
    logger.log(Level.SEVERE, "BuildMAinWindow ++++++++++++  ");

    VerticalPanel vPanel = new VerticalPanel();
    vPanel.setSpacing(10);//w  w w .  ja v  a  2s.  c  o m
    //        vPanel.add(new HeaderWidget().Load());
    HeaderWidget hw = new HeaderWidget();
    hw.Load();
    vPanel.add(hw);
    TabelView tw = new TabelView();
    hw.addHeaderWidgetHandler(tw);
    vPanel.add(tw);
    //        CellTableExample ct = new CellTableExample();
    //        // ct.onModuleLoad();
    NewUiBinder nb = new NewUiBinder("able", "baker", "charlie");
    //        RootPanel.get().add(button);
    //        RootPanel.get().add(label);
    vPanel.add(nb);
    RootPanel.get().add(vPanel);
    //        RootPanel.get().add(ct);
    Window.setTitle(" ? ?");

}

From source file:uk.ac.ebi.fg.annotare2.web.gwt.editor.client.EditorApp.java

License:Apache License

private void renameBrowserTab(SubmissionDetails details) {
    Accession accession = details.getAccession();
    String tabName = accession.getText();
    if (!accession.hasValue()) {
        String title = details.getTitle();
        if (title != null && title.trim().length() > 0) {
            tabName = title;/*from w ww . jav  a  2s .  c  om*/
        }
    }
    Window.setTitle(tabName);
}