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 173361 Details for
Bug 318798
e4 is leaking memory on part activation/deactivation
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
patch-318798.txt (text/plain), 1.89 KB, created by
Boris Bokowski
on 2010-07-03 17:35:03 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Boris Bokowski
Created:
2010-07-03 17:35:03 EDT
Size:
1.89 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.e4.ui.css.swt >Index: src/org/eclipse/e4/ui/css/swt/properties/custom/CSSPropertyTabRendererSWTHandler.java >=================================================================== >RCS file: /cvsroot/eclipse/e4/org.eclipse.e4.ui/bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/properties/custom/CSSPropertyTabRendererSWTHandler.java,v >retrieving revision 1.7 >diff -u -r1.7 CSSPropertyTabRendererSWTHandler.java >--- src/org/eclipse/e4/ui/css/swt/properties/custom/CSSPropertyTabRendererSWTHandler.java 30 Jun 2010 17:05:46 -0000 1.7 >+++ src/org/eclipse/e4/ui/css/swt/properties/custom/CSSPropertyTabRendererSWTHandler.java 3 Jul 2010 21:34:06 -0000 >@@ -35,12 +35,15 @@ > > Object cssContext = control.getDisplay().getData("org.eclipse.e4.ui.css.context"); > if (cssContext != null && cssContext instanceof IEclipseContext) { >- IEclipseContext context = (IEclipseContext) cssContext; >- context.set(CTabFolder.class.getName(), control); >- IContributionFactory factory = (IContributionFactory) context.get(IContributionFactory.class.getName()); >- Object rend = factory.create(rendURL, context); >- if (rend != null && rend instanceof CTabFolderRenderer){ >- ((CTabFolder) control).setRenderer((CTabFolderRenderer)rend); >+ if (rendURL != null && !rendURL.equals(control.getData("org.eclipse.e4.ui.css.rendererURL"))) { >+ control.setData("org.eclipse.e4.ui.css.rendererURL", rendURL); >+ IEclipseContext context = (IEclipseContext) cssContext; >+ context.set(CTabFolder.class.getName(), control); >+ IContributionFactory factory = (IContributionFactory) context.get(IContributionFactory.class.getName()); >+ Object rend = factory.create(rendURL, context); >+ if (rend != null && rend instanceof CTabFolderRenderer){ >+ ((CTabFolder) control).setRenderer((CTabFolderRenderer)rend); >+ } > } > } > } 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 318798
:
173359
| 173361 |
173363
|
173364