public void publish(LogRecord r) {
      String s = r.getMessage();

      if (s.startsWith("Resolvers computed")) {
        switchDone = true;
        Lkp lkp = (Lkp) org.openide.util.Lookup.getDefault();
        lkp.turn(Lkp.c2);
      }
    }
Esempio n. 2
0
 private synchronized LocalHistoryVCS getLocalHistoryVCS() {
   if (lhvcs == null) {
     lhvcs = org.openide.util.Lookup.getDefault().lookup(LocalHistoryVCS.class);
   }
   return lhvcs;
 }