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 89048 - element added to another project's diagram with Ctrl+Enter doesn't appear in Imported Elements
Summary: element added to another project's diagram with Ctrl+Enter doesn't appear in ...
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Craig Conover
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2006-11-09 16:19 UTC by Andrew Korostelev
Modified: 2006-11-29 11:27 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 Andrew Korostelev 2006-11-09 16:19:30 UTC
If element was added to diagram from another project model tree using Ctrl+Enter
 shortcut, it doesn't appear in Imported Elements.

steps:
- create two projects "UMLProject1" and "UMLProject2".
- add class element to "UMLProject1".
- add diagram to "UMLProject2"
- open diagram from "UMLProject2" and select class in "UMLProject1" model tree.
- press 'Ctrl+Enter' on selected class.
class appear on diagram, but doesn't appear in "UMLProject2" Imported Elements.

If class was drag-n-dropped with mouse, it appears in IE if "UMLProject2".
Comment 1 Andrew Korostelev 2006-11-09 16:20:27 UTC
issue reproducible with A11Y features only - add A11Y.
Comment 2 Andrew Korostelev 2006-11-09 16:22:25 UTC
Elements do not appear in IE even after IDE restart.
Comment 3 Craig Conover 2006-11-22 05:46:32 UTC
The code is place to do the import short of actually adding it to the target
project's model element tree. Need to figure out how to get the appropriate
types to do the add. Need ITreeItems, but only have IProject and IDiagram types
and it can't simply be casted.
Comment 4 Craig Conover 2006-11-28 23:15:01 UTC
Import element was not being created. The imported element is now created and
shows up under Imported Elements node as expected.
Comment 5 Andrew Korostelev 2006-11-29 11:27:08 UTC
verified in ide-coco-061128_11-ml