Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Using FormAttachment in FormLayout
Using FormAttachment in FormLayout [message #89281] Tue, 03 May 2005 03:51 Go to next message
a is currently offline aFriend
Messages: 75
Registered: July 2009
Member
This is a multi-part message in MIME format.

------=_NextPart_000_0102_01C54F58.AA4CE690
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Problem: How to create a FormAttachment using VE.

Eclipse 3.0.1

org.eclipse.ve 1.0.2.1
org.eclipse.emf 2.0.1
org.eclipse.gef 3.0.1=20

I used the Visual Class wizard to create a subclass of Composite called =
MyComposite.
I then used a FormLayout manager for MyComposite.
I created a FormData bean using Choose Bean.

At this point, I am unclear how to create a FormAttachment using VE.

Moreover, the FormData instance does not let me add a value to
its top, bottom, left, and right.

The "Using the Visual Editor for Java" help does not appear to provide =
any specifics.

I appreciate any feedback.
------=_NextPart_000_0102_01C54F58.AA4CE690
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2627" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Problem: How to create a FormAttachment =
using=20
VE.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Eclipse 3.0.1</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2> org.eclipse.ve&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;=20
1.0.2.1</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>org.eclipse.emf&nbsp;&nbsp;&nbsp;=20
2.0.1</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>org.eclipse.gef&nbsp;&nbsp;&nbsp;&nbsp; =

3.0.1&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I used the Visual Class wizard to =
create a subclass=20
of Composite called MyComposite.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I&nbsp;then used a FormLayout manager =
for=20
MyComposite.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I created a FormData bean using Choose=20
Bean.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>At this point, I am unclear how to =
create a=20
FormAttachment using VE.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Moreover, the FormData instance does =
not let me add=20
a value to</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>its top, bottom, left, and =
right.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The "Using the Visual Editor for Java" =
help does=20
not appear to provide any specifics.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I appreciate any=20
feedback.</FONT></DIV></BODY></HTML>

------=_NextPart_000_0102_01C54F58.AA4CE690--
Re: Using FormAttachment in FormLayout [message #89371 is a reply to message #89281] Tue, 03 May 2005 13:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: myersj.gmail.com

John,

The VE currently doesn't have design time support for creating
containers using FormLayout. This feature is on the plan for a future
release of the VE. Perhaps you can use GridLayout in the meantime?

Hope this helps,

- Jeff

John wrote:
> Problem: How to create a FormAttachment using VE.
>
> Eclipse 3.0.1
>
> org.eclipse.ve 1.0.2.1
> org.eclipse.emf 2.0.1
> org.eclipse.gef 3.0.1
>
> I used the Visual Class wizard to create a subclass of Composite called
> MyComposite.
> I then used a FormLayout manager for MyComposite.
> I created a FormData bean using Choose Bean.
>
> At this point, I am unclear how to create a FormAttachment using VE.
>
> Moreover, the FormData instance does not let me add a value to
> its top, bottom, left, and right.
>
> The "Using the Visual Editor for Java" help does not appear to provide
> any specifics.
>
> I appreciate any feedback.
Re: Using FormAttachment in FormLayout [message #89476 is a reply to message #89371] Tue, 03 May 2005 16:44 Go to previous messageGo to next message
a is currently offline aFriend
Messages: 75
Registered: July 2009
Member
This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C54FC4.A73463E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Jeff

I appreciate your feedback.

Is there a recommendation for how to manually write our code so
that when FormLayout is supported by VE, VE will
recognize our manual coding.

By the way, I did not find any mention of the fact that
VE does not support FormLayout in the VE FAQ or elsewhere.
Was it hiding somewhere on the VE website?



------=_NextPart_000_0009_01C54FC4.A73463E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2627" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Jeff</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I appreciate your =
feedback.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is there a recommendation for how to =
manually write=20
our code so</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>that when FormLayout is supported by =
VE, VE=20
will</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>recognize our manual =
coding.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>By the way, I did not find any mention =
of the fact=20
that</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>VE does not </FONT><FONT face=3DArial =
size=3D2>support=20
FormLayout in the VE FAQ or elsewhere.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Was it hiding somewhere on the VE=20
website?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial=20
size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0009_01C54FC4.A73463E0--
Re: Using FormAttachment in FormLayout [message #89490 is a reply to message #89476] Tue, 03 May 2005 16:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: myersj.gmail.com

John, see the help VE help within Eclipse, topic: Editing Java in the
Visual Editor->Developing Java Classes with the Visual Editor->Laying
out components->SWT Layout Managers.

Unfortuately the source code pattern for using the FormLayout in the VE
hasn't been specified yet, so it'd be hard to code against it. We're
looking for help from the community in designing this feature (what the
UI feedback will be like and the code pattern used) so any feedback or
ideas would be helpful. You can participate in the discussion here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=77683

Hope this helps,
- Jeff

John wrote:
> Jeff
>
> I appreciate your feedback.
>
> Is there a recommendation for how to manually write our code so
> that when FormLayout is supported by VE, VE will
> recognize our manual coding.
>
> By the way, I did not find any mention of the fact that
> VE does not support FormLayout in the VE FAQ or elsewhere.
> Was it hiding somewhere on the VE website?
>
>
>
Re: Using FormAttachment in FormLayout [message #89505 is a reply to message #89490] Tue, 03 May 2005 18:23 Go to previous message
a is currently offline aFriend
Messages: 75
Registered: July 2009
Member
This is a multi-part message in MIME format.

------=_NextPart_000_002D_01C54FD2.996E0D20
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Jeff

Thank you for the clarification.

John
------=_NextPart_000_002D_01C54FD2.996E0D20
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2627" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2>Jeff</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thank you for the =
clarification.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>John</FONT></DIV></BODY></HTML>

------=_NextPart_000_002D_01C54FD2.996E0D20--
Re: Using FormAttachment in FormLayout [message #607314 is a reply to message #89281] Tue, 03 May 2005 13:01 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 396
Registered: July 2009
Senior Member
John,

The VE currently doesn't have design time support for creating
containers using FormLayout. This feature is on the plan for a future
release of the VE. Perhaps you can use GridLayout in the meantime?

Hope this helps,

- Jeff

John wrote:
> Problem: How to create a FormAttachment using VE.
>
> Eclipse 3.0.1
>
> org.eclipse.ve 1.0.2.1
> org.eclipse.emf 2.0.1
> org.eclipse.gef 3.0.1
>
> I used the Visual Class wizard to create a subclass of Composite called
> MyComposite.
> I then used a FormLayout manager for MyComposite.
> I created a FormData bean using Choose Bean.
>
> At this point, I am unclear how to create a FormAttachment using VE.
>
> Moreover, the FormData instance does not let me add a value to
> its top, bottom, left, and right.
>
> The "Using the Visual Editor for Java" help does not appear to provide
> any specifics.
>
> I appreciate any feedback.
Re: Using FormAttachment in FormLayout [message #607321 is a reply to message #89371] Tue, 03 May 2005 16:44 Go to previous message
a is currently offline aFriend
Messages: 75
Registered: July 2009
Member
This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C54FC4.A73463E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Jeff

I appreciate your feedback.

Is there a recommendation for how to manually write our code so
that when FormLayout is supported by VE, VE will
recognize our manual coding.

By the way, I did not find any mention of the fact that
VE does not support FormLayout in the VE FAQ or elsewhere.
Was it hiding somewhere on the VE website?



------=_NextPart_000_0009_01C54FC4.A73463E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2627" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Jeff</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I appreciate your =
feedback.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is there a recommendation for how to =
manually write=20
our code so</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>that when FormLayout is supported by =
VE, VE=20
will</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>recognize our manual =
coding.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>By the way, I did not find any mention =
of the fact=20
that</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>VE does not </FONT><FONT face=3DArial =
size=3D2>support=20
FormLayout in the VE FAQ or elsewhere.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Was it hiding somewhere on the VE=20
website?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial=20
size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0009_01C54FC4.A73463E0--
Re: Using FormAttachment in FormLayout [message #607322 is a reply to message #89476] Tue, 03 May 2005 16:57 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 396
Registered: July 2009
Senior Member
John, see the help VE help within Eclipse, topic: Editing Java in the
Visual Editor->Developing Java Classes with the Visual Editor->Laying
out components->SWT Layout Managers.

Unfortuately the source code pattern for using the FormLayout in the VE
hasn't been specified yet, so it'd be hard to code against it. We're
looking for help from the community in designing this feature (what the
UI feedback will be like and the code pattern used) so any feedback or
ideas would be helpful. You can participate in the discussion here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=77683

Hope this helps,
- Jeff

John wrote:
> Jeff
>
> I appreciate your feedback.
>
> Is there a recommendation for how to manually write our code so
> that when FormLayout is supported by VE, VE will
> recognize our manual coding.
>
> By the way, I did not find any mention of the fact that
> VE does not support FormLayout in the VE FAQ or elsewhere.
> Was it hiding somewhere on the VE website?
>
>
>
Re: Using FormAttachment in FormLayout [message #607323 is a reply to message #89490] Tue, 03 May 2005 18:23 Go to previous message
a is currently offline aFriend
Messages: 75
Registered: July 2009
Member
This is a multi-part message in MIME format.

------=_NextPart_000_002D_01C54FD2.996E0D20
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Jeff

Thank you for the clarification.

John
------=_NextPart_000_002D_01C54FD2.996E0D20
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2627" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2>Jeff</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thank you for the =
clarification.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>John</FONT></DIV></BODY></HTML>

------=_NextPart_000_002D_01C54FD2.996E0D20--
Previous Topic:toolbar problem
Next Topic:Eclipse VE jre 1.5.x problem
Goto Forum:
  


Current Time: Fri Apr 26 14:27:56 GMT 2024

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

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

Back to the top