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 89376 - Inconsistent package specification in representing classifier property
Summary: Inconsistent package specification in representing classifier property
Status: REOPENED
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Sequence (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
: 80478 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-15 13:30 UTC by Sergey Petrov
Modified: 2009-05-25 21:06 UTC (History)
1 user (show)

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 Sergey Petrov 2006-11-15 13:30:44 UTC
reproducible with 061113_2

may the issue was filed, but I can't find it now.

edit control(in drop down), apply design pattern wizard(in participant selection
drop-downs) use
TopLevelPackage::...::MiddleLevelPackage::..::DeepestPackage::ClassName
classifier specification
Representing Classifier property for Actors/Lifelines on sequence diagram use
inconsistent and hard to use specification: 
ClassName : TopLevelPackage::OtherPackages
it takes a lot of time for me to figure out expected way and enter
java.lang.String which wasn't in project before.
Comment 1 Trey Spiva 2007-01-24 20:43:43 UTC
This is by design because in UML the namespace seperator is "::" not "." like Java.  I plan to make this an 
enhancemnet unless I hear a good reason.
Comment 2 Sergey Petrov 2007-01-24 22:09:41 UTC
the issue is not about '::' instead of '.' but about strange namespace order in
property and usage of ':'. When I first tried to use the property I tried to put
'pacakge::className' here and failed, it takes quite a long time to figure out
expected order, and moreover number of spaces are important in the property
(between separators).
Comment 3 Trey Spiva 2007-01-24 23:46:08 UTC
ok I see your point.  The reason why we formated data in the property the way we did was for usability.  
We want to be able to sort the items by the name of class, not the package.  Also, we want the user to be 
able to see the name of the class, then find the one in the correct package.  When we showed the entire 
package name it was hard to find the correct class in the drop down list.

Now having said all of that, it does not mean that we should expect the import in the same form as is 
displayed in the editor.  It would make more sense to allow the user to enter the fully qualified name with 
out requiring the <Class Name> : < Package Name > syntax.  I only stated the above because I do not 
want anyone to just say "Lets change how the informaiton is formated in the combobox".
Comment 4 Peter Lam 2007-03-20 20:22:58 UTC
low use case not currently impacting our installed user base.
Comment 5 George Vasick 2007-05-17 18:43:51 UTC
Planned for drawing area upgrade after NB 6.0.
Comment 6 George Vasick 2007-05-18 00:35:38 UTC
Should not use resolved/later status.
Comment 7 George Vasick 2007-06-28 21:42:55 UTC
Targeted in the drawing area redesign.
Comment 8 George Vasick 2007-07-04 00:44:25 UTC
REstoring the original priority and using the NB 6.0 waiver process.
Comment 9 George Vasick 2008-01-02 16:54:43 UTC
Diagram area bugs waived for 6.0 will also be waived for 6.1.
Comment 10 Sergey Petrov 2008-05-14 07:48:12 UTC
not drawing are issue
Comment 11 Sergey Petrov 2008-05-14 07:49:04 UTC
but also seems to be not a P2
Comment 12 Sergey Petrov 2008-09-22 20:28:28 UTC
*** Issue 80478 has been marked as a duplicate of this issue. ***