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 128286 Details for
Bug 257919
[Viewers] OwnerDraw: Open type doesn't display the selected type
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-257919.txt (text/plain), 1.73 KB, created by
Boris Bokowski
on 2009-03-10 17:50:02 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Boris Bokowski
Created:
2009-03-10 17:50:02 EDT
Size:
1.73 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jface >Index: src/org/eclipse/jface/viewers/StyledCellLabelProvider.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jface/src/org/eclipse/jface/viewers/StyledCellLabelProvider.java,v >retrieving revision 1.7 >diff -u -r1.7 StyledCellLabelProvider.java >--- src/org/eclipse/jface/viewers/StyledCellLabelProvider.java 13 Feb 2009 07:38:30 -0000 1.7 >+++ src/org/eclipse/jface/viewers/StyledCellLabelProvider.java 10 Mar 2009 21:49:31 -0000 >@@ -75,6 +75,7 @@ > private ViewerColumn column; > > private Widget itemOfLastMeasure; >+ private Object elementOfLastMeasure; > private int deltaOfLastMeasure; > > /** >@@ -182,6 +183,8 @@ > > this.viewer= null; > this.column= null; >+ this.itemOfLastMeasure = null; >+ this.elementOfLastMeasure = null; > > super.dispose(); > } >@@ -282,6 +285,7 @@ > int textWidthDelta = deltaOfLastMeasure = updateTextLayout(layout, cell, applyColors); > /* remove-begin if bug 228695 fixed */ > itemOfLastMeasure = event.item; >+ elementOfLastMeasure = event.item.getData(); > /* remove-end if bug 228695 fixed */ > > event.width += textWidthDelta; >@@ -370,10 +374,11 @@ > TextLayout textLayout= getSharedTextLayout(event.display); > > /* remove-begin if bug 228695 fixed */ >- if (event.item != itemOfLastMeasure) { >+ if (event.item != itemOfLastMeasure || event.item.getData() != elementOfLastMeasure) { > // fLayout has not been configured in 'measure()' > deltaOfLastMeasure = updateTextLayout(textLayout, cell, applyColors); > itemOfLastMeasure = event.item; >+ elementOfLastMeasure = event.item.getData(); > } > /* remove-end if bug 228695 fixed */ >
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 257919
:
119780
|
120568
|
126109
|
126169
| 128286