Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 110567 Details for
Bug 244817
[source lookup] SourceLookup does not handle files that are of type LocalFileStorage
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Fix to handle SourceElement of type LocalFileStorage
zpatch.txt (text/plain), 1.96 KB, created by
Marc Khouzam
on 2008-08-21 10:07:59 EDT
(
hide
)
Description:
Fix to handle SourceElement of type LocalFileStorage
Filename:
MIME Type:
Creator:
Marc Khouzam
Created:
2008-08-21 10:07:59 EDT
Size:
1.96 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.dd.dsf.debug.ui >Index: src/org/eclipse/dd/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.dd.dsf/plugins/org.eclipse.dd.dsf.debug.ui/src/org/eclipse/dd/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java,v >retrieving revision 1.7 >diff -u -r1.7 DsfSourceDisplayAdapter.java >--- src/org/eclipse/dd/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java 25 Jul 2008 07:43:38 -0000 1.7 >+++ src/org/eclipse/dd/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java 21 Aug 2008 14:06:16 -0000 >@@ -11,6 +11,7 @@ > *******************************************************************************/ > package org.eclipse.dd.dsf.debug.ui.sourcelookup; > >+import java.io.File; > import java.net.URI; > import java.util.Arrays; > import java.util.HashSet; >@@ -53,6 +54,7 @@ > import org.eclipse.dd.dsf.ui.viewmodel.datamodel.IDMVMContext; > import org.eclipse.debug.core.sourcelookup.ISourceLookupDirector; > import org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant; >+import org.eclipse.debug.core.sourcelookup.containers.LocalFileStorage; > import org.eclipse.debug.ui.DebugUITools; > import org.eclipse.debug.ui.IDebugUIConstants; > import org.eclipse.debug.ui.sourcelookup.CommonSourceNotFoundEditorInput; >@@ -200,6 +202,11 @@ > editorInput = new CommonSourceNotFoundEditorInput(dmc); > editorId = IDebugUIConstants.ID_COMMON_SOURCE_NOT_FOUND_EDITOR; > } >+ } else if (sourceElement instanceof LocalFileStorage) { >+ File file = ((LocalFileStorage)sourceElement).getFile(); >+ IFileStore fileStore = EFS.getLocalFileSystem().fromLocalFile(file); >+ editorInput = new FileStoreEditorInput(fileStore); >+ editorId = getEditorIdForFilename(file.getPath()); > } > result.setEditorInput(editorInput); > result.setEditorId(editorId);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
cdtdoug
:
iplog-
Actions:
View
|
Diff
Attachments on
bug 244817
: 110567