Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Which Layout and Figure to use?
Which Layout and Figure to use? [message #211025] Tue, 07 March 2006 18:40 Go to next message
Martin Holmes is currently offline Martin HolmesFriend
Messages: 79
Registered: July 2009
Member
This is a multi-part message in MIME format.

------=_NextPart_000_0026_01C64216.922834A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,=20
I wish to create a figure that represents a point on the =
screen and a Label that provides a name for the point.=20

I would also like the point to be draggable around the screen and the =
text needs to move around the point so that it is always visible when =
the point is dragged near to the edge of the screen.

I would appreciate if someone could point to the right classes for the =
job!

many thanks

Martin
------=_NextPart_000_0026_01C64216.922834A0
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.2800.1528" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D1>Hi all, </FONT></DIV>
<DIV><FONT face=3DArial size=3D1>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; I wish to create a figure that represents a point on =
the=20
screen and a Label that provides a name for the point. </FONT></DIV>
<DIV><FONT face=3DArial size=3D1></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D1>I would also like the point to be =
draggable around=20
the screen and &nbsp;the text&nbsp;needs to move around the point so =
that it is=20
always visible when the point is dragged near to the edge of the=20
screen.</FONT></DIV>
<DIV><FONT face=3DArial size=3D1></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D1>I would appreciate if someone could =
point to the=20
right classes for the job!</FONT></DIV>
<DIV><FONT face=3DArial size=3D1></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D1>many thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D1></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D1>Martin</FONT></DIV></BODY></HTML>

------=_NextPart_000_0026_01C64216.922834A0--
Re: Which Layout and Figure to use? [message #211350 is a reply to message #211025] Fri, 10 March 2006 03:56 Go to previous messageGo to next message
Steven R. Shaw is currently offline Steven R. ShawFriend
Messages: 128
Registered: July 2009
Senior Member
Martin Holmes wrote:
> Hi all,
> I wish to create a figure that represents a point on the
> screen and a Label that provides a name for the point.
>
> I would also like the point to be draggable around the screen and the
> text needs to move around the point so that it is always visible when
> the point is dragged near to the edge of the screen.
>
> I would appreciate if someone could point to the right classes for the job!
>
> many thanks
>
> Martin

Sounds like a job for DelegatingLayout on this "point" figure and then a
custom Locator on the label that would detect orientation in the viewport.

-Steve
Re: Which Layout and Figure to use? [message #211357 is a reply to message #211025] Fri, 10 March 2006 03:57 Go to previous messageGo to next message
Steven R. Shaw is currently offline Steven R. ShawFriend
Messages: 128
Registered: July 2009
Senior Member
Martin Holmes wrote:
> Hi all,
> I wish to create a figure that represents a point on the
> screen and a Label that provides a name for the point.
>
> I would also like the point to be draggable around the screen and the
> text needs to move around the point so that it is always visible when
> the point is dragged near to the edge of the screen.
>
> I would appreciate if someone could point to the right classes for the job!
>
> many thanks
>
> Martin

Sounds like a job for DelegatingLayout on this "point" figure and then a
custom Locator on the label that would detect orientation in the viewport.

-Steve
Re: Which Layout and Figure to use? [message #211363 is a reply to message #211025] Fri, 10 March 2006 03:58 Go to previous messageGo to next message
Steven R. Shaw is currently offline Steven R. ShawFriend
Messages: 128
Registered: July 2009
Senior Member
Martin Holmes wrote:
> Hi all,
> I wish to create a figure that represents a point on the
> screen and a Label that provides a name for the point.
>
> I would also like the point to be draggable around the screen and the
> text needs to move around the point so that it is always visible when
> the point is dragged near to the edge of the screen.
>
> I would appreciate if someone could point to the right classes for the job!
>
> many thanks
>
> Martin

Sounds like a job for DelegatingLayout on this "point" figure and then a
custom Locator on the label that would detect orientation in the viewport.

-Steve
Re: Which Layout and Figure to use? [message #211370 is a reply to message #211025] Fri, 10 March 2006 04:00 Go to previous message
Steven R. Shaw is currently offline Steven R. ShawFriend
Messages: 128
Registered: July 2009
Senior Member
Martin Holmes wrote:
> Hi all,
> I wish to create a figure that represents a point on the
> screen and a Label that provides a name for the point.
>
> I would also like the point to be draggable around the screen and the
> text needs to move around the point so that it is always visible when
> the point is dragged near to the edge of the screen.
>
> I would appreciate if someone could point to the right classes for the job!
>
> many thanks
>
> Martin

Sounds like a job for DelegatingLayout on this "point" figure and then a
custom Locator on the label that would detect orientation in the viewport.

-Steve
Previous Topic:Adding PaletteContainer to another PaletteContainer ...
Next Topic:Grid line Pattern
Goto Forum:
  


Current Time: Fri Dec 09 06:18:33 GMT 2022

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

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

Back to the top