TreeNodeSelectEvent te=new TreeNodeSelectEvent(TreeKeyProviderTool.genJobProviderKey(model.getId()));
presenter.getPlatformContext().getPlatformBus().fireEvent(te);
}
}
});
grid.addRefreshHandler(new RefreshHandler() {
public void onRefresh(RefreshEvent event) {
for(JobModel m:store.getAll()){
if(m.getAuto()){
grid.getView().getRow(m).setAttribute("style", "color:green");
}