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 954 Details for
Bug 16283
Add from Local History items are unsorted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
patch from veronika
patch.txt (text/plain), 1.04 KB, created by
Veronika Irvine
on 2002-05-22 14:01:48 EDT
(
hide
)
Description:
patch from veronika
Filename:
MIME Type:
Creator:
Veronika Irvine
Created:
2002-05-22 14:01:48 EDT
Size:
1.04 KB
patch
obsolete
>Index: TableTree.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableTree.java,v >retrieving revision 1.12 >diff -u -r1.12 TableTree.java >--- TableTree.java 5 Apr 2002 16:28:49 -0000 1.12 >+++ TableTree.java 22 May 2002 18:00:31 -0000 >@@ -201,12 +201,16 @@ > > /* Expand upward from the specified leaf item. */ > void expandItem (TableTreeItem item) { >- if (item == null || item.getExpanded()) return; >+ if (item == null) return; >+ boolean wasExpanded = item.expanded; > expandItem(item.parentItem); > item.setExpanded(true); >- Event event = new Event(); >- event.item = item; >- notifyListeners(SWT.Expand, event); >+ if (!item.getVisible()) item.setVisible(true); >+ if (!wasExpanded) { >+ Event event = new Event(); >+ event.item = item; >+ notifyListeners(SWT.Expand, event); >+ } > } > public Color getBackground () { > // This method must be overriden otherwise, in a TableTree in which the first
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 Raw
Actions:
View
Attachments on
bug 16283
:
869
| 954 |
955