Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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
Phil Czek is currently offline Phil Czek
Messages: 5
Registered: July 2013
Junior Member
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]

Report message to a 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
Phil Czek is currently offline Phil Czek
Messages: 5
Registered: July 2013
Junior Member
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]

Report message to a moderator

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


Current Time: Fri Aug 22 09:50:47 EDT 2014

Powered by FUDForum. Page generated in 0.07928 seconds