@Override
 public void onShowPress(MotionEvent e) {
   StarObjectClass self = BasicAndroidObject.getStarObject();
   StarServiceClass Service = (StarServiceClass) self._Get("_Service");
   StarObjectClass definedclass = self._DefinedClass("onShowPress");
   StarObjectClass basicclass = Service._GetObject("GalleryClass");
   if (definedclass._GetStr("_ID").equals(basicclass._GetStr("_ID"))) {
     super.onShowPress(e);
     return;
   }
   if (motionevent1 == null) motionevent1 = Service._GetObject("MotionEventClass")._New();
   StarCLEMotionEvent star_motionevent1 =
       (StarCLEMotionEvent) WrapAndroidClass.GetAndroidObject(motionevent1, "AndroidObject");
   star_motionevent1.motionevent = e;
   self._Call("onShowPress", motionevent1);
   star_motionevent1.motionevent = null;
   return;
 }
 public void onSuperShowPress(MotionEvent e) {
   super.onShowPress(e);
 }
 public void onSuperLongPress(MotionEvent e) {
   super.onLongPress(e);
 }