author | fturovic <frank.turovich@nokia.com> |
Tue, 27 Jul 2010 15:28:19 -0500 | |
changeset 1704 | 24ac5a5cf80c |
parent 130 | 825355d51766 |
permissions | -rw-r--r-- |
130 | 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
2 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
3 |
<head> |
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> |
|
5 |
<title>Importing the SDK example and leavescan plug-ins</title> |
|
6 |
<link rel="StyleSheet" href="../../book.css" type="text/css"/> |
|
7 |
<style type="text/css"> |
|
8 |
<!-- |
|
9 |
.style1 {color: #000000} |
|
10 |
--> |
|
11 |
</style> |
|
12 |
</head> |
|
13 |
<body bgcolor="#FFFFFF"> |
|
14 |
||
15 |
<h2><a name="import" id="import"></a>Importing the SDK Example </h2> |
|
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> |
|
17 |
<ul> |
|
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 |
|
19 |
provides examples of installing items in the Carbide menu, creating new projects programatically, and accessing |
|
20 |
project and Symbian build information. See <a href="#showExamplesMenu">below</a> for instructions on how to enable the example menu |
|
21 |
commands inside Carbide. </li> |
|
22 |
</ul> |
|
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 |
|
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> |
|
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 > Preferences > Java > Installed JREs to add currently installed JREs and select the JRE to use.</p> |
|
26 |
When you are done importing you should have new plugins in your workspace and be able to view the |
|
27 |
sources for both plugin projects. Your workspace should look something like this:<br /> |
|
28 |
<br /> |
|
29 |
<img src="../img/dev_ide_complete.JPG" width="1024" height="757"/> |
|
30 |
<h3>Adding a Carbide menu</h3> |
|
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> |
|
32 |
<ol> |
|
33 |
<li>In Carbide.c++ (not in your Eclipse Java development SDK) choose <b>Window > Customize Perspective...</b></li> |
|
34 |
<li>Select the <b>Commands</b> tab</li> |
|
35 |
<li>Select the checkbox for <b>Carbide.c++ Examples Action Set</b><br/> |
|
36 |
<br/> |
|
37 |
<img src="../img/show_examples_menu.jpg" width="711" height="501"/></li> |
|
38 |
</ol> |
|
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> |
|
1704
24ac5a5cf80c
updated copyright dates and fixed some css issues
fturovic <frank.turovich@nokia.com>
parents:
130
diff
changeset
|
40 |
<div id="footer">Copyright © 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> |
130 | 41 |
</body> |
0
fb279309251b
DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff
changeset
|
42 |
</html> |