|
Re: SWT Layouts [message #459763 is a reply to message #459731] |
Mon, 15 August 2005 20:48 |
Eclipse User |
|
|
|
Originally posted by: callum.devnet-uk.net
Jose wrote:
> Hi all
>
> Where can I download the SWT Layouts that appear in the Show View window?
>
> http://www.cs.umanitoba.ca/~eclipse/4-Layouts.pdf
>
> Thanks
> jose
>
Do you mean the list of possible of Views in that pdf? If so, that is
most likely a dialog. Inside the dialog there is a Tree
(org.eclipse.swt.widgets).
You can create your own dialog easily by extending Dialog in
org.eclipse.jface.dialogs.Dialog and then over-ride createDialogArea().
This will give you the standard Ok and Cancel buttons. You then
over-ride okPressed and cancelPressed method to perform your tasks on
presses of those buttons.
-Callum Urquhart
|
|
|
Powered by
FUDForum. Page generated in 0.03640 seconds