Home » Archived » Visual Editor (VE) » JGoodies support
JGoodies support [message #110342] |
Sat, 29 October 2005 17:15  |
Eclipse User |
|
|
|
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 17:29  |
Eclipse User |
|
|
|
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 17:29  |
Eclipse User |
|
|
|
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
>
>
|
|
|
Goto Forum:
Current Time: Thu May 22 15:12:01 EDT 2025
Powered by FUDForum. Page generated in 0.03611 seconds
|