Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT Layouts
SWT Layouts [message #459731] Mon, 15 August 2005 02:04 Go to next message
Jose is currently offline JoseFriend
Messages: 51
Registered: July 2009
Member
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
Re: SWT Layouts [message #459763 is a reply to message #459731] Mon, 15 August 2005 20:48 Go to previous message
Eclipse UserFriend
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
Previous Topic:Keyboard Accelerator on Button
Next Topic:Console is not available
Goto Forum:
  


Current Time: Sat Apr 27 00:55:32 GMT 2024

Powered by FUDForum. Page generated in 0.03640 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top