Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Override or extend delete and save actions
Override or extend delete and save actions [message #1090488] Tue, 20 August 2013 03:55 Go to next message
Eclipse UserFriend
Hi,

Currently i'am trying to extend the functionality of the standard delete and save actions of eclipse. I just want to start a synchronization process after the user saves or deletes files.
I don't want to reimplement their funtionality

I read about LTK and writing my own participants but it seems to be complex for what i want todo.

Also I heard about the team hooks but those should not be used by clients?

And can't i just extend the DeleteResourceAction and DeleteAction or which ones are the correct Actions i'am looking for?

Whats the difference by using the org.eclipse.ui.handlers extension point and provide a org.eclipse.ui.edit.delete handler?!

Or simply add a execution listener to the delete and save commands?! This approach seems the best to me, but where to add these listeners?

I'am frustrated, what should i do?

[Updated on: Tue, 20 August 2013 05:44] by Moderator

Re: Override or extend delete and save actions [message #1093602 is a reply to message #1090488] Sat, 24 August 2013 06:17 Go to previous message
Eclipse UserFriend
Okay i managed to add my own delete action via the
org.eclipse.ui.navigator.navigatorContent
extension point. For which i wrote my own EditActionProvider to override the
org.eclipse.ui.navigator.resources.actions.EditActions
to provide my own delete action in the navigators context menu.

[Updated on: Sat, 24 August 2013 06:18] by Moderator

Previous Topic:Console text is smeared
Next Topic:Yellow info shell in editor
Goto Forum:
  


Current Time: Thu Mar 27 13:15:51 EDT 2025

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

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

Back to the top