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 153115 Details for
Bug 272884
[EditorMgmt] IWorkbenchPage#openEditors(IEditorInput[], ..) should add editors at front of MRU list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch v2 updated
patch MRU 3.txt (text/plain), 4.09 KB, created by
Oleg Besedin
on 2009-11-25 15:24:30 EST
(
hide
)
Description:
Patch v2 updated
Filename:
MIME Type:
Creator:
Oleg Besedin
Created:
2009-11-25 15:24:30 EST
Size:
4.09 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.workbench >Index: Eclipse UI/org/eclipse/ui/internal/presentations/PaneFolder.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/PaneFolder.java,v >retrieving revision 1.46 >diff -u -r1.46 PaneFolder.java >--- Eclipse UI/org/eclipse/ui/internal/presentations/PaneFolder.java 23 Sep 2009 19:47:45 -0000 1.46 >+++ Eclipse UI/org/eclipse/ui/internal/presentations/PaneFolder.java 25 Nov 2009 20:27:09 -0000 >@@ -732,6 +732,10 @@ > tabFolder.setSelection(selection); > } > >+ public void showItem(int selection) { >+ tabFolder.showItem(tabFolder.getItem(selection)); >+ } >+ > /** > * @param i > * @param j >Index: Eclipse UI/org/eclipse/ui/internal/presentations/defaultpresentation/DefaultTabFolder.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/defaultpresentation/DefaultTabFolder.java,v >retrieving revision 1.27 >diff -u -r1.27 DefaultTabFolder.java >--- Eclipse UI/org/eclipse/ui/internal/presentations/defaultpresentation/DefaultTabFolder.java 23 Sep 2009 19:47:45 -0000 1.27 >+++ Eclipse UI/org/eclipse/ui/internal/presentations/defaultpresentation/DefaultTabFolder.java 25 Nov 2009 20:27:09 -0000 >@@ -256,6 +256,20 @@ > paneFolder.setSelection(indexOf(toSelect)); > } > >+ /* >+ * (non-Javadoc) >+ * >+ * @see >+ * org.eclipse.ui.internal.presentations.util.AbstractTabFolder#showItem >+ * (org.eclipse.ui.internal.presentations.util.AbstractTabItem) >+ */ >+ public void showItem(AbstractTabItem toSelect) { >+ // overrides default >+ int index = indexOf(toSelect); >+ if (index != -1) >+ paneFolder.showItem(index); >+ } >+ > /* (non-Javadoc) > * @see org.eclipse.ui.internal.presentations.util.AbstractTabFolder#getToolbarParent() > */ >Index: Eclipse UI/org/eclipse/ui/internal/presentations/util/AbstractTabFolder.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/util/AbstractTabFolder.java,v >retrieving revision 1.14 >diff -u -r1.14 AbstractTabFolder.java >--- Eclipse UI/org/eclipse/ui/internal/presentations/util/AbstractTabFolder.java 25 May 2009 20:52:16 -0000 1.14 >+++ Eclipse UI/org/eclipse/ui/internal/presentations/util/AbstractTabFolder.java 25 Nov 2009 20:27:09 -0000 >@@ -13,7 +13,6 @@ > import java.util.ArrayList; > import java.util.Iterator; > import java.util.List; >- > import org.eclipse.swt.SWT; > import org.eclipse.swt.events.MouseAdapter; > import org.eclipse.swt.events.MouseEvent; >@@ -402,4 +401,9 @@ > */ > public void showMinMax(boolean show) { > } >+ >+ public void showItem(AbstractTabItem toSelect) { >+ setSelection(toSelect); >+ } >+ > } >Index: Eclipse UI/org/eclipse/ui/internal/presentations/util/PresentablePartFolder.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/util/PresentablePartFolder.java,v >retrieving revision 1.24 >diff -u -r1.24 PresentablePartFolder.java >--- Eclipse UI/org/eclipse/ui/internal/presentations/util/PresentablePartFolder.java 25 May 2009 20:52:15 -0000 1.24 >+++ Eclipse UI/org/eclipse/ui/internal/presentations/util/PresentablePartFolder.java 25 Nov 2009 20:27:09 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2004, 2008 IBM Corporation and others. >+ * Copyright (c) 2004, 2009 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -189,7 +189,7 @@ > } > > item = folder.add(idx, style); >- >+ folder.showItem(item); > item.setData(part); > > initTab(item, part);
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 272884
:
133178
|
133179
|
133538
|
133539
|
133540
|
133780
|
134969
|
134970
|
143938
|
147360
|
147361
| 153115