1 19 20 package org.netbeans.modules.web.debug; 21 22 import org.netbeans.api.debugger.DebuggerManager; 23 import org.netbeans.api.debugger.LazyActionsManagerListener; 24 import org.netbeans.api.debugger.jpda.JPDADebugger; 25 import org.netbeans.spi.debugger.ContextProvider; 26 27 30 public class JspBreakpointUpdater extends LazyActionsManagerListener { 31 32 private JPDADebugger debugger; 33 34 public JspBreakpointUpdater (ContextProvider lookupProvider) { 35 JPDADebugger debugger = (JPDADebugger) lookupProvider.lookupFirst ( 36 null, JPDADebugger.class 37 ); 38 this.debugger = debugger; 39 Context.createTimeStamp (debugger); 40 JspBreakpointAnnotationListener bal = (JspBreakpointAnnotationListener) 41 DebuggerManager.getDebuggerManager ().lookupFirst 42 (null, JspBreakpointAnnotationListener.class); 43 bal.updateJspLineBreakpoints (); 44 } 45 46 protected void destroy () { 47 Context.disposeTimeStamp (debugger); 48 } 49 50 public String [] getProperties () { 51 return new String [0]; 52 } 53 } 54 | Popular Tags |