Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » implementing undo actions
implementing undo actions [message #463651] Wed, 14 February 2007 01:29 Go to next message
Eclipse UserFriend
Hi every one,

i want to implement undo facility.I am trying to do it in the following
steps.

Actually i have a editTreeOperation in which i have overridden execute
,undo and redo methods.So to get this going in my context menu i have
written an action class.In the run method of this action class i have my
code which i sent in my previous thread and this time i am not passing
null parameters in the
operationHistory.execute method.

Trying in this way is not working for me.call is going to constructor of
edittreeoperation but not going to execute method.

Some how the above steps are not working.Can anyone suggest me where iam
going wrong?

Thanks in advance
Tammareddy.
Re: implementing undo actions [message #463722 is a reply to message #463651] Wed, 14 February 2007 18:04 Go to previous message
Eclipse UserFriend
can you post some snippets of your code !


Swetha wrote:
> Hi every one,
>
> i want to implement undo facility.I am trying to do it in the
> following steps.
>
> Actually i have a editTreeOperation in which i have overridden execute
> ,undo and redo methods.So to get this going in my context menu i have
> written an action class.In the run method of this action class i have
> my code which i sent in my previous thread and this time i am not
> passing null parameters in the operationHistory.execute method.
>
> Trying in this way is not working for me.call is going to constructor
> of edittreeoperation but not going to execute method.
>
> Some how the above steps are not working.Can anyone suggest me where
> iam going wrong?
>
> Thanks in advance
> Tammareddy.
>
>
>
>
>
>
Previous Topic:ProgressMonitorDialog misbehavior in RCP
Next Topic:How to avoid sharing editors across perspectives
Goto Forum:
  


Current Time: Sat Mar 15 04:44:29 EDT 2025

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

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

Back to the top