Example usage for com.google.gwt.user.client.ui Widget setTitle

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

Introduction

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

Prototype

public void setTitle(String title) 

Source Link

Document

Sets the title associated with this object.

Usage

From source file:org.nsesa.editor.gwt.core.client.ui.document.sourcefile.content.ContentViewImpl.java

License:EUPL

@Inject
public ContentViewImpl(final DocumentEventBus documentEventBus) {
    this.documentEventBus = documentEventBus;
    final Widget widget = uiBinder.createAndBindUi(this);
    initWidget(widget);//w w w.  jav a 2s.  c  o m
    //show class name tool tip in hosted mode
    if (!GWT.isScript())
        widget.setTitle(this.getClass().getName());

    registerListeners();
}

From source file:org.nsesa.editor.gwt.core.client.ui.document.sourcefile.header.SourceFileHeaderViewImpl.java

License:EUPL

@Inject
public SourceFileHeaderViewImpl(final DocumentEventBus documentEventBus) {
    this.documentEventBus = documentEventBus;
    final Widget widget = uiBinder.createAndBindUi(this);
    initWidget(widget);//from  w  w w  .  j  a va 2 s  .co  m
    //show class name tool tip in hosted mode
    if (!GWT.isScript())
        widget.setTitle(this.getClass().getName());
    horizontalPanel.getElement().getStyle().setTableLayout(Style.TableLayout.FIXED);
}

From source file:org.nsesa.editor.gwt.core.client.ui.document.sourcefile.marker.MarkerViewImpl.java

License:EUPL

@Inject
public MarkerViewImpl(final DocumentEventBus documentEventBus) {

    this.documentEventBus = documentEventBus;

    final Widget widget = uiBinder.createAndBindUi(this);
    initWidget(widget);/* www .j  a v  a  2 s .c  o m*/
    //show class name tool tip in hosted mode
    if (!GWT.isScript())
        widget.setTitle(this.getClass().getName());
}

From source file:org.nsesa.editor.gwt.core.client.ui.document.sourcefile.SourceFileViewImpl.java

License:EUPL

@Inject
public SourceFileViewImpl(final DocumentEventBus documentEventBus, final ContentController contentController,
        final MarkerController markerController, final SourceFileHeaderController sourceFileHeaderController,
        final DeadlineController deadlineController, final ActionBarController actionBarController,
        final org.nsesa.editor.gwt.core.client.ui.document.resources.Resources resources) {

    this.documentEventBus = documentEventBus;
    this.contentView = contentController.getView();
    this.markerView = markerController.getView();
    this.sourceFileHeaderView = sourceFileHeaderController.getView();
    this.deadlineView = deadlineController.getView();
    this.actionBarView = actionBarController.getView();
    this.actionBarView.asWidget().setVisible(false);

    final Widget widget = uiBinder.createAndBindUi(this);
    initWidget(widget);//  www .j  a va  2s .co m
    //show class name tool tip in hosted mode
    if (!GWT.isScript())
        widget.setTitle(this.getClass().getName());

    horizontalPanel.setCellWidth(markerView, "18px");
    horizontalPanel.getElement().getStyle().setTableLayout(Style.TableLayout.FIXED);
}

From source file:org.nsesa.editor.gwt.core.client.ui.error.ErrorViewImpl.java

License:EUPL

@Inject
public ErrorViewImpl() {
    final Widget widget = uiBinder.createAndBindUi(this);
    initWidget(widget);//from www  .  j  a  va 2  s.  c om
    //show class name tool tip in hosted mode
    if (!GWT.isScript())
        widget.setTitle(this.getClass().getName());
}

From source file:org.nsesa.editor.gwt.core.client.ui.information.InformationViewImpl.java

License:EUPL

@Inject
public InformationViewImpl() {
    final Widget widget = uiBinder.createAndBindUi(this);
    initWidget(widget);//from  w w w.  ja  v  a2 s  .co m
    //show class name tool tip in hosted mode
    if (!GWT.isScript())
        widget.setTitle(this.getClass().getName());
}

From source file:org.nsesa.editor.gwt.core.client.ui.notification.NotificationViewImpl.java

License:EUPL

public NotificationViewImpl() {
    final Widget widget = uiBinder.createAndBindUi(this);
    initWidget(widget);//from   w ww  .  j a  v  a2 s  .co m
    if (!GWT.isScript())
        widget.setTitle(this.getClass().getName());
}

From source file:org.nsesa.editor.gwt.core.client.ui.pagination.PaginationViewImpl.java

License:EUPL

/**
 * Constructs an empty <code>PaginationViewImpl</code> object
 *//*from   w w  w  .  j  a  va  2 s . c  om*/
@Inject
public PaginationViewImpl() {
    final Widget widget = uiBinder.createAndBindUi(this);
    initWidget(widget);
    if (!GWT.isScript())
        widget.setTitle(this.getClass().getName());
}

From source file:org.nsesa.editor.gwt.core.client.ui.visualstructure.VisualStructureAttributesViewImpl.java

License:EUPL

@Inject
public VisualStructureAttributesViewImpl(EventBus eventBus) {
    this.eventBus = eventBus;
    final Widget widget = uiBinder.createAndBindUi(this);
    initWidget(widget);/*from  w  w  w  .  j a v  a  2s.  co m*/
    if (!GWT.isScript())
        widget.setTitle(this.getClass().getName());
}

From source file:org.nsesa.editor.gwt.core.client.ui.visualstructure.VisualStructureViewImpl.java

License:EUPL

/**
 * Create <code>VisualStructureViewImpl</code> object by setting the <code>overlayResource</code> and then
 * initialize the widgets//from  w w  w.  j av a2s.  com
 */
@Inject
public VisualStructureViewImpl(OverlayLocalizableResource overlayResource) {
    this.overlayResource = overlayResource;

    final Widget widget = uiBinder.createAndBindUi(this);
    initWidget(widget);
    if (!GWT.isScript())
        widget.setTitle(this.getClass().getName());

    allowedPanel.getElement().addClassName("drafting");
    mandatoryPanel.getElement().addClassName("drafting");
    if (!GWT.isScript())
        this.setTitle(this.getClass().getName());
}