Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 09: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 18:10 Go to previous messageGo to next message
Alex Boyko is currently offline Alex BoykoFriend
Messages: 200
Registered: July 2009
Senior Member
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 11: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:Help needed with SnapTo
Next Topic:Layout a graph with predefined assingments of nodes to rows
Goto Forum:
  


Current Time: Mon Oct 25 18:13:41 GMT 2021

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

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

Back to the top