carbidesdk/com.nokia.carbide.cpp.sdk.doc.user/html/reference/CustomComponents/cc_refoverview.htm
author fturovic <frank.turovich@nokia.com>
Tue, 27 Jul 2010 15:28:19 -0500
changeset 1704 24ac5a5cf80c
parent 0 fb279309251b
permissions -rw-r--r--
updated copyright dates and fixed some css issues

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>Custom Component Reference</title>
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
<style type="text/css">
<!--
.style1 {font-size: 12px}
-->
</style>
</head>
<body bgcolor="#FFFFFF">
<h2>Custom Component Reference</h2>
<p>Component definition files (.component) must conform to the component  schema definition in the component.xsd descriptions. Detailed documentation on the schema can be  found in the reference section under <a href="../component.xsd doc/index.html">Component XSD Description</a>. This section provides a brief  introduction to the schema.</p>
<p> The root XML element in a component definition file is the  &lt;componentDefinition&gt; element. Generally the initial part of the file  looks like:<br />
</p>
<blockquote>
  <p>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; <br />
    &lt;componentDefinition  xmlns=&quot;http://www.nokia.com/sdt/emf/component&quot; <br />
    xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt; <br />
  </p>
</blockquote>
<p>The &lt;componentDefinition&gt; element can contain three types of  items. The main item is the &lt;component&gt; element. There can be only one of  these per file, and it can be omitted if the file just has type definitions.</p>
<p>The following information provides details about the major XML elements involved in designing and creating your own custom components.</p>
<ul>
  <li><a href="cc_definition.htm">Component Definition Element</a></li>
  <li><a href="cc_component.htm">Component Element</a></li>
  <li><a href="cc_symbian.htm">Symbian Element</a></li>
  <li><a href="cc_designerimages.htm">Designer Images Element</a></li>
  <li><a href="cc_attributes.htm">Attributes Element</a></li>
  <li><a href="cc_properties.htm">Properties Element</a></li>
  <li><a href="cc_events.htm">Events Element</a></li>
  <li><a href="cc_implementations.htm">Implementations</a></li>
  <li><a href="cc_source_mapping.htm">RSS Source Mapping</a></li>
  <li><a href="cc_source_generation.htm">Source Generation</a></li>
</ul>
<div id="footer">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>

</body>
</html>