My Figures cannot move.... [message #117502] |
Fri, 13 February 2004 05:17  |
Eclipse User |
|
|
|
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 #117894 is a reply to message #117843] |
Mon, 16 February 2004 21:29  |
Eclipse User |
|
|
|
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
> > > >
> >
> >
|
|
|
Powered by
FUDForum. Page generated in 0.03624 seconds