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 53948 Details for
Bug 164730
Allow clients to display non-ICElement objects in the CView
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]
patch file
bug164730_patch.txt (text/plain), 989 bytes, created by
Warren Paul
on 2006-11-15 19:21:41 EST
(
hide
)
Description:
patch file
Filename:
MIME Type:
Creator:
Warren Paul
Created:
2006-11-15 19:21:41 EST
Size:
989 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.cdt.ui >Index: src/org/eclipse/cdt/internal/ui/cview/CView.java >=================================================================== >RCS file: /n/cdt/joey/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CView.java,v >retrieving revision 1.1 >diff -u -r1.1 CView.java >--- src/org/eclipse/cdt/internal/ui/cview/CView.java 27 Sep 2006 21:38:02 -0000 1.1 >+++ src/org/eclipse/cdt/internal/ui/cview/CView.java 15 Nov 2006 14:28:33 -0000 >@@ -203,9 +203,13 @@ > * @see ISetSelectionTarget#selectReveal() > */ > public void selectReveal(ISelection selection) { >+ // try to get the ICElement selection if possible, otherwise fall back to regular object >+ // selection which could be an IResource. > IStructuredSelection ssel = SelectionConverter.convertSelectionToCElements(selection); > if (!ssel.isEmpty()) { > getViewer().setSelection(ssel, true); >+ } else { >+ getViewer().setSelection(selection, true); > } > }
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
Actions:
View
|
Diff
Attachments on
bug 164730
: 53948