Need to know the when is printing [message #171572] |
Mon, 14 March 2005 00:52  |
Eclipse User |
|
|
|
Originally posted by: jsk_lam.hotmail.com
Hi,
I got some basic printing to work but it is not enough. I need to somehow
control the output of the diagram. For example, I may need to use
different text/icon for screen display and printing.
For now, the printing routine just take my GraphicalViewer to do the
printing automatically. Is there a way in the EditoPart class that I can
intercept or listen to the printing notification? So I can output my
customized stuff?
Thanks
slam
|
|
|
|
|
|
Re: Need to know the when is printing [message #171752 is a reply to message #171736] |
Mon, 14 March 2005 16:01  |
Eclipse User |
|
|
|
Originally posted by: jsk_lam.hotmail.com
I am not sure how to do it, can you give me some example? Thanks
"Randy Hudson" <none@us.ibm.com> wrote in message
news:d14r87$fj2$1@www.eclipse.org...
> You could look for an instance of PrinterGraphics in your figures.
> Or, you could create a different graphical viewer with settings on it
which
> affected editpart figure creation.
>
> "slam" <jsk_lam@hotmail.com> wrote in message
> news:d138qt$h99$1@www.eclipse.org...
> > Hi,
> >
> > I got some basic printing to work but it is not enough. I need to
somehow
> > control the output of the diagram. For example, I may need to use
> > different text/icon for screen display and printing.
> >
> > For now, the printing routine just take my GraphicalViewer to do the
> > printing automatically. Is there a way in the EditoPart class that I
can
> > intercept or listen to the printing notification? So I can output my
> > customized stuff?
> >
> > Thanks
> > slam
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.23548 seconds