| Summary: | [modeling] Add "Collapse All" and "Expand All" buttons to the TreeViewer's toolbar | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Jacques LESCOT <jlescot> | ||||||||
| Component: | Incubators | Assignee: | Benjamin Cabé <contact> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | enhancement | ||||||||||
| Priority: | P3 | CC: | contact | ||||||||
| Version: | 3.6 | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Jacques LESCOT
Created attachment 170188 [details]
Proposed patch defining a new style to configure buttons Options
The collapse.gif and expand.gif images could be retrieved from existing Eclipse projects or directly from the following URLs: - http://iconlet.com/info/18660_collapse_16x16 - http://iconlet.com/info/20380_expandall_16x16 Created attachment 170793 [details]
Support Expand/Collapse buttons - v2
New patch with minor improvements : use setRedraw(false) and setRedraw(true) to avoid unnecessary UI updates while the tree is being expanded/collapsed.
FIXED in HEAD > 20100616 Thanks Jacques ;) Created attachment 172054 [details]
mylyn/context/zip
Benjamin, you simply forget to add the two icons ("collapse.gif" and "expand.gif") in the "icons/obj16" folder.
Oops, done. |