Skip to main content



      Home
Home » Eclipse Projects » GEF » My Figures cannot move....
My Figures cannot move.... [message #117502] Fri, 13 February 2004 05:17 Go to next message
Eclipse UserFriend
Originally posted by: bbdaffy.hotmail.com

Hi,

I am using Eclipse 3 M6 with a compatible build of GEF.

I created a GraphicalEditor which is able to display some figures based on
my contents file. However the figures cannot be moved about even within
the editor itself. How can I rectify this problem? Thanks.

Rgds,
Lee
Re: My Figures cannot move.... [message #117613 is a reply to message #117502] Fri, 13 February 2004 14:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

I think you need to provide more information. Was it *ever* working
correctly? Do you see anything in the .log file indiciating exceptions
being thrown, etc.?

"Lee" <bbdaffy@hotmail.com> wrote in message
news:c0i87d$6tq$1@eclipse.org...
> Hi,
>
> I am using Eclipse 3 M6 with a compatible build of GEF.
>
> I created a GraphicalEditor which is able to display some figures based on
> my contents file. However the figures cannot be moved about even within
> the editor itself. How can I rectify this problem? Thanks.
>
> Rgds,
> Lee
>
Re: My Figures cannot move.... [message #117702 is a reply to message #117613] Mon, 16 February 2004 04:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bbdaffy.hotmail.com

Hi,

Sorry, I am kind of a newbie in terms of development on Eclipse and GEF.
The editor was NEVER working correctly. But I do not know what is lacking
in my program which does not allow my figures to be moved around. Is such
movement only available upon the addition of e.g. a EditPolicy etc? Or I
need to implement a certain method in my figure or my Editor to enable
movement? I have absolutely no idea. Thanks for your help.

Regards,
Lee

Randy Hudson wrote:

> I think you need to provide more information. Was it *ever* working
> correctly? Do you see anything in the .log file indiciating exceptions
> being thrown, etc.?

> "Lee" <bbdaffy@hotmail.com> wrote in message
> news:c0i87d$6tq$1@eclipse.org...
> > Hi,
> >
> > I am using Eclipse 3 M6 with a compatible build of GEF.
> >
> > I created a GraphicalEditor which is able to display some figures based on
> > my contents file. However the figures cannot be moved about even within
> > the editor itself. How can I rectify this problem? Thanks.
> >
> > Rgds,
> > Lee
> >
Re: My Figures cannot move.... [message #117843 is a reply to message #117702] Mon, 16 February 2004 13:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

See LogicXYLayoutEditPolicy. Typically you would subclass the
XYLayoutEditPolicy, and override the necessary methods to move and resize
your items.

"Lee" <bbdaffy@hotmail.com> wrote in message
news:c0q40j$s8k$1@eclipse.org...
> Hi,
>
> Sorry, I am kind of a newbie in terms of development on Eclipse and GEF.
> The editor was NEVER working correctly. But I do not know what is lacking
> in my program which does not allow my figures to be moved around. Is such
> movement only available upon the addition of e.g. a EditPolicy etc? Or I
> need to implement a certain method in my figure or my Editor to enable
> movement? I have absolutely no idea. Thanks for your help.
>
> Regards,
> Lee
>
> Randy Hudson wrote:
>
> > I think you need to provide more information. Was it *ever* working
> > correctly? Do you see anything in the .log file indiciating exceptions
> > being thrown, etc.?
>
> > "Lee" <bbdaffy@hotmail.com> wrote in message
> > news:c0i87d$6tq$1@eclipse.org...
> > > Hi,
> > >
> > > I am using Eclipse 3 M6 with a compatible build of GEF.
> > >
> > > I created a GraphicalEditor which is able to display some figures
based on
> > > my contents file. However the figures cannot be moved about even
within
> > > the editor itself. How can I rectify this problem? Thanks.
> > >
> > > Rgds,
> > > Lee
> > >
>
>
Re: My Figures cannot move.... [message #117894 is a reply to message #117843] Mon, 16 February 2004 21:29 Go to previous message
Eclipse UserFriend
Originally posted by: bbdaffy.hotmail.com

Hi,

Thanks a lot. Managed to do that and my problem is solved. :)

Regards,
Lee

Randy Hudson wrote:

> See LogicXYLayoutEditPolicy. Typically you would subclass the
> XYLayoutEditPolicy, and override the necessary methods to move and resize
> your items.

> "Lee" <bbdaffy@hotmail.com> wrote in message
> news:c0q40j$s8k$1@eclipse.org...
> > Hi,
> >
> > Sorry, I am kind of a newbie in terms of development on Eclipse and GEF.
> > The editor was NEVER working correctly. But I do not know what is lacking
> > in my program which does not allow my figures to be moved around. Is such
> > movement only available upon the addition of e.g. a EditPolicy etc? Or I
> > need to implement a certain method in my figure or my Editor to enable
> > movement? I have absolutely no idea. Thanks for your help.
> >
> > Regards,
> > Lee
> >
> > Randy Hudson wrote:
> >
> > > I think you need to provide more information. Was it *ever* working
> > > correctly? Do you see anything in the .log file indiciating exceptions
> > > being thrown, etc.?
> >
> > > "Lee" <bbdaffy@hotmail.com> wrote in message
> > > news:c0i87d$6tq$1@eclipse.org...
> > > > Hi,
> > > >
> > > > I am using Eclipse 3 M6 with a compatible build of GEF.
> > > >
> > > > I created a GraphicalEditor which is able to display some figures
> based on
> > > > my contents file. However the figures cannot be moved about even
> within
> > > > the editor itself. How can I rectify this problem? Thanks.
> > > >
> > > > Rgds,
> > > > Lee
> > > >
> >
> >
Previous Topic:GEF Help?
Next Topic:Placing child edit part on contents edit part.
Goto Forum:
  


Current Time: Fri May 09 19:35:28 EDT 2025

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

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

Back to the top