1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 107208: toggle breakpoint with external sources doesn't work.

This commit is contained in:
Mikhail Khodjaiants 2005-08-24 15:07:07 +00:00
parent a1ccd95cad
commit 8590ecef22
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2005-08-17 Mikhail Khodjaiants
Bug 107208: toggle breakpoint with external sources doesn't work.
* ToggleBreakpointAdapter.java
2005-07-26 Mikhail Khodjaiants 2005-07-26 Mikhail Khodjaiants
Bug 105224: Two identical directory source container types. Bug 105224: Two identical directory source container types.
+ icons\obj16\directory_obj.gif + icons\obj16\directory_obj.gif

View file

@ -47,6 +47,7 @@ import org.eclipse.jface.window.Window;
import org.eclipse.ui.IEditorInput; import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorPart; import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IFileEditorInput; import org.eclipse.ui.IFileEditorInput;
import org.eclipse.ui.IPathEditorInput;
import org.eclipse.ui.IStorageEditorInput; import org.eclipse.ui.IStorageEditorInput;
import org.eclipse.ui.IWorkbenchPart; import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.texteditor.IEditorStatusLine; import org.eclipse.ui.texteditor.IEditorStatusLine;
@ -318,6 +319,9 @@ public class ToggleBreakpointAdapter implements IToggleBreakpointsTarget {
if ( input instanceof IStorageEditorInput ) { if ( input instanceof IStorageEditorInput ) {
return ((IStorageEditorInput)input).getStorage().getFullPath().toOSString(); return ((IStorageEditorInput)input).getStorage().getFullPath().toOSString();
} }
if ( input instanceof IPathEditorInput ) {
return ((IPathEditorInput)input).getPath().toOSString();
}
if ( input instanceof DisassemblyEditorInput ) { if ( input instanceof DisassemblyEditorInput ) {
String sourceFile = ((DisassemblyEditorInput)input).getSourceFile(); String sourceFile = ((DisassemblyEditorInput)input).getSourceFile();
if ( sourceFile != null ) { if ( sourceFile != null ) {