[JBoss JIRA] (FORGE-1341) Support Eclipse Undo/Redo operations
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1341?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-1341:
-----------------------------------
Fix Version/s: 2.x Future
(was: 2.0.0.Beta4)
> Support Eclipse Undo/Redo operations
> ------------------------------------
>
> Key: FORGE-1341
> URL: https://issues.jboss.org/browse/FORGE-1341
> Project: Forge
> Issue Type: Feature Request
> Components: Brainstorming, UI - Eclipse
> Affects Versions: 2.0.0.Beta3
> Reporter: George Gastaldi
> Fix For: 2.x Future
>
>
> {quote}
> <gastaldi> koentsje, is it possible to undo the operations done by a Forge addon using the Eclipse Undo feature (Edit -> Undo) ?
> <gastaldi> can we somehow make the current plugin aware of this?
> <koentsje> hm, i think that will be a very tough one
> <gastaldi> I am reading http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.do... to understand how undoable operations work in Eclipse
> <gastaldi> It would be nice if we could somehow store a Delta of the modifications an addon does
> <gastaldi> so it's possible to undo/redo operations
> <koentsje> i would need to revisit that mechanism, it's probably five years ago since i used it :)
> <gastaldi> can we somehow create savepoints in Eclipse ?
> <gastaldi> at least you used it, this is totally new for me :)
> <koentsje> yes it should be possible
> <gastaldi> so I was thinking that maybe we could create a snapshot of the current project state before executing an operation, execute the addon, create another snapshot and then compare both to have a delta
> <gastaldi> this in turn could be undo/redoable
> <gastaldi> this could aid us in implementing the Accept Merges feature too
> <gastaldi> duh
> <gastaldi> Accept Changes
> <gastaldi> however that is a different subject
> <koentsje> the resource delta stuff exists already in eclipse
> <gastaldi> this is interesting, so it should be possible as you said
> <gastaldi> this would motivate people to use Forge inside Eclipse
> <koentsje> hm, i thought we went through all the ide pain because people want to use it in their ide? :)
> <gastaldi> yeah, that's the spirit :)
> {quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira