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 61882 Details for
Bug 179127
Display the full file path in the status line area when a C/C++ editor is open
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
b179127_patch.txt (text/plain), 1.55 KB, created by
Warren Paul
on 2007-03-23 16:53:13 EDT
(
hide
)
Description:
patch file
Filename:
MIME Type:
Creator:
Warren Paul
Created:
2007-03-23 16:53:13 EDT
Size:
1.55 KB
patch
obsolete
>Index: src/org/eclipse/cdt/internal/ui/editor/CEditor.java >=================================================================== >RCS file: /n/cdt/joey_40/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java,v >retrieving revision 1.3 >diff -u -r1.3 CEditor.java >--- src/org/eclipse/cdt/internal/ui/editor/CEditor.java 12 Feb 2007 01:36:24 -0000 1.3 >+++ src/org/eclipse/cdt/internal/ui/editor/CEditor.java 23 Mar 2007 20:50:50 -0000 >@@ -121,6 +121,7 @@ > import org.eclipse.ui.IFileEditorInput; > import org.eclipse.ui.IPageLayout; > import org.eclipse.ui.IPartService; >+import org.eclipse.ui.IPathEditorInput; > import org.eclipse.ui.IWorkbenchWindow; > import org.eclipse.ui.PlatformUI; > import org.eclipse.ui.actions.ActionContext; >@@ -2536,6 +2537,15 @@ > updateMarkerViews(annotation); > if (annotation instanceof ICAnnotation && ((ICAnnotation) annotation).isProblem()) > setStatusLineMessage(annotation.getText()); >+ } else { >+ IEditorInput editorInput = getEditorInput(); >+ if (editorInput != null) { >+ if (editorInput instanceof IFileEditorInput) { >+ setStatusLineMessage(((IFileEditorInput) editorInput).getFile().getLocation().toOSString()); >+ } else if (editorInput instanceof IPathEditorInput) { >+ setStatusLineMessage(((IPathEditorInput) editorInput).getPath().toOSString()); >+ } >+ } > } > } > >@@ -3089,6 +3099,11 @@ > if (fProjectionModelUpdater != null) { > fProjectionModelUpdater.initialize(); > } >+ } >+ >+ public void setFocus() { >+ super.setFocus(); >+ updateStatusLine(); > } > > }
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 179127
: 61882