Examples of HistoryView


Examples of com.antonytrupe.client.ui.HistoryView

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

  @Override
  public void start(final AcceptsOneWidget containerWidget, EventBus eventBus) {
    final HistoryView historyView = this.clientFactory.getHistoryView();

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

          @Override
          public void onFailure(Throwable caught) {
          }

          @Override
          public void onSuccess(ArrayList<Page> result) {
            // tell the view to render

            historyView.setPageName(HistoryActivity.this.place
                .getPageNameDecoded());
            historyView
                .setPresenter((HistoryView.Presenter) HistoryActivity.this);
            historyView
                .setPageService(HistoryActivity.this.clientFactory
                    .getPageService());
            historyView.setHistory(result);
            containerWidget.setWidget(historyView.asWidget());

          }
        });
  }
View Full Code Here

Examples of net.sf.nfp.mini.view.HistoryView

    view.setKeyListener(this);
    view.setExceptionListener(controler);

    view.addCommand(new ActionCommand("${view}", Command.SCREEN, 1) {
      public Navigation execute(Displayable d) throws Exception {
        HistoryView history = (HistoryView) d;
        Period period = history.getSelectedPeriod();
        return new Navigation("graph", period, null);
      }
    });
    view.addCommand(new NavigationCommand("graph", "${back}", Command.BACK, 1));
  }
View Full Code Here

Examples of net.sf.nfp.mini.view.HistoryView

        return new Page(new GraphModel(NFPControler.this), new GraphView());
      }
    });
    pages.put("history", new LazyInit() {
      public Page create() {
        return new Page(new HistoryModel(NFPControler.this), new HistoryView());
      }
    });   
    pages.put("confirm-overwrite", new LazyInit() {
      public Page create() {
        return new Page(new ConfirmOverwriteModel(), new Alert("${confirm}"));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.