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 91437 - Add support for project reference to import creator in XAMUI
Summary: Add support for project reference to import creator in XAMUI
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Catalog Support (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Nathan Fiedler
URL:
Keywords:
Depends on:
Blocks: 89574
  Show dependency tree
 
Reported: 2006-12-21 21:38 UTC by Nam Nguyen
Modified: 2007-09-25 01:34 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 Nam Nguyen 2006-12-21 21:38:53 UTC
Make sure XAMUI import creator and customizer share code to support project
reference:
- 'By File' node should show only current project and subprojects.  We might
also want to have a checkbox to show all open project (project reference will be
added automatically).
- 'By Namepspace' will only show namespace from current project and all subproject.

Note we should only show files from subprojects or other open projects when the
current project provide XMLCatalogSupport in its lookup.
Comment 1 Nam Nguyen 2006-12-21 22:19:52 UTC
This is the big link in the story for Project Reference feature, should be P1 as
the dependent is P1.
Comment 2 Nathan Fiedler 2007-01-04 01:02:40 UTC
Implemented in release551 branch.

xamui/src/org/netbeans/modules/xml/xam/ui/customizer/Bundle.properties;
new revision: 1.1.2.5.16.2; previous revision: 1.1.2.5.16.1
xamui/src/org/netbeans/modules/xml/xam/ui/customizer/ExternalReferenceCreator.java;
new revision: 1.1.2.4; previous revision: 1.1.2.3
xamui/src/org/netbeans/modules/xml/xam/ui/customizer/ExternalReferenceCustomizer.java;
new revision: 1.1.2.18.6.4; previous revision: 1.1.2.18.6.3
xamui/src/org/netbeans/modules/xml/xam/ui/customizer/ExternalReferenceDataNode.java;
new revision: 1.1.2.3.16.5; previous revision: 1.1.2.3.16.4
Comment 3 Nam Nguyen 2007-01-23 00:39:35 UTC
Reopen for completion of the following item.
Also showing subproject referenceable XML files under 'By Namespace', same as
'By File'.  This applies to both ExternalReferenceCustomizer and
ExternalReferenceCreator.
Comment 4 Nathan Fiedler 2007-01-26 20:40:27 UTC
Seems there was a comment in the code where to add the project references, but
it had not been done (for either customizer or creator). Added a couple lines of
code and it's working now. Implemented on release551 branch.

xamui/src/org/netbeans/modules/xml/xam/ui/customizer/ExternalReferenceCreator.java;
new revision: 1.1.2.11; previous revision: 1.1.2.10
xamui/src/org/netbeans/modules/xml/xam/ui/customizer/ExternalReferenceCustomizer.java;
new revision: 1.1.2.18.6.9; previous revision: 1.1.2.18.6.8
Comment 5 Nam Nguyen 2007-02-02 07:09:54 UTC
*** Issue 93596 has been marked as a duplicate of this issue. ***
Comment 6 tonybeckham 2007-04-11 00:16:43 UTC
Duplicate Issue 93596 has been verified, marking this as VERIFIED by virtue of that.