1 11 package org.eclipse.debug.core; 12 13 14 import org.eclipse.core.resources.IMarker; 15 import org.eclipse.core.runtime.CoreException; 16 import org.eclipse.debug.core.model.IBreakpoint; 17 18 36 public interface IBreakpointManager { 37 52 public void addBreakpoint(IBreakpoint breakpoint) throws CoreException; 53 54 69 public void addBreakpoints(IBreakpoint[] breakpoints) throws CoreException; 70 71 80 public IBreakpoint getBreakpoint(IMarker marker); 81 82 89 public IBreakpoint[] getBreakpoints(); 90 91 97 public boolean hasBreakpoints(); 98 99 108 public IBreakpoint[] getBreakpoints(String modelIdentifier); 109 110 118 public boolean isRegistered(IBreakpoint breakpoint); 119 120 133 public void fireBreakpointChanged(IBreakpoint breakpoint); 134 135 149 public void removeBreakpoint(IBreakpoint breakpoint, boolean delete) throws CoreException; 150 151 165 public void removeBreakpoints(IBreakpoint[] breakpoints, boolean delete) throws CoreException; 166 167 173 public void addBreakpointListener(IBreakpointListener listener); 174 175 181 public void removeBreakpointListener(IBreakpointListener listener); 182 183 190 public void addBreakpointListener(IBreakpointsListener listener); 191 192 199 public void removeBreakpointListener(IBreakpointsListener listener); 200 201 208 public void addBreakpointManagerListener(IBreakpointManagerListener listener); 209 210 217 public void removeBreakpointManagerListener(IBreakpointManagerListener listener); 218 219 228 public boolean isEnabled(); 229 230 239 public void setEnabled(boolean enabled); 240 241 250 public String getTypeName(IBreakpoint breakpoint); 251 252 } 253 254 255 | Popular Tags |