Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Plugin environment programmatically call right click action.
Plugin environment programmatically call right click action. [message #692690] Mon, 04 July 2011 23:21 Go to next message
Eclipse UserFriend
Hi, i am facing some problem regarding
to trigger right click action of one of
my abc.hbm file.

Is there any way to trigger right click
action of a file?

The action can be execute by manually right click
on that file but i don't know the way to trigger
it programmatically.

Any ideas? Thanks..


Best regards,
Ng
Re: Plugin environment programmatically call right click action. [message #692739 is a reply to message #692690] Tue, 05 July 2011 02:51 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

I've run such an action (implements IObjectActionDelegate) with the command framework.
Extend org.eclipse.core.commands.AbstractHandler and implement org.eclipse.core.commands.IHandler.

This can be invoked with the command framework. See http://wiki.eclipse.org/index.php/Platform_Command_Framework.

Regards,

Martin
Re: Plugin environment programmatically call right click action. [message #692753 is a reply to message #692739] Tue, 05 July 2011 03:18 Go to previous message
Eclipse UserFriend
Hi, thanks for your reply.

But it is not a command but it is an action..
is it still possible to be trigger programmatically?

Is the command/action can be tie to particular file?
for instance,abc.hbm file..

Can you provide me some sample code regarding to this?
No idea where to start.

Thanks.

Ng

[Updated on: Tue, 05 July 2011 05:28] by Moderator

Previous Topic:How to obtain instances of IProxyService
Next Topic:Sign plugin
Goto Forum:
  


Current Time: Mon Jul 07 10:38:38 EDT 2025

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

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

Back to the top