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 191412 Details for
Bug 339360
MultiPage Editor's selectionProvider does not notify PropertySheet
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
MultiPageEditorSite patch v1
bug339360-patch-v1.txt (text/plain), 1.66 KB, created by
Remy Suen
on 2011-03-17 08:59:40 EDT
(
hide
)
Description:
MultiPageEditorSite patch v1
Filename:
MIME Type:
Creator:
Remy Suen
Created:
2011-03-17 08:59:40 EDT
Size:
1.66 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.workbench >Index: Eclipse UI/org/eclipse/ui/part/MultiPageEditorSite.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/part/MultiPageEditorSite.java,v >retrieving revision 1.45 >diff -u -r1.45 MultiPageEditorSite.java >--- Eclipse UI/org/eclipse/ui/part/MultiPageEditorSite.java 1 Jun 2010 19:22:36 -0000 1.45 >+++ Eclipse UI/org/eclipse/ui/part/MultiPageEditorSite.java 17 Mar 2011 12:57:53 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2000, 2009 IBM Corporation and others. >+ * Copyright (c) 2000, 2011 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 >@@ -532,6 +532,9 @@ > if (oldSelectionProvider instanceof IPostSelectionProvider) { > ((IPostSelectionProvider) oldSelectionProvider) > .removePostSelectionChangedListener(getPostSelectionChangedListener()); >+ } else { >+ oldSelectionProvider >+ .removeSelectionChangedListener(getPostSelectionChangedListener()); > } > } > if (selectionProvider != null) { >@@ -540,6 +543,8 @@ > if (selectionProvider instanceof IPostSelectionProvider) { > ((IPostSelectionProvider) selectionProvider) > .addPostSelectionChangedListener(getPostSelectionChangedListener()); >+ } else { >+ selectionProvider.addSelectionChangedListener(getPostSelectionChangedListener()); > } > } > }
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 339360
:
191412
|
191416
|
192282