Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 2badc752ef7472e26170f900e3f3ab27129fd540 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
	<TITLE> </TITLE>
	<META NAME="GENERATOR" CONTENT="OpenOffice.org 3.1  (Win32)">
	<META NAME="AUTHOR" CONTENT="S&eacute;bastien G&eacute;rard">
	<META NAME="CREATED" CONTENT="20100507;12382300">
	<META NAME="CHANGEDBY" CONTENT="S&eacute;bastien G&eacute;rard">
	<META NAME="CHANGED" CONTENT="20100507;12594800">
	<META NAME="Info 1" CONTENT="">
	<META NAME="Info 2" CONTENT="">
	<META NAME="Info 3" CONTENT="">
	<META NAME="Info 4" CONTENT="">
	<STYLE TYPE="text/css">
	<!--
		@page { margin-left: 2.5cm; margin-right: 1.5cm; margin-top: 1.25cm; margin-bottom: 1.25cm }
		P { margin-bottom: 0.21cm; direction: ltr; color: #000000; text-align: justify; widows: 2; orphans: 2 }
		P.western { font-family: "Arial", sans-serif; font-size: 11pt; so-language: en-US }
		P.cjk { font-family: "Times New Roman", serif; font-size: 11pt }
		P.ctl { font-family: "Times New Roman", serif; font-size: 10pt; so-language: ar-SA }
		P.list-western { font-family: "Arial", sans-serif; font-size: 11pt; so-language: en-US }
		P.list-cjk { font-family: "Times New Roman", serif; font-size: 11pt }
		P.list-ctl { font-family: "Tahoma"; font-size: 10pt; so-language: ar-SA }
		H1 { margin-top: 0cm; margin-bottom: 0.42cm; background: #cccccc; border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: none; border-right: none; padding: 0.04cm 0cm; direction: ltr; color: #000000; text-align: left; widows: 2; orphans: 2; page-break-before: always; page-break-after: auto }
		H1.western { font-family: "Arial", sans-serif; font-size: 11pt; so-language: en-US }
		H1.cjk { font-family: "Times New Roman", serif; font-size: 11pt }
		H1.ctl { font-family: "Times New Roman", serif; font-size: 10pt; so-language: ar-SA; font-weight: normal }
		H1.heading+no-numbering+new-page-western { font-family: "Arial", sans-serif; font-size: 11pt; so-language: en-US }
		H1.heading+no-numbering+new-page-cjk { font-family: "Times New Roman", serif; font-size: 11pt }
		H1.heading+no-numbering+new-page-ctl { font-family: "Times New Roman", serif; font-size: 10pt; so-language: ar-SA; font-weight: normal }
		TD P { margin-bottom: 0.21cm; direction: ltr; color: #000000; text-align: justify; widows: 2; orphans: 2 }
		TD P.western { font-family: "Arial", sans-serif; font-size: 11pt; so-language: en-US }
		TD P.cjk { font-family: "Times New Roman", serif; font-size: 11pt }
		TD P.ctl { font-family: "Times New Roman", serif; font-size: 10pt; so-language: ar-SA }
		P.list-1-end-western { margin-left: 0.64cm; text-indent: -0.64cm; margin-bottom: 0.42cm; font-family: "Arial", sans-serif; font-size: 11pt; so-language: en-US }
		P.list-1-end-cjk { margin-left: 0.64cm; text-indent: -0.64cm; margin-bottom: 0.42cm; font-family: "Times New Roman", serif; font-size: 11pt }
		P.list-1-end-ctl { margin-left: 0.64cm; text-indent: -0.64cm; margin-bottom: 0.42cm; font-family: "Tahoma"; font-size: 10pt; so-language: ar-SA }
		A:link { color: #0000ff }
		A.sdfootnotesym-western { font-size: 8pt }
		A.sdfootnotesym-cjk { font-size: 8pt }
	-->
	</STYLE>
</HEAD>
<BODY LANG="fr-FR" TEXT="#000000" LINK="#0000ff" DIR="LTR">
<DIV TYPE=HEADER>
	<P LANG="en-GB" CLASS="western" STYLE="margin-top: 0.21cm; margin-bottom: 1.15cm; border-top: none; border-bottom: 1px solid #000000; border-left: none; border-right: none; padding-top: 0cm; padding-bottom: 0.04cm; padding-left: 0cm; padding-right: 0cm">
	<IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m1e24f929.gif" NAME="images1" ALIGN=LEFT WIDTH=16 HEIGHT=16 BORDER=0><BR CLEAR=LEFT><B>	On
	creating/adding a new plug-in in Papyrus				Version 1.0</B></P>
</DIV>
<TABLE WIDTH=648 BORDER=0 CELLPADDING=6 CELLSPACING=0 STYLE="page-break-before: always">
	<COL WIDTH=636>
	<TR>
		<TD WIDTH=636 HEIGHT=105 VALIGN=TOP>
			<P LANG="zxx" CLASS="western" ALIGN=CENTER><BR><BR>
			</P>
			<P LANG="en-US" ALIGN=CENTER><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m6e3b81b8.png" NAME="images3" ALIGN=LEFT WIDTH=131 HEIGHT=68 BORDER=0><BR CLEAR=LEFT><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_4ddfcb15.jpg" NAME="images2" ALIGN=LEFT WIDTH=86 HEIGHT=86 BORDER=0><BR CLEAR=LEFT><BR>
			</P>
		</TD>
	</TR>
</TABLE>
<P LANG="en-US" CLASS="western" ALIGN=CENTER><BR><BR>
</P>
<P LANG="en-US" CLASS="western" ALIGN=CENTER><BR><BR>
</P>
<P LANG="en-US" CLASS="western" ALIGN=CENTER><BR><BR>
</P>
<P LANG="en-US" CLASS="western" ALIGN=CENTER><BR><BR>
</P>
<P LANG="en-US" CLASS="western" ALIGN=CENTER><BR><BR>
</P>
<P LANG="en-US" CLASS="western" ALIGN=CENTER><BR><BR>
</P>
<P LANG="en-US" CLASS="western" ALIGN=CENTER><FONT SIZE=5><B>Papyrus
Tutorial:</B></FONT></P>
<P LANG="en-US" CLASS="western" ALIGN=CENTER><FONT SIZE=5><B>How to
create and add a new plug-in within Papyrus?</B></FONT></P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<TABLE WIDTH=643 BORDER=0 CELLPADDING=7 CELLSPACING=0>
	<COL WIDTH=175>
	<COL WIDTH=440>
	<TR VALIGN=TOP>
		<TD WIDTH=175>
			<P LANG="zxx" CLASS="western" STYLE="margin-top: 0.1cm">Editor</P>
		</TD>
		<TD WIDTH=440>
			<P LANG="zxx" CLASS="western" STYLE="margin-top: 0.1cm">S&eacute;bastien
			G&eacute;rard, CEA LIST</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=175>
			<P LANG="zxx" CLASS="western" STYLE="margin-top: 0.1cm">Status</P>
		</TD>
		<TD WIDTH=440>
			<P LANG="zxx" CLASS="western" STYLE="margin-top: 0.1cm">Final
			version</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=175>
			<P LANG="zxx" CLASS="western" STYLE="margin-top: 0.1cm">Version
			number</P>
		</TD>
		<TD WIDTH=440>
			<P LANG="zxx" CLASS="western" STYLE="margin-top: 0.1cm">1.0</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=175>
			<P LANG="zxx" CLASS="western" STYLE="margin-top: 0.1cm">Date of
			preparation</P>
		</TD>
		<TD WIDTH=440>
			<P LANG="zxx" CLASS="western" STYLE="margin-top: 0.1cm">2010-05-07</P>
		</TD>
	</TR>
</TABLE>
<H1 LANG="en-US" CLASS="heading+no-numbering+new-page-western">Authors</H1>
<TABLE WIDTH=643 BORDER=0 CELLPADDING=7 CELLSPACING=0>
	<COL WIDTH=230>
	<COL WIDTH=124>
	<COL WIDTH=188>
	<COL WIDTH=45>
	<TR VALIGN=TOP>
		<TD WIDTH=230 BGCOLOR="#ffff99">
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.2cm"><B>Editor
			name (first/last name)</B></P>
		</TD>
		<TD WIDTH=124 BGCOLOR="#ffff99">
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.2cm"><B>Company</B></P>
		</TD>
		<TD WIDTH=188 BGCOLOR="#ffff99">
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.2cm"><B>E-mail</B></P>
		</TD>
		<TD WIDTH=45 BGCOLOR="#ffff99">
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.2cm"><B>Initial</B></P>
		</TD>
	</TR>
	<TR VALIGN=BOTTOM>
		<TD WIDTH=230>
			<P LANG="zxx" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<FONT FACE="Arial, sans-serif"><FONT SIZE=2>S&eacute;bastien
			G&eacute;rard</FONT></FONT></P>
		</TD>
		<TD WIDTH=124>
			<P LANG="zxx" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<FONT FACE="Arial, sans-serif"><FONT SIZE=2>CEA LIST</FONT></FONT></P>
		</TD>
		<TD WIDTH=188>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<FONT FACE="Arial, sans-serif"><FONT SIZE=2><A HREF="mailto:Sebastien.gerard@cea.fr">Sebastien.gerard@cea.fr</A></FONT></FONT></P>
		</TD>
		<TD WIDTH=45>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm">SG</P>
		</TD>
	</TR>
</TABLE>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<TABLE WIDTH=643 BORDER=0 CELLPADDING=7 CELLSPACING=0>
	<COL WIDTH=230>
	<COL WIDTH=124>
	<COL WIDTH=188>
	<COL WIDTH=45>
	<TR VALIGN=TOP>
		<TD WIDTH=230 BGCOLOR="#ffff99">
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.2cm; background: #ffff99">
			<B>Authors name (first/last name)</B></P>
		</TD>
		<TD WIDTH=124 BGCOLOR="#ffff99">
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.2cm; background: #ffff99">
			<B>Company</B></P>
		</TD>
		<TD WIDTH=188 BGCOLOR="#ffff99">
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.2cm; background: #ffff99">
			<B>E-mail</B></P>
		</TD>
		<TD WIDTH=45 BGCOLOR="#ffff99">
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.2cm; background: #ffff99">
			<B>Initial</B></P>
		</TD>
	</TR>
	<TR VALIGN=BOTTOM>
		<TD WIDTH=230>
			<P LANG="zxx" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<FONT FACE="Arial, sans-serif"><FONT SIZE=2>S&eacute;bastien
			G&eacute;rard</FONT></FONT></P>
		</TD>
		<TD WIDTH=124>
			<P LANG="zxx" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<FONT FACE="Arial, sans-serif"><FONT SIZE=2>CEA LIST</FONT></FONT></P>
		</TD>
		<TD WIDTH=188>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<FONT FACE="Arial, sans-serif"><FONT SIZE=2><A HREF="mailto:Sebastien.gerard@cea.fr">Sebastien.gerard@cea.fr</A></FONT></FONT></P>
		</TD>
		<TD WIDTH=45>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm">SG</P>
		</TD>
	</TR>
</TABLE>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<H1 LANG="en-US" CLASS="heading+no-numbering+new-page-western">Revision
chart and history log</H1>
<TABLE WIDTH=636 BORDER=0 CELLPADDING=7 CELLSPACING=0>
	<COL WIDTH=62>
	<COL WIDTH=83>
	<COL WIDTH=449>
	<TR VALIGN=TOP>
		<TD WIDTH=62 BGCOLOR="#ffff99">
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.2cm; background: #ffff99">
			<B>Version </B>
			</P>
		</TD>
		<TD WIDTH=83 BGCOLOR="#ffff99">
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.2cm; background: #ffff99">
			<B>Date</B></P>
		</TD>
		<TD WIDTH=449 BGCOLOR="#ffff99">
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.2cm; background: #ffff99">
			<B>Reasons</B></P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=62>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<FONT FACE="Arial, sans-serif"><FONT SIZE=2>1.0</FONT></FONT></P>
		</TD>
		<TD WIDTH=83>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<FONT FACE="Arial, sans-serif"><FONT SIZE=2>2010-05-07</FONT></FONT></P>
		</TD>
		<TD WIDTH=449>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<FONT FACE="Arial, sans-serif"><FONT SIZE=2>Initial contribution.</FONT></FONT></P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=62>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<BR>
			</P>
		</TD>
		<TD WIDTH=83>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<BR>
			</P>
		</TD>
		<TD WIDTH=449>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<BR>
			</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=62>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<BR>
			</P>
		</TD>
		<TD WIDTH=83>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<BR>
			</P>
		</TD>
		<TD WIDTH=449>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<BR>
			</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=62>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<BR>
			</P>
		</TD>
		<TD WIDTH=83>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<BR>
			</P>
		</TD>
		<TD WIDTH=449>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<BR>
			</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=62>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<BR>
			</P>
		</TD>
		<TD WIDTH=83>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<BR>
			</P>
		</TD>
		<TD WIDTH=449>
			<P LANG="en-US" CLASS="western" STYLE="margin-top: 0.1cm; font-weight: normal">
			<BR>
			</P>
		</TD>
	</TR>
</TABLE>
<H1 LANG="en-US" CLASS="heading+no-numbering+new-page-western">Table
of contents</H1>
<DIV ID="Table of Contents1" DIR="LTR">
	<P LANG="en-US" ALIGN=LEFT STYLE="margin-top: 0.21cm">  <FONT SIZE=2>Authors	2</FONT></P>
	<P LANG="en-US" ALIGN=LEFT STYLE="margin-top: 0.21cm">  <FONT SIZE=2>Revision
	chart and history log	3</FONT></P>
	<P LANG="en-US" ALIGN=LEFT STYLE="margin-top: 0.21cm">  <FONT SIZE=2>List
	of abbreviations	4</FONT></P>
	<P LANG="en-US" ALIGN=LEFT STYLE="margin-top: 0.21cm">  <FONT SIZE=2>Table
	of contents	5</FONT></P>
	<P LANG="en-US" ALIGN=LEFT STYLE="margin-top: 0.21cm">  <FONT SIZE=2>List
	of figures	6</FONT></P>
	<P LANG="en-US" ALIGN=LEFT STYLE="margin-top: 0.21cm">  <FONT SIZE=2>List
	of tables	7</FONT></P>
	<P LANG="en-US" ALIGN=LEFT STYLE="margin-top: 0.21cm"><FONT SIZE=2><A HREF="#1.Introduction|outline">1
	 Introduction	8</A></FONT></P>
	<P LANG="en-US" ALIGN=LEFT STYLE="margin-top: 0.21cm"><FONT SIZE=2><A HREF="#2.&lt;&lt;&lt;Main chapters&gt;&gt;&gt;|outline">2
	 &lt;&lt;&lt;Main chapters&gt;&gt;&gt;	9</A></FONT></P>
	<P LANG="en-US" ALIGN=LEFT STYLE="margin-top: 0.21cm"><FONT SIZE=2><A HREF="#3.Summary and conclusion|outline">3
	 Summary and conclusion	10</A></FONT></P>
	<P LANG="en-US" ALIGN=LEFT STYLE="margin-top: 0.21cm"><FONT SIZE=2><A HREF="#4.References|outline">4
	 References	11</A></FONT></P>
</DIV>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<H1 LANG="en-US" CLASS="western"><A NAME="1.Introduction|outline"></A>
1Introduction</H1>
<P LANG="en-US" CLASS="western">The purpose of this document is to
provide to Papyrus developpers a tutorial explaining how to create
and add a new plug-in within Papyrus.</P>
<H1 LANG="en-US" CLASS="western"><A NAME="2.&lt;&lt;&lt;Main chapters&gt;&gt;&gt;|outline"></A>
2How to create a new plug-in for Papyrus ?</H1>
<OL>
	<LI><P LANG="en-US" CLASS="list-1-end-western">Create a new plug-in
	for Papyrus</P>
</OL>
<P LANG="en-US" CLASS="western"><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_47da22ab.gif" NAME="images5" ALIGN=LEFT WIDTH=318 HEIGHT=194 BORDER=0><BR CLEAR=LEFT><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_11174b23.png" NAME="images6" ALIGN=LEFT WIDTH=293 HEIGHT=316 BORDER=0><BR CLEAR=LEFT><BR><BR>
</P>
<OL START=2>
	<LI><P LANG="en-US" CLASS="western">Name your new plug-in applying
	the formating rule: org.eclipse.papyrus.&lt;YourPluginName&gt;</P>
</OL>
<P LANG="en-US" CLASS="western"><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_ae49080.png" NAME="images4" ALIGN=LEFT WIDTH=353 HEIGHT=410 BORDER=0><BR CLEAR=LEFT><BR><BR>
</P>
<OL START=3>
	<LI><P LANG="en-US" CLASS="western" STYLE="page-break-before: always">
	Then click on the button <FONT FACE="Consolas, monospace">Finish</FONT><FONT FACE="Times New Roman, serif">.
	Then the following user interface is displayed:</FONT></P>
</OL>
<P LANG="en-US" CLASS="western"><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_3b41e179.gif" ALIGN=LEFT><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m8c3db26.png" NAME="images13" ALIGN=LEFT WIDTH=326 HEIGHT=400 BORDER=0><BR CLEAR=LEFT><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_20d7fa65.gif" ALIGN=LEFT><BR><BR>
</P>
<OL START=4>
	<LI><P LANG="en-US" CLASS="western">Set the following properties and
	then click on the button <FONT FACE="Consolas, monospace">Finish</FONT>.</P>
</OL>
<UL>
	<LI><P LANG="en-US" CLASS="western">Version: 0.7.0.qualifier (The
	value of this parameter is to set according to the Papyrus version.
	At the time of the wirting of this documenbt, Papyrus was in version
	0.7.0.)</P>
	<LI><P LANG="en-US" CLASS="western">Name: %pluginName</P>
	<LI><P LANG="en-US" CLASS="western">Provided: %providerName</P>
	<LI><P LANG="en-US" CLASS="western">Execution Environment: J2SE-1.5</P>
</UL>
<OL START=5>
	<LI><P LANG="en-US" CLASS="western" STYLE="page-break-before: always">
	Add a new file named <I>plugin.properties</I> under the plug-in
	project</P>
</OL>
<P LANG="en-US" CLASS="western"><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m4922ca4f.gif" NAME="images7" ALIGN=LEFT WIDTH=481 HEIGHT=200 BORDER=0><BR CLEAR=LEFT><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_6b592bb8.gif" ALIGN=LEFT><BR><BR>
</P>
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
	<COL WIDTH=128*>
	<COL WIDTH=128*>
	<TR VALIGN=TOP>
		<TD WIDTH=50%>
			<P LANG="en-US" CLASS="western"><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m63a2afcc.png" NAME="images8" ALIGN=LEFT WIDTH=320 HEIGHT=227 BORDER=0><BR CLEAR=LEFT><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m32cc7b38.gif" ALIGN=LEFT><BR>
			</P>
		</TD>
		<TD WIDTH=50%>
			<P LANG="en-US" CLASS="western"><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_mfb4253b.png" NAME="images9" ALIGN=LEFT WIDTH=291 HEIGHT=227 BORDER=0><BR CLEAR=LEFT><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m4ac5f84a.gif" ALIGN=LEFT><BR>
			</P>
		</TD>
	</TR>
</TABLE>
<P LANG="en-US" CLASS="western">You then should get then the
following result:</P>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<P LANG="en-US" CLASS="western"><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_3ff687e7.png" NAME="images10" ALIGN=LEFT WIDTH=245 HEIGHT=157 BORDER=0><BR CLEAR=LEFT><BR><BR>
</P>
<OL START=6>
	<LI><P LANG="en-US" CLASS="western">Edit the file and add the
	following text inside. This file is used for defining the variables
	used in the plug-in definition. In our case, we have previously
	introduced both following variables, pluginName and providerName.
	The value set for this variable may be any kind of string. Then do
	not forget to save the file and you can also close it.</P>
</OL>
<P LANG="en-US" CLASS="western"><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_2f921d3c.png" NAME="images11" ALIGN=LEFT WIDTH=569 HEIGHT=185 BORDER=0><BR CLEAR=LEFT><BR><BR>
</P>
<OL START=6>
	<LI><P LANG="en-US" CLASS="western">Configure the manifest of the
	plug-in. For that purpose, open the file named MANIFEST.MF under the
	folder named META-INF as shown below. In our case, we check the
	resource folder and plugin.properties file in order these later may
	be automatically included in the build of the plug-in. Then do not
	forget to save the file and you can also close it.</P>
</OL>
<P LANG="en-US" CLASS="western"><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m70e80a0b.png" NAME="images12" ALIGN=LEFT WIDTH=495 HEIGHT=391 BORDER=0><BR CLEAR=LEFT><BR><BR>
</P>
<P LANG="en-US" CLASS="western">Your plug-in is now created and can
be committed to the Papyrus repository. For that purpose please refer
to next chpater.</P>
<H1 LANG="en-US" CLASS="western"><A NAME="3.Summary and conclusion|outline"></A>
3How to commit a new plug-in within the Papyrus repository?</H1>
<OL>
	<LI><P LANG="en-US" CLASS="western">Now, the final step is to commit
	your new plug-in on the Papyrus svn. For that purpose, select your
	plug-in in the package explorer and do following action, <I>Team&gt;Share
	Project..,</I> as shown below.</P>
</OL>
<P LANG="en-US" CLASS="western"><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m318ea83a.gif" NAME="images14" ALIGN=LEFT WIDTH=386 HEIGHT=329 BORDER=0><BR CLEAR=LEFT><BR><BR>
</P>
<OL START=2>
	<LI><P LANG="en-US" CLASS="western">Then select svn as shown
	below...</P>
</OL>
<P LANG="en-US" CLASS="western"><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m2bea2a2a.png" NAME="images15" ALIGN=LEFT WIDTH=318 HEIGHT=210 BORDER=0><BR CLEAR=LEFT><BR><BR>
</P>
<OL START=3>
	<LI><P LANG="en-US" CLASS="western"><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_mfc790d3.png" NAME="images16" ALIGN=LEFT WIDTH=534 HEIGHT=205 BORDER=0><BR CLEAR=LEFT><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_51cd634f.gif" ALIGN=LEFT>&hellip;
	and next select the Papyrus svn repository.</P>
</OL>
<P LANG="en-US" CLASS="western"><BR><BR>
</P>
<OL START=4>
	<LI><P LANG="en-US" CLASS="western">Finish and then you get the user
	interface shwon below. You have to select <I>&ldquo;Use mutliple
	projects ...&rdquo;</I> option in the group named <I>&ldquo;Project
	Repository Layout&rdquo;</I>. The value to set is depending on the
	location you want to commit your new plug-in. A priori it is on the
	trunk of Papyrus, so it should start by &ldquo;/trunk&rdquo; and
	then you specify the path of the targeted location. In our example,
	the new plug-in will be committed under the path
	&ldquo;/trunk/plugins/uml&rdquo;. Then you have also to uncheck the
	box named &ldquo;Use Subversion recommend layout ...&rdquo;, and
	then you can press the button <I>Finish</I>.</P>
</OL>
<P LANG="en-US" CLASS="western"><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_21c4a62a.gif" ALIGN=LEFT><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_6bd32e21.png" NAME="images17" ALIGN=LEFT WIDTH=476 HEIGHT=402 BORDER=0><BR CLEAR=LEFT><BR><BR>
</P>
<OL START=5>
	<LI><P LANG="en-US" CLASS="western" STYLE="page-break-before: always">
	Finally, you will get the following last user interface that ask you
	to enter a comment denoting the new commit. Pressing the button OK,
	you will have finished the process and your plug-in should be added
	to the Papyrus svn repository.</P>
</OL>
<P LANG="en-US" CLASS="western"><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m5bcfb153.gif" ALIGN=LEFT><IMG SRC="PapyrusDevelopperTutorial_OnCreating&amp;AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_40231f8b.png" NAME="images18" ALIGN=LEFT WIDTH=444 HEIGHT=354 BORDER=0><BR CLEAR=LEFT><BR><BR>
</P>
<OL START=6>
	<LI><P LANG="en-US" CLASS="western">Last step is to check that
	everything has been done correctly. For that, switch to the svn view
	and check that your new plug-in has been uploaded correctly and at
	the right location and close then bug that was attached to that new
	feature supported by your plug-in.</P>
</OL>
<H1 LANG="en-US" CLASS="western"><A NAME="4.References|outline"></A>4References</H1>
<P LANG="en-US" CLASS="western">N/A.</P>
<DIV TYPE=FOOTER>
	<P LANG="en-US" CLASS="western" STYLE="margin-top: 1.15cm">&#61667;
	<FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="zxx"><I>2009 The
	Papyrus Consortium </I></SPAN></FONT><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="zxx"><I>	</I></SPAN></FONT><SPAN LANG="zxx"><SDFIELD TYPE=PAGE SUBTYPE=RANDOM FORMAT=PAGE>13</SDFIELD></SPAN><SPAN LANG="zxx">/</SPAN><SPAN LANG="zxx"><SDFIELD TYPE=DOCSTAT SUBTYPE=PAGE FORMAT=ARABIC>13</SDFIELD></SPAN></P>
</DIV>
</BODY>
</HTML>

Back to the top