How can I employ Print Action? [message #202346] |
Tue, 08 November 2005 22:34 |
Eclipse User |
|
|
|
Originally posted by: ciulbecca.yahoo.it
hi everybody,
how can I employ Print Action to my project?
I have added: "
protected void declareGlobalActionKeys() {
addGlobalActionKey(ActionFactory.PRINT.getId());
};"
in my ActionBarContributor and now....what code should I add and where?
Could you give me the implementing code?
help me!
Thank's a lot!
|
|
|
Re: How can I employ Print Action? [message #202557 is a reply to message #202346] |
Thu, 10 November 2005 21:30 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
keys are used to extract actions from the action registry. So you need to
add the print action to the editor's action registry.
"Antonio Neretum" <ciulbecca@yahoo.it> wrote in message
news:c7e29f13b1b5dc195b17e1434e737e88$1@www.eclipse.org...
> hi everybody,
> how can I employ Print Action to my project?
>
> I have added: "
> protected void declareGlobalActionKeys() {
> addGlobalActionKey(ActionFactory.PRINT.getId());
>
> };"
> in my ActionBarContributor and now....what code should I add and where?
> Could you give me the implementing code?
> help me!
> Thank's a lot!
>
|
|
|
Powered by
FUDForum. Page generated in 0.02881 seconds