Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Execute any Eclipse actions
Execute any Eclipse actions [message #195623] Thu, 22 February 2007 16:48
Eclipse UserFriend
Originally posted by: phatrick.caramail.com

Hello!
I'm trying to develop an Eclipse plugin.
I want in my code to execute any action of Eclipse described in the
WorkbenchActionBuilder class which use the ActionFactory class.
For instance, a real test to execute what i want is :
1) i'm in my Eclipse workspace and I want to save my workspace by clicking
on an icon.
2) i'm in my Eclipse workspace and I want to change my perspective view by
clicking on an icon.
...

These actions are already defined by Eclipse, but i want to execute them
in my plugin. A method i thought was to execute the keybindings :
example: in the 1), i can execute "CTRL+S" when the icon is clicked on.

Another way would be to use the ActionFactory method ...

If you have a code sample that make what I want it would be great!
I'm working on but I don't have the solution yet!
Thanks!

Jo
Previous Topic:Remote C++ Editing/Compile?
Next Topic:Runnning the same application in // on 2 java VM
Goto Forum:
  


Current Time: Fri Apr 26 11:41:15 GMT 2024

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

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

Back to the top