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 - 'Go To' menu needs to be refined for imported items
Summary: 'Go To' menu needs to be refined for imported items
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-27 16:55 UTC by htt
Modified: 2009-02-19 23:31 UTC (History)
0 users

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 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.