null);
} else {
// Do it "the hard way" by using the WorkspaceRoot as the host for our breakpoint
// ... quick analysis seems to indicate it's done this way by the JDT "itself" !
IStorageEditorInput input = (IStorageEditorInput) editor.getEditorInput();
IStorage storage = input.getStorage();
for (int i = 0; i < breakpoints.length; i++) {
IBreakpoint breakpoint = breakpoints[i];
if (breakpoint instanceof IJavaStratumLineBreakpoint) {
IJavaStratumLineBreakpoint stratumBreakpoint = (IJavaStratumLineBreakpoint) breakpoint;
if (storage.getFullPath().toPortableString().equals(stratumBreakpoint.getSourcePath())) {
if (((ILineBreakpoint) breakpoint).getLineNumber() == (lineNumber + 1)) {
breakpoint.delete();
return;
}
}
}
}
Map attributes = new HashMap();
StorageMarkerAnnotationModel.addAttribute(attributes, storage);
System.out.println("not editor part resource");
JDIDebugModel.createStratumBreakpoint(
ResourcesPlugin.getWorkspace().getRoot(),
"Clojure",
storage.getName(),
storage.getFullPath().toPortableString(),
null,
lineNumber + 1,
-1,
-1,
0,