181182183184185186187188189190191
public void onBeforeShowContextMenu(BeforeShowContextMenuEvent event) { GroupJobTreeModel model=tree.getSelectionModel().getSelectedItem(); if(model!=null){ if(model.isFollow()){ follow.hide(); unfollow.show(); }else{ follow.show(); unfollow.hide(); } }