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 64137 - [navigator] sun-ejb-jar.xml in Navigator
Summary: [navigator] sun-ejb-jar.xml in Navigator
Status: VERIFIED DUPLICATE of bug 64670
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-12 15:49 UTC by Jindrich Dinga
Modified: 2005-09-23 08:46 UTC (History)
2 users (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 Jindrich Dinga 2005-09-12 15:49:03 UTC
When the sun-ejb-jar.xml file is opened in Editor, Navigator shows its structure. This behavior is quite 
strange, because in Editor there is no XML raw/Structure view (user can double-click on a member, but 
nothing will happen). The correct behavior should be to move the tree structure from Editor to 
Navigator and add some views for that file.

I remember we discussed this issue when we designed support for XML files and we all agreed that 
there is no time to do that. In addition to that there is no note about this case in the UI spec. Because of 
these two reasons I think we should provide some message to the user: < No View Available >. This 
message should be centered.
Comment 1 Pavel Buzek 2005-09-13 14:56:04 UTC
First, I do not understand why this is a P2 bug, it is completely harmless, only
a small inconsistency.

Strangely, the navigator is supported for sun-ejb-jar.xml and
sun-application.xml but NOT for sun-web.xml.

Note that there are 2 editors for Sun server specific files, you can open one
with Open action (GUI editor), the other one with Edit action (text/xml editor),
one cannot be open when the other one is open. This is as designed. Navigator
works OK with the text editor. I think it would be OK to keep the navigator open
all the time. Even better would be to hide the navigator when there is the GUI
view and show it only for the XML view.

Comment 2 Jindrich Dinga 2005-09-14 14:21:43 UTC
Oops, it was mistake. It should be P3 bug.

It is really strange that navigator does not support sun-web.xml file. It is same case like sun-ejb-
jar.xml and sun-application.xml - move the tree structure to the Navigator, but for this release I am 
able to accept proposed message.

I do not think that good solution is to hide Navigator according to the opened editor (GUI or Text). The 
ideal state is to have two views in navigator w. as proposed. 
Comment 3 Marek Fukala 2005-09-23 08:29:35 UTC
The problem with XML navigator not enabled for all mentined filetypes is
described in Issue #62977. The rest is better described by Jindra in Issue #64670

*** This issue has been marked as a duplicate of 64670 ***
Comment 4 Jiri Kovalsky 2005-09-23 08:46:27 UTC
Okay, verifying ...