Extending Eclipse delete [message #328545] |
Tue, 27 May 2008 14:42 |
Eclipse User |
|
|
|
Originally posted by: saladin_97.hotmail.com
Hi,
I was wondering how to extend the default eclipse delete and as to what
extension point to use for that. Thanks a lot.
Abdul
|
|
|
Re: Extending Eclipse delete [message #328546 is a reply to message #328545] |
Tue, 27 May 2008 15:14 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Abdul,
This question is extremely terse. It's completely unclear what you're
trying to accomplish... A typical thing to do is in your
ActionBarContributor class hook up a handler:
public void init(IActionBars actionBars)
{
super.init(actionBars);
ISharedImages sharedImages =
PlatformUI.getWorkbench().getSharedImages();
deleteAction = new MyDeleteAction();
deleteAction.setImageDescriptor(sharedImages.getImageDescrip tor(ISharedImages.IMG_TOOL_DELETE));
actionBars.setGlobalActionHandler(ActionFactory.DELETE.getId (),
deleteAction);
Abdul wrote:
>
> Hi,
> I was wondering how to extend the default eclipse delete and as to
> what extension point to use for that. Thanks a lot.
> Abdul
>
|
|
|
Powered by
FUDForum. Page generated in 0.03686 seconds