Package com.google.gwt.ricordo.client.presenter

Examples of com.google.gwt.ricordo.client.presenter.Presenter


      });  
  }

  private void doQueryAppEvent(){
  History.newItem(QUERY_PAGE,false);
  Presenter presenter = new QueryPresenter(rpcService, eventBus, new QueryView());
  presenter.go(container);
  }
View Full Code Here


  presenter.go(container);
  }
 
   private void doEditContact(ModelSearch modelSearch) {
    History.newItem("edit", false);
    Presenter presenter = new ModelDetailsPresenter(rpcService, eventBus, new ModelDetailsView(), modelSearch);
    presenter.go(container);
  }
View Full Code Here

    presenter.go(container);
  }
 
  private void doEditContactCancelled(ModelSearch modelSearch) {
    History.newItem(QUERY_PAGE);
  Presenter presenter = new QueryPresenter(rpcService, eventBus, new QueryView(),modelSearch);
  presenter.go(container);
  }
View Full Code Here

  presenter.go(container);
  }
 
  private void doCompAppEvent(){
    History.newItem(COMPOSITE_PAGE,false);
    Presenter presenter = new CompositePresenter(rpcService,eventBus, new CompositeView());
    presenter.go(container);
  }
View Full Code Here

    presenter.go(container);
  }
 
  private void doAnnotAppEvent(){
    History.newItem("annotation",false);
    Presenter presenter = new AnnotationPresenter(rpcService,eventBus, new AnnotationView());
    presenter.go(container);
 
View Full Code Here

    presenter.go(container);
 
 
  private void doVariableSelect(VariableSearch variableSearch) {
      History.newItem(VARANNOT_PAGE, false);
      Presenter presenter = new AnnotVariablePresenter(rpcService, eventBus, new AnnotVariableView(), variableSearch);
      presenter.go(container);
    }
View Full Code Here

      History.newItem("ricordoapp");
    }
 
  private void doAnnotCancel(VariableSearch variableSearch) {
      History.newItem("annotation");
      Presenter presenter = new AnnotationPresenter(rpcService,eventBus, new AnnotationView(), variableSearch);
      presenter.go(container);
  }
View Full Code Here

      Presenter presenter = new AnnotationPresenter(rpcService,eventBus, new AnnotationView(), variableSearch);
      presenter.go(container);
  }
 
  private void doSelectManchesterQuery(String manQuery, String parentPage, VariableSearch variableSearch) {
    Presenter presenter = null;
    if (parentPage.equals(QUERY_PAGE)) {
      History.newItem(QUERY_PAGE);
      presenter = new QueryPresenter(rpcService, eventBus, new QueryView(), manQuery);
    } else if (parentPage.equals(COMPOSITE_PAGE)) {
      History.newItem(COMPOSITE_PAGE);
      presenter = new CompositePresenter(rpcService, eventBus, new CompositeView(), manQuery);
    } else if (parentPage.equals(VARANNOT_PAGE)){
      History.newItem(VARANNOT_PAGE);
      presenter = new AnnotVariablePresenter(rpcService, eventBus, new AnnotVariableView(), manQuery, variableSearch);
    }
    presenter.go(container);
  }
View Full Code Here

    }
    presenter.go(container);
  }

  private void doCancelManchesterQuery(String parentPage, VariableSearch variableSearch) {
    Presenter presenter = null;
    if(parentPage.equals(QUERY_PAGE)){
      History.newItem(QUERY_PAGE);
      presenter = new QueryPresenter(rpcService,eventBus, new QueryView());
    }
    else if (parentPage.equals(COMPOSITE_PAGE)){
      History.newItem(COMPOSITE_PAGE);
      presenter = new CompositePresenter(rpcService, eventBus, new CompositeView());
    }
    else if (parentPage.equals(VARANNOT_PAGE)){
      History.newItem(VARANNOT_PAGE);
      presenter = new AnnotVariablePresenter(rpcService, eventBus, new AnnotVariableView(), variableSearch);
    }
    presenter.go(container);     
  }
View Full Code Here

    presenter.go(container);     
  }
 
  private void doConstructManchesterQuery(String parentPage, VariableSearch  variableSearch) {
      History.newItem("manchesterQuery");
      Presenter presenter= null;
      if(parentPage.equals(VARANNOT_PAGE)){
        presenter= new ManchesterSyntaxPresenter(rpcService, eventBus, new ManchesterSyntaxView(TitlePanel.QUERY_TITLE), parentPage,variableSearch);
      }else{     
        presenter= new ManchesterSyntaxPresenter(rpcService,eventBus, new ManchesterSyntaxView(TitlePanel.QUERY_TITLE),parentPage);
      }
      presenter.go(container)
   
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.ricordo.client.presenter.Presenter

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.