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 96706

Summary: 'Go To' menu needs to be refined for imported items
Product: xml Reporter: htt <htt>
Component: Schema ToolsAssignee: Samaresh Panda <samaresh>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description htt 2007-02-27 16:55:29 UTC
Create a sample LoanApplication schema and a newXmlSchema.
Open newXmlSchema.  In Schema view,
  right-click Referenced Schemas > Add > Import
  expand all of By File; select newLoanApplication.xsd; OK
  expand Referenced Schemas > import {...} > Elements
  right-click one of the element > Go To
==> "Schema" doesn't fit here.
Comment 1 Nathan Fiedler 2007-02-27 22:06:05 UTC
The Goto-Schema menu item for imported components is by design -- it opens the
editor for the imported document and selects the given component. This is
intentional and a desirable feature, allowing the user to easily acquire an
editable view of the component.
Comment 2 htt 2007-02-27 22:47:59 UTC
Indeed it is a useful feature.  The issue is about the term 'Schema,' which can
be somewhat confusing.  The current Go To menu includes Source, Schema, Design,
and Definition.  At first glance, it'd seem Go To Schema and Go To Definition do
the same thing while in fact the former goes to "Element' definition while the
latter goes to 'Type' definition.  Functionality wise, both do the right thing
and prove useful; however, "Schema" - meant as a view rather than an action - is
not as intuitive a label as it should be.  Reopen as P4.
Comment 3 Samaresh Panda 2008-12-04 16:51:08 UTC
More of a usability issue and so far there has been co complains about it.