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