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 55299 Details for
Bug 151861
[History View] History view does not link to selection in Synchronize 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]
Patch
151861_History_link_Sync_patch.txt (text/plain), 1.50 KB, created by
Markus Keller
on 2006-12-08 05:29:28 EST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Markus Keller
Created:
2006-12-08 05:29:28 EST
Size:
1.50 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.team.ui >Index: src/org/eclipse/team/internal/ui/history/GenericHistoryView.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/history/GenericHistoryView.java,v >retrieving revision 1.48 >diff -u -r1.48 GenericHistoryView.java >--- src/org/eclipse/team/internal/ui/history/GenericHistoryView.java 4 Dec 2006 18:07:54 -0000 1.48 >+++ src/org/eclipse/team/internal/ui/history/GenericHistoryView.java 8 Dec 2006 10:24:54 -0000 >@@ -28,6 +28,7 @@ > import org.eclipse.team.core.RepositoryProvider; > import org.eclipse.team.core.history.IFileHistoryProvider; > import org.eclipse.team.internal.ui.*; >+import org.eclipse.team.internal.ui.synchronize.SyncInfoModelElement; > import org.eclipse.team.ui.history.*; > import org.eclipse.ui.*; > import org.eclipse.ui.actions.ActionFactory; >@@ -372,7 +373,13 @@ > } > > if (lastSelectedElement != null){ >- Object resource = Utils.getAdapter(lastSelectedElement, IResource.class); >+ Object resource; >+ if (lastSelectedElement instanceof SyncInfoModelElement) { >+ SyncInfoModelElement syncInfoModelElement = (SyncInfoModelElement) lastSelectedElement; >+ resource = syncInfoModelElement.getSyncInfo().getLocal(); >+ } else { >+ resource = Utils.getAdapter(lastSelectedElement, IResource.class); >+ } > if (resource != null) > itemDropped((IResource) resource, false); > else
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 151861
: 55299