protected void edit() {
   XModelObject o = helper.getModelObject(xtable.getSelectionIndex());
   if (o == null) return;
   XActionList l = (XActionList) o.getModelEntity().getActionList();
   if (l.getAction("Edit") != null) { // $NON-NLS-1$
     callAction(o, "Edit"); // $NON-NLS-1$
   } else if (l.getAction("EditActions.Edit") != null) { // $NON-NLS-1$
     callAction(o, "EditActions.Edit"); // $NON-NLS-1$
   } else {
     callAction(o, "Properties.Properties"); // $NON-NLS-1$
   }
 }