Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable undo/redo operations on the Tree Editor #61

Open
agonzalezgaliana opened this issue May 14, 2022 · 1 comment
Open

Enable undo/redo operations on the Tree Editor #61

agonzalezgaliana opened this issue May 14, 2022 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects

Comments

@agonzalezgaliana
Copy link

I'm coming from here.

The save operation was easy to implement since my widget implements NavigatableTreeEditorWidget and hence the Saveable interface.

I would expect to have a similar mechanism in my widget to implement the logic for undo/redo, However I could not find any reference to undo or redo on the @eclipse-emfcloud/theia-tree-editor module.

Kind regards

@agonzalezgaliana agonzalezgaliana added the enhancement New feature or request label May 14, 2022
@lucas-koehler
Copy link
Contributor

Hello @agonzalezgaliana,
thank you for raising this issue. As far as I know there is no comparable interface to Saveable for undo/redo to "just" implement but using the Theia common commands for undo/redo is the way to go. Of course the tree editor could provide basic undo and redo methods to facilitate registering such commands.
At the moment, we do not have the resources to implement this but are gladly accepting contributions :)

@lucas-koehler lucas-koehler added the help wanted Extra attention is needed label May 16, 2022
@eneufeld eneufeld added this to New in EMFCloud May 24, 2022
@eneufeld eneufeld moved this from New to Backlog in EMFCloud May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
EMFCloud
  
Backlog
Development

No branches or pull requests

2 participants