This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 142502 - Need a variable to represent the UML diagram name for printing
Summary: Need a variable to represent the UML diagram name for printing
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Trey Spiva
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-01 00:21 UTC by Peter Lam
Modified: 2008-08-04 23:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2008-08-01 00:21:50 UTC
The Print Options dialog has %NAME% variable for printing the actual filename of the diagram but there should be a
variable for the diagram name used in the UML project. That's the name user would see from the UML project, not the
actual filename of the diagram.
Comment 1 Vladimir Yaroslavskiy 2008-08-01 12:41:34 UTC
to specify the name which will be printed use the key "print.name", see

putClientProperty("print.name", <name>); // NOI18N
Comment 2 Trey Spiva 2008-08-01 16:30:37 UTC
Fixed

http://hg.netbeans.org/uml-main/rev/ec87e6587f50
Comment 3 Trey Spiva 2008-08-01 16:40:35 UTC
I forgot to mark this issue as started for the review.
Comment 4 Trey Spiva 2008-08-01 18:43:34 UTC
Reviewed
Comment 5 Peter Lam 2008-08-04 23:41:57 UTC
verified in build 20080804.