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 #607305] Tue, 03 May 2005 03:51
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--
Previous Topic:JFrame not visible
Next Topic:toolbar problem
Goto Forum:
  


Current Time: Thu Apr 25 15:05:59 GMT 2024

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

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

Back to the top