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 99775 - There is no way to extend template parameter
Summary: There is no way to extend template parameter
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@uml
Depends on:
Reported: 2007-04-03 10:22 UTC by Alexandr Scherbatiy
Modified: 2008-06-30 22:11 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2007-04-03 10:22:58 UTC
I want to draw the following generic class on a diagram:
public class A <T extends String> { }
For that I need to put 'A' template class on the diagram 
and add 'T' template parameter to the 'A' class element.
There is no way to show that 'T' template parameter extends 'String' datatype or
any others class/interface elements.
Comment 1 Sergey Petrov 2007-04-03 10:55:32 UTC
I don't like to close serious bug as a duplicate of p3 enhancement (issue 78381)
:), so may be developers will review again and close appropriate issue
Comment 2 Alexandr Scherbatiy 2007-04-03 11:19:18 UTC
What I think is that this issue is for Java-Platform model projects
ans issue 78381 is for Platform-Independent model projects.
Comment 3 Sergey Petrov 2007-04-03 11:21:24 UTC
in my opinion both uml projects should allow to show extends for template
parameter, and may be default type too
Comment 4 George Vasick 2007-06-28 21:43:13 UTC
Targeted in the drawing area redesign.
Comment 5 George Vasick 2007-07-04 00:44:01 UTC
REstoring the original priority and using the NB 6.0 waiver process.
Comment 6 George Vasick 2008-01-02 16:54:12 UTC
Diagram area bugs waived for 6.0 will also be waived for 6.1.
Comment 7 Peter Lam 2008-05-20 22:53:09 UTC
still functions the same in 6.5. Perhaps this should be an enhancement.
Comment 8 Trey Spiva 2008-06-30 21:53:18 UTC
Making an enhancement request.  I do not believe the UML metadata will support this information.
Comment 9 Sergey Petrov 2008-06-30 22:11:56 UTC
see Figure 17.21 in uml2.0 superstructure for sample.
but it may be enhancement if we do not consider our limitation as bugs