public JPopupMenu getClassPopupMenu(ONode node) {
   browsePopup = null;
   super.getPopupMenu(node);
   name = node.getName();
   retriverClassInstItem.setName("Retrive instances of" + node.getName());
   browsePopup.insert(retriverClassInstItem, 0);
   return browsePopup;
 }
 public JPopupMenu getRelationPopupMenu(ONode node) {
   browsePopup = null;
   super.getPopupMenu(node);
   name = node.getName();
   rapuRelationItem.setName("Rapu Relation" + node.getName());
   browsePopup.addSeparator();
   browsePopup.add(rapuRelationItem);
   return browsePopup;
 }
 public JPopupMenu getInstancePopupMenu(ONode node) {
   browsePopup = null;
   super.getPopupMenu(node);
   name = node.getName();
   rapuInstanceItem.setName("Rapu Instance" + node.getName());
   JMenu submenu = new JMenu("Instance Submenu");
   submenu.add(rapuInstanceItem);
   submenu.add(baahhhItem);
   browsePopup.insert(submenu, 0);
   return browsePopup;
 }
 public JPopupMenu getPopupMenu(ONode node) {
   int type = node.getType();
   switch (type) {
     case ONode.OBJ_CLASS:
       return getClassPopupMenu(node);
     case ONode.OBJ_INDIVIDUAL:
       return getInstancePopupMenu(node);
     case ONode.REL_OBJECT_PROPERTY_VALUE:
       return getRelationPopupMenu(node);
   }
   return null;
 }