[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Is it possible to have a tree with only some items with checkboxes
|
- From: Daniel KrÃgler <dsp@xxxxxxx>
- Date: Fri, 11 Sep 2009 09:12:39 +0200
- Newsgroups: eclipse.platform.swt
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.23 (Windows/20090812)
Darragh McGeown wrote:
Is it possible to have a tree with only some items with checkboxes? For
example, let's say i want checkboxes for directories nut i want images
without checkboxes in a file explorer example?
That is easy to realize with image snapshot's of the actual checkbox's.
See e.g.
http://tom-eclipse-dev.blogspot.com/2007/01/tableviewers-and-nativelooking.html
or
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/viewers/Snippet061FakedNativeCellEditor.java?view=markup
The essence of the idea is that now your label provider can implement
at which locations the checkboxes (or other "widgets") occur.
HTH & Greetings from Bremen,
Daniel KrÃgler