~ubuntu-branches/ubuntu/trusty/netbeans/trusty

« back to all changes in this revision

Viewing changes to xml/schema/core/javahelp/org/netbeans/modules/xml/schema/core/schemaview/findingusages.html

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-01-29 14:11:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080129141122-fnzjbo11ntghxfu7
Tags: upstream-6.0.1
ImportĀ upstreamĀ versionĀ 6.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<!--
 
3
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
 
4
* Use is subject to license terms.
 
5
-->
 
6
<html>
 
7
<head>
 
8
<link rel="stylesheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
 
9
<title>Finding Usages of XML Schema Components</title>
 
10
</head>
 
11
<body>
 
12
<h2>Finding Usages of XML Schema Components</h2>
 
13
<p><small><a href="#seealso">See Also</a></small></p>
 
14
<p>Using the Schema view, you can quickly display usages of a schema component in all the <tt>.xsd</tt> files in your project. For example, if <tt>schema-ref-1.xsd</tt> and <tt>schema-ref-2.xsd</tt> reference the <tt>myComponent</tt> complexType in <tt>schema-main.xsd</tt> of your project, you can select <tt>myComponent</tt> in the Schema view of <tt>schema-main.xsd</tt> and invoke the Find Usages command to see where those references occur in the files.</p>
 
15
<p><b>To find usages of a schema component:</b></p>
 
16
<ol>
 
17
<li>In the IDE, open the schema file (<tt>.xsd</tt>) you want to work with.<br>
 
18
By default, the IDE opens the Schema view for the XML schema file.</li>
 
19
<li>In the Schema view, select the schema component for which you want to see usages.</li>
 
20
<li>Right-click and select Find Usages from the pop-up menu.<br>
 
21
The IDE opens an XML Usages window in the lower part of the IDE. The first time you invoke the Find Usages function, the window has no tabs. For each consequent query, the IDE adds a Find XML Usages tab that shows the usages of the component you selected.</li>
 
22
</ol>
 
23
<dl>
 
24
<dt><a name="seealso">See Also</a></dt>
 
25
<dd><a href="../windows/window_xmlusages.html" title="XML Usages Window (XML Schema Tools)">XML Usages Window (XML Schema Tools)</a></dd>
 
26
<dd><a href="../tasks/analyzingschemas.html" title="Analyzing XML Schemas">Analyzing XML Schemas</a></dd>
 
27
<dd><a href="about.html" title="XML Schema Editor: About the Schema View">About the Schema View</a></dd>
 
28
<dd><a href="../about.html" title="About XML Schema Tools">About XML Schema Tools</a></dd>
 
29
</dl>
 
30
<hr>
 
31
<small><a href="../credits.html">Legal Notices</a></small>
 
32
<table cellpadding="150" border="0"> 
 
33
<tr><td>&nbsp;</td></tr> 
 
34
<tr><td>&nbsp;</td></tr> 
 
35
<tr><td>&nbsp;</td></tr> 
 
36
</table> 
 
37
</body>
 
38
</html>