[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: ElementTreeSelectionDialog?
|
Chad,
You may get more response if you ask this on the eclipse.platform newsgroup,
since ElementTreeSelectionDialog is defined in a ui package.
The closest (though not too close) swt-level example of this is
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet98.java .
Substituting a Tree for the button and listening for SWT.Selection events on
it should provide the basic functionality that you're looking for. Of
course this approach leaves all page management work up to you, which may
not be desirable.
Grant
"Chad Cornelius" <chad.cornelius@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:ej2i4u$m2v$1@xxxxxxxxxxxxxxxxxxxx
> Does anyone have an example of how to use the ElementTreeSelectionDialog?
I
> am really new to RCP/SWT/JFace and am wanting to create a similar dialog
to
> that of preferences. However, I don't want to use preferencePage. I am
> needing a tree on the right where a user can select an item and build the
> page on the right. I know I can do this with views, but I am wondering
how
> this is done via a dialog. Any help or advise would be greatly
appreciated.
>
> Thanks,
> Chad
>
>