Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » VE tutorial: was( Re: Java GDI for Eclipse from eclipse.newcomer )
VE tutorial: was( Re: Java GDI for Eclipse from eclipse.newcomer ) [message #110455] Wed, 02 November 2005 16:22
Eclipse UserFriend
Originally posted by: chris.alex.thomas.gmail.com

aha, thanks jeff, the documentation for the VE is quite scant, but I've
got to a pointwith your help where I can write down a simple tutorial to
get some people started, showing someone a concrete example of whta I've
just done, might help.

You can find the tutorial on my blog here

http://kosh.kmem.org/blog/index.php/2005/11/02/eclipse_swt_v isual_editor_tutorial_1

I hope people will look at it and any errors, they can leave a comment,
thanks everyone, enjoy

chris

Jeff Myers wrote:
> Is it possible that the reason you don't see the layout behavior you're
> expecting is due to the fact that you selected GridLayout rather than
> GridBagLayout? GridLayout lays out components in regular cells with
> identical height/width sizes, with no spanning and simple ordering.
> GridBagLayout allows placement in x,y cell locations, spanning, etc. The
> VE's tooling for GridBagLayout is pretty good, but you must select it
> first for it to become active.
>
> Hope this helps,
> - Jeff
>
> Christopher Thomas wrote:
>> one of the problems I've found with both is that you create your
>> class, you are confronted with a blank screen,ok, add a shell (which
>> may or may not be a window on it's own, you may take the shell and add
>> it to a existing window). Now, you'd think you do something like this
>>
>> add GridLayout, apply it to shell
>> it'll ask how many columns, you tell it, hmmm, 4
>> you drop a text control, it'll occupy row 1 column 1
>> maybe you can right click, tell it to span 2 columns
>> add button widget, it'll add to....
Previous Topic:Column select feature
Next Topic:VE tutorial: was( Re: Java GDI for Eclipse from eclipse.newcomer )
Goto Forum:
  


Current Time: Sat Apr 27 03:05:49 GMT 2024

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

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

Back to the top