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 243291 Details for
Bug 435284
[Open Resource] Open Resource dialog's 'Show In' feature no longer lists active view
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
eclipse.platform.ui.patch (text/plain), 1.06 KB, created by
Dani Megert
on 2014-05-20 09:19:21 EDT
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Dani Megert
Created:
2014-05-20 09:19:21 EDT
Size:
1.06 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.workbench >diff --git Eclipse UI/org/eclipse/ui/internal/ShowInMenu.java Eclipse UI/org/eclipse/ui/internal/ShowInMenu.java >index 4f771cd..28462ac 100644 >--- Eclipse UI/org/eclipse/ui/internal/ShowInMenu.java >+++ Eclipse UI/org/eclipse/ui/internal/ShowInMenu.java >@@ -37,6 +37,7 @@ > import org.eclipse.swt.SWT; > import org.eclipse.swt.widgets.Menu; > import org.eclipse.swt.widgets.MenuItem; >+import org.eclipse.swt.widgets.Shell; > import org.eclipse.ui.IEditorPart; > import org.eclipse.ui.ISourceProvider; > import org.eclipse.ui.ISources; >@@ -325,7 +326,14 @@ > > IWorkbenchPage page = window.getActivePage(); > if (page != null) { >- return page.getActivePart(); >+ IWorkbenchPart activePart = page.getActivePart(); >+ /* >+ * NOTE: Do not use window.getShell() to test since this won't work >+ * for detached views (see bug 412285) >+ */ >+ Shell activePartShell = activePart.getSite().getShell(); >+ if (activePartShell == activePartShell.getDisplay().getActiveShell()) >+ return activePart; > } > return null; > }
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 435284
: 243291