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 26460 Details for
Bug 2389
[MPE] Take out workaround in MultiPageEditorPart.pageChange(int) (1GEV94I)
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]
Remove the workarounds
bug2389-ui.workbench.txt (text/plain), 1.78 KB, created by
Paul Webster
on 2005-08-25 13:31:41 EDT
(
hide
)
Description:
Remove the workarounds
Filename:
MIME Type:
Creator:
Paul Webster
Created:
2005-08-25 13:31:41 EDT
Size:
1.78 KB
patch
obsolete
>Index: Eclipse UI/org/eclipse/ui/part/MultiPageEditorPart.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/part/MultiPageEditorPart.java,v >retrieving revision 1.18 >diff -u -r1.18 MultiPageEditorPart.java >--- Eclipse UI/org/eclipse/ui/part/MultiPageEditorPart.java 25 Feb 2005 20:52:16 -0000 1.18 >+++ Eclipse UI/org/eclipse/ui/part/MultiPageEditorPart.java 25 Aug 2005 16:55:34 -0000 >@@ -495,12 +495,6 @@ > * @param newPageIndex the index of the activated page > */ > protected void pageChange(int newPageIndex) { >- // XXX: Workaround for 1GCN531: SWT:WIN2000 - CTabFolder child's visibility is false on notification >- Control control = getControl(newPageIndex); >- if (control != null) { >- control.setVisible(true); >- } >- // XXX: End workaround > setFocus(); > IEditorPart activeEditor = getEditor(newPageIndex); > IEditorActionBarContributor contributor = getEditorSite() >@@ -511,16 +505,12 @@ > .setActivePage(activeEditor); > } > if (activeEditor != null) { >- //Workaround for 1GAUS7C: ITPUI:ALL - Editor not activated when restored from previous session >- //do not need second if once fixed > ISelectionProvider selectionProvider = activeEditor.getSite() > .getSelectionProvider(); >- if (selectionProvider != null) { > SelectionChangedEvent event = new SelectionChangedEvent( > selectionProvider, selectionProvider.getSelection()); > ((MultiPageSelectionProvider) getSite().getSelectionProvider()) > .fireSelectionChanged(event); >- } > } > } >
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 2389
: 26460