~ubuntu-branches/ubuntu/quantal/netbeans/quantal

« back to all changes in this revision

Viewing changes to xml/schema/core/javahelp/org/netbeans/modules/xml/schema/core/designview/palette.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>XML Schema Editor: Design View Palette</title>
 
10
</head>
 
11
<body>
 
12
<h2><a name="section_xml_components"></a><a name="element"></a><a name="attribute"></a><a name="section_xml_schema_components"></a><a name="sequence"></a><a name="choice"></a><a name="all"></a><a name="complextype"></a>XML Schema Editor: Design View Palette</h2>
 
13
<p><small><a href="#seealso">See Also</a></small></p>
 
14
<p>When an XML schema file is open in the Design view of the XML schema editor, the Palette is also available. This palette appears populated with icons for components for XML documents and XML schema files.</p>
 
15
<p><b>To use Palette components:</b></p>
 
16
<ul>
 
17
<li>Select an icon in the Palette and drag it to the schema design area of the Design view.</li>
 
18
</ul>
 
19
<p>The Palette has two sections:</p>
 
20
<ul>
 
21
<li><b>XML Components.</b> Components that can exist in XML documents or XML schemas. </li>
 
22
<li><b>XML Schema Components.</b> Components that can only exist in XML schemas.</li>
 
23
</ul>
 
24
<p>The following table describes the components available in the Palette. The components are grouped by Palette section.</p>
 
25
<table border="1" cellpadding="5" cellspacing="0">
 
26
<tr valign="top">
 
27
<th scope="col" align="left">Component</th>
 
28
<th scope="col" align="left">Icon</th>
 
29
<th scope="col" align="left">Description</th>
 
30
</tr>
 
31
<tr valign="top">
 
32
<th colspan="3" scope="col" align="left">XML Components</th>
 
33
</tr>
 
34
<tr valign="top">
 
35
<td>Attribute</td>
 
36
<td><img src="../images/attribute.png"></td>
 
37
<td>The <tt>attribute</tt> component defines a schema attribute.</td>
 
38
</tr>
 
39
<tr valign="top">
 
40
<td>Element</td>
 
41
<td><img src="../images/element.png"></td>
 
42
<td>The <tt>element</tt> component defines a schema element.</td>
 
43
</tr>
 
44
<tr valign="top">
 
45
<th colspan="3" scope="col" align="left">XML Schema Components</th>
 
46
</tr>
 
47
<tr valign="top">
 
48
<td>All</td>
 
49
<td><img src="../images/all.png"></td>
 
50
<td>The <tt>all</tt> component specifies that the child components can appear in any order. In addition, each child component can occur zero or one time.</td>
 
51
</tr>
 
52
<tr valign="top">
 
53
<td>Choice</td>
 
54
<td><img src="../images/choice.png"></td>
 
55
<td>The <tt>choice</tt> component allows only one of the components contained in the <tt>&lt;choice&gt;</tt> declaration to be present within the containing component.</td>
 
56
</tr>
 
57
<tr valign="top">
 
58
<td>Complex Type</td>
 
59
<td><img src="../images/complextype.png"></td>
 
60
<td>The <tt>complexType</tt> component defines a complex type. A complex type component is an XML component that contains other components and/or attributes.</td>
 
61
</tr>
 
62
<tr valign="top">
 
63
<td>Sequence</td>
 
64
<td><img src="../images/sequence.png"></td>
 
65
<td>The <tt>sequence</tt> component specifies that the child components must appear in a sequence. Each child component can occur any number of times.</td>
 
66
</tr>
 
67
</table>
 
68
 
 
69
<dl>
 
70
<dt><a name="seealso">See Also</a></dt>
 
71
<dd><a href="about.html" title="XML Schema Editor: About the Design View">About the Design View</a></dd>
 
72
<dd><a href="../about.html" title="About XML Schema Tools">About XML Schema Tools</a></dd>
 
73
<dd><a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/editing/csh/about_source_editor.html" title="About the Source Editor">About the Source Editor</a></dd>
 
74
<dd><a href="../windows/window_navigator.html" title="Navigator Window (XML Schema Tools)">Navigator Window (XML Schema Tools)</a></dd>
 
75
<dd><a href="../tasks/views_navigation.html" title="XML Schema Editor: Navigating Between Views">Navigating Between Views</a></dd>
 
76
</dl>
 
77
<hr>
 
78
<small><a href="../credits.html">Legal Notices</a></small>
 
79
<table cellpadding="150" border="0"> 
 
80
<tr><td>&nbsp;</td></tr> 
 
81
<tr><td>&nbsp;</td></tr> 
 
82
<tr><td>&nbsp;</td></tr> 
 
83
</table> 
 
84
</body>
 
85
</html>