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

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


    RPCS.getGroupService().createGroup(gname, presenter.getGroupModel().getId(), isDirectory, new AbstractAsyncCallback<String>() {
      @Override
      public void onSuccess(String groupId) {
        NewGroupWindow.this.hide();
        Info.display("操作成功", "新建组成功");
        TreeNodeChangeEvent event=new TreeNodeChangeEvent();
        event.setNeedSelectProviderKey(TreeKeyProviderTool.genGroupProviderKey(groupId));
        presenter.getPlatformContext().getPlatformBus().fireEvent(event);
      }
    });
  }
View Full Code Here


    RPCS.getGroupService().createGroup(gname, presenter.getGroupModel().getId(), isDirectory, new AbstractAsyncCallback<String>() {
      @Override
      public void onSuccess(String groupId) {
        presenter.display(presenter.getGroupModel());
        Info.display("操作成功", "新建组成功");
        TreeNodeChangeEvent event=new TreeNodeChangeEvent();
        event.setNeedSelectProviderKey(TreeKeyProviderTool.genGroupProviderKey(groupId));
        presenter.getPlatformContext().getPlatformBus().fireEvent(event);
      }
    });
  }
View Full Code Here

            if(sourceItem.isJob()){
              RPCS.getJobService().move(sourceItem.getId(), activeItem.getModel().getId(), new AbstractAsyncCallback<Void>() {
                public void onSuccess(Void result) {
                  source.removeSource();
                  targetThis.proxySuperDragDrop(event);
                  TreeNodeChangeEvent tnce=new TreeNodeChangeEvent();
                  tnce.setNeedSelectProviderKey(TreeKeyProviderTool.genJobProviderKey(sourceItem.getId()));
                  presenter.getPlatformContext().getPlatformBus().fireEvent(tnce);
                }
              });
            }else{
              RPCS.getGroupService().move(sourceItem.getId(), activeItem.getModel().getId(), new AbstractAsyncCallback<Void>() {
                public void onSuccess(Void result) {
                  source.removeSource();
                  targetThis.proxySuperDragDrop(event);
                  TreeNodeChangeEvent tnce=new TreeNodeChangeEvent();
                  tnce.setNeedSelectProviderKey(TreeKeyProviderTool.genGroupProviderKey(sourceItem.getId()));
                  presenter.getPlatformContext().getPlatformBus().fireEvent(tnce);
                }
              });
            }
          }
View Full Code Here

TOP

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

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.