private void eventRaisedHandles(final star.event.Event event) {
   if (event
           .getClass()
           .getName()
           .equals(
               "molecule.ui.adjust.center.protein.tertiary.signal.CenterProteinTertiarySelectionEvent")
       && event.isValid()) {
     utils.Runner.runOnThread(
         new Runnable() {
           public void run() {
             long start = System.nanoTime();
             handleCenterProteinTertiarySelectionRaiser(
                 (molecule.ui.adjust.center.protein.tertiary.signal
                         .CenterProteinTertiarySelectionRaiser)
                     event.getSource());
             long end = System.nanoTime();
             if (end - start > 500000000) {
               System.out.println(
                   this.getClass().getName()
                       + ".handleCenterProteinTertiarySelectionRaiser "
                       + (end - start) / 1000000);
             }
           }
         },
         this,
         2);
   }
   if (event
           .getClass()
           .getName()
           .equals(
               "molecule.ui.adjust.center.protein.tertiary.signal.CenterProteinTertiaryFilterEvent")
       && event.isValid()) {
     utils.Runner.runOnThread(
         new Runnable() {
           public void run() {
             long start = System.nanoTime();
             handleCenterProteinTertiaryFilterRaiser(
                 (molecule.ui.adjust.center.protein.tertiary.signal
                         .CenterProteinTertiaryFilterRaiser)
                     event.getSource());
             long end = System.nanoTime();
             if (end - start > 500000000) {
               System.out.println(
                   this.getClass().getName()
                       + ".handleCenterProteinTertiaryFilterRaiser "
                       + (end - start) / 1000000);
             }
           }
         },
         this,
         2);
   }
 }
 public void removeNotify() {
   super.removeNotify();
   star.event.Event.invalidate();
 }
 public void addNotify() {
   super.addNotify();
   star.event.Event.invalidate();
 }