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