Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » JGoodies support
JGoodies support [message #110342] Sat, 29 October 2005 21:15 Go to next message
Eclipse UserFriend
Originally posted by: hansboerstra.hotmail.com

Is there any update in plans to support JGoodies Forms layout and builder in
VE (bugzilla 71494)?

Regards,

Hans
Re: JGoodies support [message #110368 is a reply to message #110342] Sun, 30 October 2005 22:29 Go to previous message
Eclipse UserFriend
Originally posted by: hansboerstra.hotmail.com

That was a rather vague and ambiguous question of yours truly. I ment the
support for builders because we are already using JGoodies FormLayout with
VE in several projects. We use the builders a lot in currently non-VE
projects, because it simplifies maintenance of the hundreds of screens we
have. A standard panel would look like this:
FormLayout layout = new FormLayout( "left:pref, 4dlu, pref:grow, 4dlu, p",
""); //$NON-NLS-1$ //$NON-NLS-2$
DefaultFormBuilder builder = new DefaultFormBuilder(this, layout);
CellConstraints cc = new CellConstraints();
// next part repeated for a row
builder.appendRow("3dlu");
builder.appendRow("p");
builder.nextRow(2);
// a number of controls on the row
builder.add(<someControl>, cc.xy(1, builder.getRow()));

The dynamic adding of rows makes it easier to remove or add rows, because
you don't have to count and look in the row definitions which is necessary
if you would build a layout like this: new FormLayout("left:pref, 4dlu,
pref:grow, 4dlu, p", "3dlu, p, 3dlu, p, 3dlu, p");

If support for these convenience class of JGoodies is not expected in the
near future, could anyone give me pointers to where I could add this kind of
features to the JGoodies support in VE myself?

Regards,

Hans

"Hans Boerstra" <hansboerstra@hotmail.com> wrote in message
news:dk0op0$pb4$1@news.eclipse.org...
> Is there any update in plans to support JGoodies Forms layout and builder
> in VE (bugzilla 71494)?
>
> Regards,
>
> Hans
>
>
Re: JGoodies support [message #611280 is a reply to message #110342] Sun, 30 October 2005 22:29 Go to previous message
Hans Boerstra is currently offline Hans BoerstraFriend
Messages: 48
Registered: July 2009
Member
That was a rather vague and ambiguous question of yours truly. I ment the
support for builders because we are already using JGoodies FormLayout with
VE in several projects. We use the builders a lot in currently non-VE
projects, because it simplifies maintenance of the hundreds of screens we
have. A standard panel would look like this:
FormLayout layout = new FormLayout( "left:pref, 4dlu, pref:grow, 4dlu, p",
""); //$NON-NLS-1$ //$NON-NLS-2$
DefaultFormBuilder builder = new DefaultFormBuilder(this, layout);
CellConstraints cc = new CellConstraints();
// next part repeated for a row
builder.appendRow("3dlu");
builder.appendRow("p");
builder.nextRow(2);
// a number of controls on the row
builder.add(<someControl>, cc.xy(1, builder.getRow()));

The dynamic adding of rows makes it easier to remove or add rows, because
you don't have to count and look in the row definitions which is necessary
if you would build a layout like this: new FormLayout("left:pref, 4dlu,
pref:grow, 4dlu, p", "3dlu, p, 3dlu, p, 3dlu, p");

If support for these convenience class of JGoodies is not expected in the
near future, could anyone give me pointers to where I could add this kind of
features to the JGoodies support in VE myself?

Regards,

Hans

"Hans Boerstra" <hansboerstra@hotmail.com> wrote in message
news:dk0op0$pb4$1@news.eclipse.org...
> Is there any update in plans to support JGoodies Forms layout and builder
> in VE (bugzilla 71494)?
>
> Regards,
>
> Hans
>
>
Previous Topic:VE install
Next Topic:Getting to the visual editor's XMI/XML
Goto Forum:
  


Current Time: Fri Apr 19 00:32:58 GMT 2024

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

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

Back to the top