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 91523 - 'Show as iconic' action is not reversible
Summary: 'Show as iconic' action is not reversible
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Class (show other bugs)
Version: 5.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Yang Su
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-23 17:22 UTC by aleoo
Modified: 2007-01-22 15:13 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aleoo 2006-12-23 17:22:14 UTC
1. Create a class diagram
2. Add a class, and a few attributes and operations for it.
3. Set stereotype as 'entity'.
4. Right-click on the class.
5. Pick 'Show as iconic'
6. The class get a round shape.

There is no way to make it back rectangular.
After this action the corresponding ETLP file has all custom attribute and 
operation information removed.

In order to revert this action you need to restore your diagram from a backup.
Comment 1 Andrew Korostelev 2006-12-25 11:06:09 UTC
another way to reproduce is
- put class from 'Robustness' part of palette to class diagram.
  (Boundary, Control, Entity class).
- It has no 'Show As Non-Iconic Class' menu item.
e.g. Interface shown as Icon has such menu item.
Comment 2 Andrew Korostelev 2006-12-25 11:08:43 UTC
The only way to make it rectangular is: 
- drop entity class node from model tree to diagram.
   It will be shown as rectangular.
- move all links from iconic to rectangular symbol (manually).
- remove iconic symbol from diagram.
Comment 3 Yang Su 2007-01-12 18:29:14 UTC
The functionality to display classes with entity/boundary/controller stereotypes
in non-iconic view was not there.

Now the menu item "Show as Non-Iconic" is added to those three types of elements
when they are currently displayed in iconic state.

BTW, ETLP file contains only the information for the presentation, the actual
model data is saved in another file, the data was never lost even though it was
not present in ETLP file.
Comment 4 Andrew Korostelev 2007-01-22 15:13:16 UTC
verified in all-nbms-griffin-070121