@Override public boolean hasChildren(Object element) { if (element instanceof ITool) { ITool e = (ITool) element; return e.hasChildren(); } return false; }
@Override public Object getParent(Object element) { if (element instanceof ITool) { ITool e = (ITool) element; return e.getParent(); } return null; }