Printing hierarchy diagrams from VW

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Printing hierarchy diagrams from VW

William Hubbard
I would like to know if it's possible to print a class diagram in the Hierarchy Diagram tab of the Refactoring Browser. I didn't find the option anywhere or comments in the docs.
Thanks

Bill

Reply | Threaded
Open this post in threaded view
|

Re: Printing hierarchy diagrams from VW

Joachim Geidel
William Hubbard schrieb am 27.01.2008 17:43:
> I would like to know if it's possible to print a class diagram in the
> Hierarchy Diagram tab of the Refactoring Browser. I didn't find the option
> anywhere or comments in the docs.

I don't think that it is possible to print the diagram shown in the
Refactoring Browser, but you can load Advance, which lets you create
UML-like class diagrams. From Advance, you can print and export
diagrams. Advance is in the icc directory of the VisualWorks
distribution. It comes with a PDF manual.

HTH,
Joachim Geidel

Reply | Threaded
Open this post in threaded view
|

RE: Printing hierarchy diagrams from VW

Terry Raymond
In reply to this post by William Hubbard

I don’t know if there is a parcel/package that adds the capability

to print any window to the printer but I have added it in the past.

 

Almost any visual component can be printed by creating a printer

graphics context and displaying the component on it. In the case

of a class diagram you may want to generate multiple pages to fit

the diagram. This would require changing the scroll offset and then

printing the page, i.e. redisplaying the component.

 

Terry

===========================================================
Terry Raymond
Crafted Smalltalk
80 Lazywood Ln.
Tiverton, RI  02878
(401) 624-4517      [hidden email]
<http://www.craftedsmalltalk.com>
===========================================================


From: William Hubbard [mailto:[hidden email]]
Sent: Sunday, January 27, 2008 11:44 AM
To: [hidden email]
Subject: Printing hierarchy diagrams from VW

 

I would like to know if it's possible to print a class diagram in the Hierarchy Diagram tab of the Refactoring Browser. I didn't find the option anywhere or comments in the docs.
Thanks

Bill

Reply | Threaded
Open this post in threaded view
|

Re: Printing hierarchy diagrams from VW

William Hubbard


2008/1/27, Terry Raymond <[hidden email]>:

I don't know if there is a parcel/package that adds the capability

to print any window to the printer but I have added it in the past.


Is it publicly available? or a download link?


Almost any visual component can be printed by creating a printer

graphics context and displaying the component on it. In the case

of a class diagram you may want to generate multiple pages to fit

the diagram. This would require changing the scroll offset and then

printing the page, i.e. redisplaying the component.

 

Terry

===========================================================
Terry Raymond
Crafted Smalltalk
80 Lazywood Ln.
Tiverton, RI  02878
<span onmouseup="SetCallButtonPressed(this, 0,0)" onmousedown="SetCallButtonPressed(this, 1,0)" onmouseover="SetCallButton(this, 1,0);skype_active=CheckCallButton(this);" onmouseout="SetCallButton(this, 0,0);HideSkypeMenu();" class="skype_tb_injection" id="__skype_highlight_id"><span title="Change country code ..." onclick="javascript:if(1){doRunCMD(event, &#39;chdial&#39;,&#39;0&#39;);}else{doRunCMD(event, &#39;call&#39;,&#39;+14016244517&#39;);}event.preventBubble();return false;" onmouseout="SetCallButtonPart(this, 0);" onmouseover="SetCallButtonPart(this, 1);" class="skype_tb_injection_left" id="__skype_highlight_id_left"><img src="chrome://skype_ff_toolbar_win/content/cb_transparent_l.gif" style="height: 11px; width: 7px;" class="skype_tb_img_adge" height="11"><img style="width: 16px;" src="chrome://skype_ff_toolbar_win/content/famfamfam/us.gif" title="" class="skype_tb_img_flag" name="skype_tb_img_f0"><img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1"><img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1"><img src="chrome://skype_ff_toolbar_win/content/arrow.gif" title="" class="skype_tb_img_arrow" name="skype_tb_img_a0"><img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1"><img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1">
<img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1"><span title="Call this phone number in United States of America with Skype: +14016244517" onclick="javascript:doRunCMD(event, &#39;call&#39;,&#39;+14016244517&#39;);event.preventBubble();return false;" onmouseout="SetCallButtonPart(this, 0)" onmouseover="SetCallButtonPart(this, 1)" class="skype_tb_injection_right" id="__skype_highlight_id_right"><img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1"><img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1"><img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1"><img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1">(401) 624-4517<img src="chrome://skype_ff_toolbar_win/content/cb_transparent_r.gif" style="height: 11px; width: 19px;" class="skype_tb_img_adge" height="11">      [hidden email]
<<a href="http://www.craftedsmalltalk.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.craftedsmalltalk.com>
===========================================================


From: William Hubbard [mailto:[hidden email]]
Sent: Sunday, January 27, 2008 11:44 AM
To: [hidden email]
Subject: Printing hierarchy diagrams from VW

 

I would like to know if it's possible to print a class diagram in the Hierarchy Diagram tab of the Refactoring Browser. I didn't find the option anywhere or comments in the docs.
Thanks

Bill