1 19 20 package org.netbeans.modules.debugger.importd; 21 22 import org.netbeans.modules.debugger.*; 23 import org.openide.modules.ModuleInstall; 24 25 30 public class ImportDebuggerModule extends ModuleInstall { 31 32 static final long serialVersionUID = -2272025566936120988L; 33 34 private static ImportDebuggerImpl idi; 35 36 37 public void installed () { 38 restored (); 39 } 40 41 42 public void restored () { 43 try { 44 Register.registerDebuggerImpl ( 45 idi = new ImportDebuggerImpl () 46 ); 47 } catch (Exception e) { 48 } 49 } 50 51 52 public void uninstalled () { 53 try { 54 Register.unregisterDebuggerImpl ( 55 idi 56 ); 57 idi = null; 58 } catch (RuntimeException e) { 59 } 60 } 61 62 67 public static DebuggerImpl getDebuggerImpl () { 68 return idi; 69 } 70 } 71 | Popular Tags |