Package com.taobao.zeus.web.platform.client.module.jobmanager.event

Examples of com.taobao.zeus.web.platform.client.module.jobmanager.event.TreeNodeSelectEvent


    grid.addCellDoubleClickHandler(new CellDoubleClickHandler() {
      public void onCellClick(CellDoubleClickEvent event) {
        int row=event.getRowIndex();
        JobModel model=grid.getStore().get(row);
        if(model!=null){
          TreeNodeSelectEvent te=new TreeNodeSelectEvent(TreeKeyProviderTool.genJobProviderKey(model.getId()));
          presenter.getPlatformContext().getPlatformBus().fireEvent(te);
        }
      }
    });
    grid.addRefreshHandler(new RefreshHandler() {
View Full Code Here


      @Override
      public void onCellClick(CellDoubleClickEvent event) {
        int row=event.getRowIndex();
        JobHistoryModel model=grid.getStore().get(row);
        if(model!=null){
          TreeNodeSelectEvent te=new TreeNodeSelectEvent(TreeKeyProviderTool.genJobProviderKey(model.getJobId()));
          presenter.getPlatformContext().getPlatformBus().fireEvent(te);
        }
      }
    });
   
View Full Code Here

            public void callback() {
              GroupJobTreeModel model=jobManagerView.getMyTreePanel().getTree().getStore().findModelWithKey(event.getNeedSelectProviderKey());
              if(model!=null){
                jobManagerView.getMyTreePanel().getTree().setExpanded(model, true);
                jobManagerView.getMyTreePanel().getTree().getSelectionModel().select(model, true);
                JobManagerPresenterImpl.this.context.getPlatformBus().fireEvent(new TreeNodeSelectEvent(event.getNeedSelectProviderKey()));
               
              }
            }
          };
        }
View Full Code Here

    }
    return jobManagerView;
  }
  @Override
  public void onSelect(String providerKey) {
    context.getPlatformBus().fireEvent(new TreeNodeSelectEvent(providerKey));
  }
View Full Code Here

      @Override
      public void onCellClick(CellDoubleClickEvent event) {
        int row=event.getRowIndex();
        JobHistoryModel model=grid.getStore().get(row);
        if(model!=null){
          TreeNodeSelectEvent te=new TreeNodeSelectEvent(TreeKeyProviderTool.genJobProviderKey(model.getJobId()));
          presenter.getPlatformContext().getPlatformBus().fireEvent(te);
        }
      }
    });
   
View Full Code Here

TOP

Related Classes of com.taobao.zeus.web.platform.client.module.jobmanager.event.TreeNodeSelectEvent

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.