Examples of PlacePath


Examples of com.taobao.zeus.web.platform.client.app.PlacePath

  public Presenter getPresenter() {
    return presenter;
  }
  @Override
  public PlatformPlace getPlace() {
    return new PlacePath().toApp(App.Report).create();
  }
View Full Code Here

Examples of com.taobao.zeus.web.platform.client.app.PlacePath

      }
    };
  }
  @Override
  public PlatformPlace getPlace() {
    return new PlacePath().toApp(App.Home).create();
  }
View Full Code Here

Examples of com.taobao.zeus.web.platform.client.app.PlacePath

  public Presenter getPresenter() {
    return presenter;
  }
  @Override
  public PlatformPlace getPlace() {
    return new PlacePath().toApp(App.Schedule).create();
  }
View Full Code Here

Examples of com.taobao.zeus.web.platform.client.app.PlacePath

    }

    private void updateHistory(final String id,
            JobType type, boolean isJob) {
        if(isJob){
            History.newItem(new PlacePath().toApp(App.Schedule)
                    .toJobType(type)
                    .toDisplayJob(id).create().getToken(), false);
        }else{

            History.newItem(new PlacePath().toApp(App.Schedule)
                    .toJobType(type)
                    .toDisplayGroup(id).create().getToken(), false);
        }
       
    }
View Full Code Here

Examples of com.taobao.zeus.web.platform.client.app.PlacePath

    eventBus.addHandler(StartEvent.TYPE, new StartEvent.StartEventHandler() {
      public void start() {
        if(History.getToken()!=null && !"".equals(History.getToken().trim())){
          eventBus.fireEvent(new PlatformPlaceChangeEvent(new PlatformPlace(History.getToken())));
        }else{
          eventBus.fireEvent(new PlatformPlaceChangeEvent(new PlacePath().toApp(App.Home).create(),true));
        }
      }
    });
  }
View Full Code Here

Examples of com.taobao.zeus.web.platform.client.app.PlacePath

      public void onOpenFile(OpenFileEvent event) {
        FileModel model=event.getModel();
        if(!model.isFolder()){
          open(model.getId(), null);
          if(model.getOwner().equals(context.getUser().getUid())){
            History.newItem(new PlacePath().toApp(App.Document)
                .toDocType(DocType.MyDoc)
                .toDocId(model.getId()).create().getToken(), false);
          }else{
            History.newItem(new PlacePath().toApp(App.Document)
                .toDocType(DocType.SharedDoc)
                .toDocId(model.getId())
                .create().getToken(), false);
          }
        }
View Full Code Here

Examples of com.taobao.zeus.web.platform.client.app.PlacePath

  public Presenter getPresenter() {
    return presenter;
  }
  @Override
  public PlatformPlace getPlace() {
    return new PlacePath().toApp(App.Document).create();
  }
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.