Example usage for com.google.gwt.editor.ui.client.adapters HasTextEditor of

List of usage examples for com.google.gwt.editor.ui.client.adapters HasTextEditor of

Introduction

In this page you can find the example usage for com.google.gwt.editor.ui.client.adapters HasTextEditor of.

Prototype

public static HasTextEditor of(HasText peer) 

Source Link

Document

Returns a new ValueEditor that that modifies the given HasText peer instance.

Usage

From source file:com.dianaui.universal.core.client.ui.Badge.java

License:Apache License

/**
 * {@inheritDoc}/*from w  w  w  . j  a  v  a2s  .c om*/
 */
@Override
public LeafValueEditor<String> asEditor() {
    if (editor == null) {
        editor = HasTextEditor.of(this);
    }
    return editor;
}

From source file:com.dianaui.universal.core.client.ui.base.AbstractTextWidget.java

License:Apache License

@Override
public LeafValueEditor<String> asEditor() {
    if (editor == null)
        editor = HasTextEditor.of(this);
    return editor;
}

From source file:com.github.gwtbootstrap.client.ui.FileUpload.java

License:Apache License

@Override
public HasTextEditor asEditor() {
    return HasTextEditor.of(this);
}

From source file:com.tasktop.c2c.server.scm.web.ui.client.view.ScmCommitView.java

License:Open Source License

protected void initializeAfterBind() {
    comment = HasTextEditor.of(commentLabel);
    driver.initialize(this);
    patchPanel.getHeader().getElement().getParentElement().setClassName(""); // prevent style collision
    changesPanel.getHeader().getElement().getParentElement().setClassName(""); // prevent style collision
    commentLabel.addHyperlinkDetector(taskHyperlinkDetector);
    ScmResources.get.style().ensureInjected();

    patchPanel.getContent().removeStyleName("content");
    changesPanel.getContent().removeStyleName("content");
}

From source file:gwt.material.design.client.base.AbstractTextWidget.java

License:Apache License

@Override
public LeafValueEditor<String> asEditor() {
    if (editor == null) {
        editor = HasTextEditor.of(this);
    }
    return editor;
}