Using FormAttachment in FormLayout [message #89281] |
Tue, 03 May 2005 03:51 |
a 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> </DIV>
<DIV><FONT face=3DArial size=3D2>Eclipse 3.0.1</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial =
size=3D2> org.eclipse.ve &n bsp;=20
1.0.2.1</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>org.eclipse.emf =20
2.0.1</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>org.eclipse.gef =
3.0.1 </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </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 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> </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> </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> </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> </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 |
Eclipse User |
|
|
|
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 #89490 is a reply to message #89476] |
Tue, 03 May 2005 16:57 |
Eclipse User |
|
|
|
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?
>
>
>
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04602 seconds