Programatically access to Actions [message #209] |
Wed, 16 April 2003 19:14 |
Eclipse User |
|
|
|
Originally posted by: gsrt.terra.com.br
May be the question was aswered some time, but anyway :
How to call an Action by program ?
[]s
Glauco
|
|
|
|
Re: Programatically access to Actions [message #1681 is a reply to message #1632] |
Tue, 22 April 2003 10:22 |
Eclipse User |
|
|
|
Originally posted by: gsrt.terra.com.br
Thanks for the response, Martin.
But I need to know the process to get access to the Action object.
Eclipse mantain a list of Actions available, for the menu options and
toolbar buttons. What I want is to get access to one of these commands
and run it. For example, to close all Editors, Exit program, Save, Save
All.
Is it possible to start an Action creating an object, through new
statement? In this case, what do I need to pass in constructor ?
[]s
Glauco Reis
Martin Dulisch wrote:
> You could call the run() method of the action.
>
> Martin
>
> Glauco Reis wrote:
> > May be the question was aswered some time, but anyway :
> > How to call an Action by program ?
> >
> > []s
> > Glauco
|
|
|
|
Powered by
FUDForum. Page generated in 0.05583 seconds