carbidesdk/com.nokia.carbide.cpp.sdk.doc.user/html/gettingStarted/import_examples.htm
author fturovic <frank.turovich@nokia.com>
Tue, 28 Apr 2009 11:04:43 -0500
changeset 130 825355d51766
parent 12 6b79ffb176c5
child 1704 24ac5a5cf80c
permissions -rw-r--r--
bug 8806 initial update
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
130
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
     2
<html xmlns="http://www.w3.org/1999/xhtml">
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
     3
<head>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
     4
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
     5
<title>Importing the SDK example and leavescan plug-ins</title>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
     6
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
     7
<style type="text/css">
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
     8
<!--
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
     9
.style1 {color: #000000}
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    10
-->
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    11
</style>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    12
</head>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    13
<body bgcolor="#FFFFFF">
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    14
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    15
<h2><a name="import" id="import"></a>Importing the SDK Example </h2>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    16
<p>You can import any of the plug-ins in Carbide.c++ and examine the source code. However, the SDK provides a plug-in you can import and examine as an example of Carbide.c++ API usage.</p>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    17
<ul>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    18
<li>The Examples plugin (<span class="code">com.nokia.carbide.cpp.sdk.examples</span>) is part of the Carbide.c++ Development Kit (CDK). It
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    19
provides examples of installing items in the Carbide menu, creating new projects programatically, and accessing
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    20
project and Symbian build information. See <a href="#showExamplesMenu">below</a> for instructions on how to enable the example menu
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    21
commands inside Carbide. </li>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    22
</ul>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    23
<p>You can import this and other plugins into your workspace and view/debug all the source to get a better understanding of the 
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    24
Carbide.c++ APIs in a functional plugin. Plesae see the page on <a href="env_setup.htm">setting up your development environment</a> for information on how to import a source project. </p>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    25
<p class="note"><strong>Note</strong> that the example plugins were built with JRE1.5, you will likely receive errors with JRE1.6. Select Window &gt; Preferences &gt; Java &gt; Installed JREs to add currently installed JREs and select the JRE to use.</p>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    26
When you are done importing you should have new plugins in your workspace and be able to view the 
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    27
      sources for both plugin projects. Your workspace should look something like this:<br />
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    28
<br />
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    29
<img src="../img/dev_ide_complete.JPG" width="1024" height="757"/>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    30
<h3>Adding a Carbide menu</h3>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    31
 <p>The menu items contributed by the Examples plugin are not visible by default in the Carbide.c++ program. To show the missing menu, follow these steps:</p>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    32
<ol>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    33
 <li>In Carbide.c++ (not in your Eclipse Java development SDK) choose <b>Window &gt; Customize Perspective...</b></li>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    34
 <li>Select the <b>Commands</b> tab</li>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    35
 <li>Select the checkbox for <b>Carbide.c++ Examples Action Set</b><br/>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    36
   <br/>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    37
 <img src="../img/show_examples_menu.jpg" width="711" height="501"/></li>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    38
</ol>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    39
 <p>Click OK, and you should now see the Carbide menu in the menu bar. You can now examine the source code and run it in the debugger. See <a href="launchconfig.htm">debugging a debugging a Carbide.c++ plug-in</a> for information on setting up a plug-in debug session. </p>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    40
   <div id="footer">Copyright &copy; 2009 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>
825355d51766 bug 8806 initial update
fturovic <frank.turovich@nokia.com>
parents: 12
diff changeset
    41
</body>
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    42
</html>