Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » old bounds
old bounds [message #217695] Mon, 12 June 2006 07:10 Go to next message
Eclipse UserFriend
Originally posted by: g.bagga.zensar.com

hi,
is there any way to get old bounds of a figure i.e prior bounds just one
step back from the current state.

regards
gaurav v bagga
Re: old bounds [message #217712 is a reply to message #217695] Mon, 12 June 2006 10:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam.giemza.gmx.de

save them somewhere in your model. ich you change the size of the
figure, the model should be invoked somewhere from a command to change
it's size. there you can save the old size in a field called
olderOldSize or somethink like this!

gaurav bagga schrieb:
> hi,
> is there any way to get old bounds of a figure i.e prior bounds just
> one step back from the current state.
>
> regards gaurav v bagga
>
Re: old bounds [message #217721 is a reply to message #217712] Mon, 12 June 2006 12:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: g.bagga.zensar.com

hi,
thanks for replying

well i was thinking of doing smting same but i have seen when we do a
redo it gets back to previous state so there is some mechanism by which
gef takes care of previous state can we leverage that if possible....

any idea!!!!!!!!!!!!!!

regards
gaurav v bagga
Re: old bounds [message #217727 is a reply to message #217721] Mon, 12 June 2006 12:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam.giemza.gmx.de

this is part of commands, the have to redo and undo something. but in
the command you have access to the model, so you could get your values
from there.

gaurav v bagga schrieb:
> hi,
> thanks for replying
>
> well i was thinking of doing smting same but i have seen when we do a
> redo it gets back to previous state so there is some mechanism by which
> gef takes care of previous state can we leverage that if possible....
>
> any idea!!!!!!!!!!!!!!
>
> regards
> gaurav v bagga
>
Re: old bounds [message #217772 is a reply to message #217727] Tue, 13 June 2006 10:10 Go to previous message
Eclipse UserFriend
Originally posted by: g.bagga.zensar.com

hi,
thanks well i have completed the job by taking care of the previous
state using commands..

regards
gaurav v bagga
Previous Topic:XY Anchor usage
Next Topic:Changing Figure at runtime
Goto Forum:
  


Current Time: Wed Dec 07 01:41:17 GMT 2022

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

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

Back to the top