Skip to main content



      Home
Home » Eclipse Projects » GEF » How to provide printing functionality in GEF application?
How to provide printing functionality in GEF application? [message #227190] Thu, 30 November 2006 04:56 Go to next message
Eclipse UserFriend
Originally posted by: vikas.khengare.unnat-e.com

Hi friends,

I have created sample application which contain a single Circle figure and
Text. I want to provide printing facility to my editor.
Can someone tell me what are the steps to do this / where to make changes?

--
With best regards

From
Vikas R. Khengare
Re: How to provide printing functionality in GEF application? [message #227230 is a reply to message #227190] Thu, 30 November 2006 13:10 Go to previous messageGo to next message
Eclipse UserFriend
Hi Vikas,

There is an example of printing functionality in the Logic Editor Example.
(look for LogicPrintAction). Perhaps, you didn't notice it...

Cheers,
Alex
Re: How to provide printing functionality in GEF application? [message #227277 is a reply to message #227230] Fri, 01 December 2006 06:25 Go to previous message
Eclipse UserFriend
Originally posted by: vikas.khengare.unnat-e.com

thanks Alex ......

But I dont want specify for "SWT" ....
I have done something like this .......I have put following code in
"MultiPageEditorContributor",

protected void declareGlobalActionKeys() {
// TODO Auto-generated method stub
addGlobalActionKey(ActionFactory.PRINT.getId());
}

Is this okey? Now it is enabling Print button.

:) But I haven't checked it by taking printout.

--
With best regards

From
Vikas R. Khengare

"Alex Boyko" <aboyko@ca.ibm.com> wrote in message
news:b7ae4a95c31832c7504cba38584325c1$1@www.eclipse.org...
> Hi Vikas,
>
> There is an example of printing functionality in the Logic Editor Example.
> (look for LogicPrintAction). Perhaps, you didn't notice it...
>
> Cheers,
> Alex
>
Previous Topic:Creating a request
Next Topic:Which version for eclipse 3.0.2?
Goto Forum:
  


Current Time: Thu May 22 00:31:30 EDT 2025

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

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

Back to the top