Package com.antonytrupe.client.ui

Examples of com.antonytrupe.client.ui.EditView


    this.clientFactory.getPlaceController().goTo(place);
  }

  @Override
  public void start(final AcceptsOneWidget containerWidget, EventBus eventBus) {
    final EditView editView = this.clientFactory.getPageEditView();

    // get page content
    this.clientFactory.getPageService().get(
        this.place.getPageNameDecoded(), new AsyncCallback<Page>() {

          @Override
          public void onFailure(Throwable caught) {
          }

          @Override
          public void onSuccess(Page result) {
            editView.setPageName(result.getName());
            editView.setContent(SafeHtmlUtils
                .fromTrustedString(result.getContent()));
            editView.setPresenter(EditActivity.this);
            editView.setPageService(EditActivity.this.clientFactory
                .getPageService());
            containerWidget.setWidget(editView.asWidget());

          }
        });
  }
View Full Code Here

TOP

Related Classes of com.antonytrupe.client.ui.EditView

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.