forked from RedhawkSDR/Documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainch19.html
2377 lines (2311 loc) · 115 KB
/
mainch19.html
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
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html >
<head><title>19 Using the REDHAWK IDE</title>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8"">
<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)">
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)">
<!-- html,2,next,javascript,charset="utf-8" -->
<meta name="src" content="main.tex">
<meta name="date" content="2013-03-12 19:46:00">
<link rel="stylesheet" type="text/css" href="main.css">
<script type="text/javascript" src="scripts/shCore.js"></script>
<script type="text/javascript" src="scripts/shBrushCpp.js"></script>
<script type="text/javascript" src="scripts/shBrushJava.js"></script>
<script type="text/javascript" src="scripts/shBrushPython.js"></script>
<script type="text/javascript" src="scripts/shBrushBash.js"></script>
<script type="text/javascript" src="scripts/shBrushXml.js"></script>
<link href="styles/shCore.css" rel="stylesheet" type="text/css" />
<link href="styles/shThemeDefault.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
SyntaxHighlighter.all()
</script>
</head><body
>
<script>
function f() {
document.getElementById('main_content_wrap').focus();
}
if (window.addEventListener) {
window.addEventListener("load", f, false);
} else if (window.attachEvent) {
window.attachEvent("onload", f);
}
</script>
<div class="header">
<ul class="navbar">
<li><a class="logo-small" href="index.html"><img src="images/RedHawk_Logo_ALT_B_121px.png"/></a></li> <li><a href="index.html">Home</a></li>
<li><a href="gettingstarted/main.html">Getting Started</a></li>
<li><a class="active" href="main.html">Documentation</a></li>
<li><a href="download.html">Download</a></li>
<li><a href="support.html">Support</a></li>
</ul>
<div class="pattern right"></div>
<a id="forkme_banner" href="https://github.com/redhawksdr">View on GitHub</a>
</div>
<!-- Custom MAIN CONTENT -->
<div id="main_content_wrap" tabindex="0" class="outer">
<section id="main_content" class="inner">
<!--l. 1--><div class="crosslinks"><p class="noindent">[<a
href="mainch20.html" >next</a>] [<a
href="mainch18.html" >prev</a>] [<a
href="mainch18.html#tailmainch18.html" >prev-tail</a>] [<a
href="#tailmainch19.html">tail</a>] [<a
href="main.html#mainch19.html" >up</a>] </p></div>
<h2 class="chapterHead"><span class="titlemark">Chapter 19</span><br /><a
id="x21-25700019"></a>Using the REDHAWK IDE</h2>
<!--l. 1--><p class="noindent" >The REDHAWK <a
href="mainap3.html#ide">IDE</a> is a tool that allows developers to create, test, and deploy software for
REDHAWK systems. This tool is built on Eclipse, which is a generic, extensible <a
href="mainap3.html#ide">IDE</a> that allows
developers to add custom modules. The REDHAWK <a
href="mainap3.html#ide">IDE</a>, therefore, leverages all of the features
available in a bare-bones Eclipse <a
href="mainap3.html#ide">IDE</a> while also providing customized features specific to
REDHAWK development.
<!--l. 5--><p class="noindent" >For signal processing developers, the REDHAWK <a
href="mainap3.html#ide">IDE</a> provides graphical interfaces for the
auto-generation of <a
href="mainli2.html#glo:component">Component</a>, <a
href="mainli2.html#glo:device">Device</a>, and <a
href="mainli2.html#glo:service">Service</a> code in C++, Python, and Java. Built on top
of the Eclipse Java Developer Tools (<a
href="mainap3.html#jdt">JDT</a>), Eclipse PyDev, and Eclipse C/C++ Developer
Tools (<a
href="mainap3.html#cdt">CDT</a>), the <a
href="mainap3.html#ide">IDE</a> provides feature-rich editors for code written in any of the three languages.
In addition, a drag-and-drop environment for testing these modules and constructing them into
<a
href="mainli2.html#glo:waveformapplication">Waveforms</a> and <a
href="mainli2.html#glo:node">Nodes</a> is available.
<!--l. 9--><p class="noindent" >For system developers, the <a
href="mainap3.html#ide">IDE</a> provides an environment for deploying and maintaining
<a
href="mainli2.html#glo:application">Applications</a> onto fielded systems. Furthermore, the pluggable nature of Eclipse allows system
developers to add customized system user-interface modules.
<h3 class="sectionHead"><span class="titlemark">19.1 </span> <a
id="x21-25800019.1"></a>Launching the REDHAWK IDE For the First Time</h3>
<!--l. 3--><p class="noindent" >This section describes the basic process for starting the REDHAWK <a
href="mainap3.html#ide">IDE</a> for the first time. To
begin, the REDHAWK Core Framework and the <a
href="mainap3.html#ide">IDE</a> must first be installed (see <a
href="mainch2.html#x4-160002.7">Section 2.7</a>).
Assuming the <a
href="mainap3.html#ide">IDE</a> is installed in <span
class="cmsy-10x-x-120">~</span>/redhawk-ide/, the <a
href="mainap3.html#ide">IDE</a> may be started using the following
commands:
<script type="syntaxhighlighter" class="brush: bash"><![CDATA[
$ cd ~/redhawk-ide/eclipse
$ ./eclipse
]]></script>
<!--l. 13--><p class="noindent" >At startup, the program may prompt for a <a
href="mainli2.html#glo:workspace">Workspace</a> location. In Eclipse and the REDHAWK
<a
href="mainap3.html#ide">IDE</a>, a <a
href="mainli2.html#glo:workspace">Workspace</a> is a logical collection of projects under active development. The user should set
the workspace to where he/she intends to store source code.
<!--l. 17--><p class="noindent" >If this is the first time running the <a
href="mainap3.html#ide">IDE</a> using this <a
href="mainli2.html#glo:workspace">Workspace</a>, the <a
href="mainap3.html#ide">IDE</a> displays the <span
class="cmbx-12">Welcome</span>
screen and a prompt to configure <a
href="mainli2.html#glo:PyDev">PyDev</a>.
<!--l. 19--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">19.1.1 </span> <a
id="x21-25900019.1.1"></a>Configuring PyDev</h4>
<!--l. 21--><p class="noindent" >When prompted with the <span
class="cmbx-12">Configure PyDev </span>menu, it is recommended to let <a
href="mainli2.html#glo:PyDev">PyDev</a>
automatically detect the system’s configuration by selecting <span
class="cmbx-12">Auto</span>. If the user chooses not to
configure <a
href="mainli2.html#glo:PyDev">PyDev</a> at this time, it can always be configured at a later time.
<!--l. 26--><p class="noindent" >To configure <a
href="mainli2.html#glo:PyDev">PyDev</a> through the <a
href="mainap3.html#ide">IDE</a> menus:
<ol class="enumerate1" >
<li
class="enumerate" id="x21-259002x1">Select <span
class="cmbx-12">Window </span><span
class="cmmi-12">> </span><span
class="cmbx-12">Preferences</span>
</li>
<li
class="enumerate" id="x21-259004x2">Select <span
class="cmbx-12">PyDev </span><span
class="cmmi-12">> </span><span
class="cmbx-12">Interpreter - Python</span>
</li>
<li
class="enumerate" id="x21-259006x3">Select <span
class="cmbx-12">Auto Config</span></li></ol>
<!--l. 41--><p class="noindent" >
<h3 class="sectionHead"><span class="titlemark">19.2 </span> <a
id="x21-26000019.2"></a>The Workbench</h3>
<!--l. 43--><p class="noindent" >The Eclipse introductory screen displays a <span
class="cmbx-12">Workbench </span>button that takes the user to the <a
href="mainap3.html#ide">IDE</a>’s
development environment: the <a
href="mainli2.html#glo:workbench">Workbench</a>. The <a
href="mainli2.html#glo:workbench">Workbench</a> is made up of multiple, smaller
windows, which are referred to as <a
href="mainli2.html#glo:view">Views</a> in the Eclipse context.
<!--l. 46--><p class="noindent" >At the center of the <a
href="mainap3.html#ide">IDE</a> <a
href="mainli2.html#glo:workbench">Workbench</a> is the <a
href="mainli2.html#glo:editor">Editor</a> window, which will be empty at initial startup.
The <a
href="mainli2.html#glo:editor">Editor</a> is the primary window used when developing code within the REDHAWK <a
href="mainap3.html#ide">IDE</a>. An
Eclipse <a
href="mainli2.html#glo:editor">Editor</a> is a context-sensitive window within the <a
href="mainli2.html#glo:workbench">Workbench</a>; the language of opened files
dictates the type of editor that is opened, impacting editing features such as syntax
highlighting.
<!--l. 50--><p class="noindent" >For a more detailed understanding of the Eclipse environment and nomenclature, consult the
online Eclipse documentation at <a
href="http://help.eclipse.org/" class="url" ><span
class="cmtt-12">http://help.eclipse.org/</span></a> or the embedded documentation
within the REDHAWK <a
href="mainap3.html#ide">IDE</a> by selecting <span
class="cmbx-12">Help </span><span
class="cmmi-12">> </span><span
class="cmbx-12">Search</span>.
<!--l. 54--><p class="noindent" >
<h3 class="sectionHead"><span class="titlemark">19.3 </span> <a
id="x21-26100019.3"></a>Changing Perspectives in the Workbench</h3>
<!--l. 56--><p class="noindent" >The <a
href="mainli2.html#glo:view">Views</a> that makeup the <a
href="mainli2.html#glo:workbench">Workbench</a>, along with the particular layout of those <a
href="mainli2.html#glo:view">Views</a>, are
referred to as a <a
href="mainli2.html#glo:perspective">Perspective</a>. By changing <a
href="mainli2.html#glo:perspective">Perspectives</a> throughout the development process, a
developer may optimize his/her work environment based on the requirements of the particular task
at hand. The default <a
href="mainli2.html#glo:perspective">Perspective</a> in the REDHAWK <a
href="mainap3.html#ide">IDE</a> is the <a
href="mainap3.html#sca">SCA</a> <a
href="mainli2.html#glo:perspective">Perspective</a>, which is
discussed in the following section. A user may switch from the <a
href="mainap3.html#sca">SCA</a> <a
href="mainli2.html#glo:perspective">Perspective</a> to any other
<a
href="mainli2.html#glo:perspective">Perspective</a> whenever needed.
<!--l. 60--><p class="noindent" >There are two primary methods for changing <a
href="mainli2.html#glo:perspective">Perspectives</a>:
<ul class="itemize1">
<li class="itemize">Click <span
class="cmbx-12">Open Perspective </span>from the top right of the <a
href="mainli2.html#glo:workbench">Workbench</a>. <hr class="figure"><div class="figure"
><table class="figure"><tr class="figure"><td class="figure"
><a
id="x21-261001r1"></a> <img
src="images/REDHAWK_Open_Perspective.png" alt="PIC"
>
<br /> <table class="caption"
><tr style="vertical-align:baseline;" class="caption"><td class="id">Figure 19.1: </td><td
class="content">Open Perspective</td></tr></table><!--tex4ht:label?: x21-261001r1 -->
<!--l. 68--><p class="noindent" ></td></tr></table></div><hr class="endfigure">
</li>
<li class="itemize">Select <span
class="cmbx-12">Window</span><span
class="cmmi-12">> </span><span
class="cmbx-12">Open Perspective </span><span
class="cmmi-12">> </span><span
class="cmbx-12">Other</span>.
</li></ul>
<!--l. 81--><p class="noindent" >A view may be resized, moved, and closed within a given <a
href="mainli2.html#glo:perspective">Perspective</a> to allow for personal
customization.
<!--l. 84--><p class="noindent" >To reset the current <a
href="mainli2.html#glo:perspective">Perspective</a> to its default state:
<ol class="enumerate1" >
<li
class="enumerate" id="x21-261003x1">Click <span
class="cmbx-12">Window </span><span
class="cmmi-12">> </span><span
class="cmbx-12">Reset Perspective</span><span
class="cmbx-12">…</span></li></ol>
<!--l. 97--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">19.3.1 </span> <a
id="x21-26200019.3.1"></a>The SCA Perspective</h4>
<!--l. 99--><p class="noindent" >The <a
href="mainap3.html#sca">SCA</a> <a
href="mainli2.html#glo:perspective">Perspective</a> is comprised of seven <a
href="mainli2.html#glo:view">Views</a> and the <a
href="mainli2.html#glo:editor">Editor</a> window. Five of these views are
provided by Eclipse <a
href="mainap3.html#ide">IDE</a>, while the remaining two views are REDHAWK-specific.
<!--l. 102--><p class="noindent" >The following five Eclipse-provided <a
href="mainli2.html#glo:view">Views</a> are in the <a
href="mainap3.html#sca">SCA</a> <a
href="mainli2.html#glo:perspective">Perspective</a>:
<ul class="itemize1">
<li class="itemize"><a
href="mainli2.html#glo:Project Explorer View"><span
class="cmbx-12">Project Explorer View</span></a>: Provides a hierarchical view of the resources in the
Workbench.
</li>
<li class="itemize"><a
href="mainli2.html#glo:Outline View"><span
class="cmbx-12">Outline View</span></a>: Displays an outline of a structured file that is currently open in the
editor area.
</li>
<li class="itemize"><a
href="mainli2.html#glo:Properties View"><span
class="cmbx-12">Properties View</span></a>: Displays <a
href="mainli2.html#glo:property">Property</a> names and basic <a
href="mainli2.html#glo:property">Properties</a> of a selected
resource.
</li>
<li class="itemize"><a
href="mainli2.html#glo:Problems View"><span
class="cmbx-12">Problems View</span></a>: Automatically logs problems, errors, or warnings when working with
various resources in the <a
href="mainli2.html#glo:workbench">Workbench</a>.
</li>
<li class="itemize"><a
href="mainli2.html#glo:Console View"><span
class="cmbx-12">Console View</span></a>: Displays a variety of console types depending on the type of
development and the current set of user settings. Specific implementations of the
<a
href="mainli2.html#glo:Console View"><span
class="cmbx-12">Console View</span></a> are described in <a
href="#x21-27100019.4.4">Section 19.4.4</a>.</li></ul>
<!--l. 119--><p class="noindent" >The following two REDHAWK-specific <a
href="mainli2.html#glo:view">Views</a> are in the <a
href="mainap3.html#sca">SCA</a> <a
href="mainli2.html#glo:perspective">Perspective</a>:
<ul class="itemize1">
<li class="itemize"><a
href="mainli2.html#glo:SCA Explorer View"><a
href="mainap3.html#sca"><span
class="cmbx-12">SCA</span></a> <span
class="cmbx-12">Explorer View</span></a>: allows a user to navigate the contents of an <a
href="mainap3.html#sca">SCA</a> <a
href="mainli2.html#glo:domain">Domain</a>. It
provides capabilities for viewing the contents of the <a
href="mainli2.html#glo:domain">Domain</a>, configuring instantiated
resources, and launching <a
href="mainli2.html#glo:application">Applications</a> in a target <a
href="mainap3.html#sdr">SDR</a> environment. It also provides
access to the <a
href="mainli2.html#glo:Sandbox"><span
class="cmbx-12">Sandbox</span></a>, which is an environment for running <a
href="mainli2.html#glo:component">Components</a> and
<a
href="mainli2.html#glo:application">Applications</a> without <a
href="mainli2.html#glo:domainmanager">Domain Manager</a> and <a
href="mainli2.html#glo:devicemanager">Device Manager</a>. Exploring an active
<a
href="mainli2.html#glo:domain">Domain</a> using the REDHAWK <a
href="mainap3.html#ide">IDE</a> is discussed in <a
href="mainch22.html#x24-30500022">Chapter 22</a>. The <a
href="mainli2.html#glo:SCA Explorer View"><a
href="mainap3.html#sca"><span
class="cmbx-12">SCA</span></a> <span
class="cmbx-12">Explorer</span>
<span
class="cmbx-12">View</span></a> is displayed in the following graphic, <a
href="#x21-262001r2">Figure 19.2</a>.
<!--l. 129--><p class="noindent" ><hr class="figure"><div class="figure"
><table class="figure"><tr class="figure"><td class="figure"
><a
id="x21-262001r2"></a> <img
src="images/REDHAWK_SCA_Explorer_View.png" alt="PIC"
>
<br /> <table class="caption"
><tr style="vertical-align:baseline;" class="caption"><td class="id">Figure 19.2: </td><td
class="content">The <a
href="mainli2.html#glo:SCA Explorer View"><a
href="mainap3.html#sca"><span
class="cmbx-12">SCA</span></a> <span
class="cmbx-12">Explorer View</span></a></td></tr></table><!--tex4ht:label?: x21-262001r2 -->
<!--l. 134--><p class="noindent" ></td></tr></table></div><hr class="endfigure">
</li>
<li class="itemize"><a
href="mainli2.html#glo:CORBA Name Browser View"><a
href="mainap3.html#corba">CORBA</a> Name Browser</a>: maps names to specific <a
href="mainap3.html#corba">CORBA</a> Servants. The <a
href="mainli2.html#glo:CORBA Name Browser View"><a
href="mainap3.html#corba">CORBA</a> Name
Browser</a> is used to examine the current contents of the <a
href="mainli2.html#glo:namingservice">Naming Service</a> as well as perform
basic manipulation of that context. The view displays all currently bound name contexts
(folders) and objects. The <a
href="mainli2.html#glo:CORBA Name Browser View"><a
href="mainap3.html#corba">CORBA</a> Name Browser</a> is displayed in the following graphic,
<a
href="#x21-262002r3">Figure 19.3</a>.
<!--l. 141--><p class="noindent" ><hr class="figure"><div class="figure"
><table class="figure"><tr class="figure"><td class="figure"
><a
id="x21-262002r3"></a> <img
src="images/REDHAWK_Name_Browser.png" alt="PIC"
>
<br /> <table class="caption"
><tr style="vertical-align:baseline;" class="caption"><td class="id">Figure 19.3: </td><td
class="content">The <span
class="cmbx-12">Name Browser View</span></td></tr></table><!--tex4ht:label?: x21-262002r3 -->
<!--l. 146--><p class="noindent" ></td></tr></table></div><hr class="endfigure">
</li></ul>
<!--l. 149--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">19.3.2 </span> <a
id="x21-26300019.3.2"></a>Programming Language Specific Perspectives</h4>
<!--l. 150--><p class="noindent" >While the <a
href="mainap3.html#sca">SCA</a> <a
href="mainli2.html#glo:perspective">Perspective</a> combines views that are commonly used while viewing <a
href="mainli2.html#glo:domain">Domain</a>
objects, creating <a
href="mainap3.html#sca">SCA</a> resources, and launching <a
href="mainli2.html#glo:application">Applications</a>, many other <a
href="mainli2.html#glo:perspective">Perspectives</a> are
available that are optimized for code development. Because the REDHAWK <a
href="mainap3.html#ide">IDE</a> is built on
top of the Eclipse platform, it takes advantage of standard Eclipse, as well as third
party, <a
href="mainap3.html#ide">IDE</a> <a
href="mainli2.html#glo:perspective">Perspectives</a> for the purpose of supporting language-specific development.
Specifically, the <a
href="mainap3.html#ide">IDE</a> contains <a
href="mainli2.html#glo:perspective">Perspectives</a> that support C/C++, Java, and Python
development.
<!--l. 156--><p class="noindent" >For example, the Java <a
href="mainli2.html#glo:perspective">Perspective</a> combines views that are commonly used while editing Java
source files, while the Debug <a
href="mainli2.html#glo:perspective">Perspective</a> contains the views that are used while debugging Java
programs.
<!--l. 159--><p class="noindent" >For more information on <a
href="mainli2.html#glo:perspective">Perspectives</a>, particularly the Eclipse default, programming language-specific
<a
href="mainli2.html#glo:perspective">Perspectives</a> packaged with the REDHAWK <a
href="mainap3.html#ide">IDE</a>, see <a
href="http://help.eclipse.org/" class="url" ><span
class="cmtt-12">http://help.eclipse.org/</span></a>.
<!--l. 1--><p class="noindent" >
<h3 class="sectionHead"><span class="titlemark">19.4 </span> <a
id="x21-26400019.4"></a>Editors and Views</h3>
<!--l. 2--><p class="noindent" >This section discusses the most commonly used <a
href="mainli2.html#glo:editor">Editors</a> and <a
href="mainli2.html#glo:view">Views</a> provided with the REDHAWK
<a
href="mainap3.html#ide">IDE</a>.
<!--l. 6--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">19.4.1 </span> <a
id="x21-26500019.4.1"></a>SoftPkg Editor</h4>
<!--l. 8--><p class="noindent" >To open the <a
href="mainli2.html#glo:SoftPkg Editor"><span
class="cmbx-12">SoftPkg Editor</span></a>, double-click an <a
href="mainap3.html#spd">SPD</a> file from the <a
href="mainli2.html#glo:Project Explorer View"><span
class="cmbx-12">Project Explorer View</span></a>. It
presents all the content that can be found within the <span
class="cmtt-12">spd.xml </span>file in an editing environment
designed for human use. If the <a
href="mainap3.html#spd">SPD</a> file references a <a
href="mainap3.html#prf">PRF</a> or <a
href="mainap3.html#scd">SCD</a> file, additional tabs are made
available that represent these files in similar fashion.
<!--l. 13--><p class="noindent" >Each of the <a
href="mainli2.html#glo:editor">Editor</a> tabs, with the exception of the raw XML tabs, have a <span
class="cmbx-12">Generate All</span>
<span
class="cmbx-12">Implementations </span>button located in the top right corner. A user may click this button to generate
his/her code implementation. The generated code is based on the code generator template that was
chosen during the <span
class="cmbx-12">New Project Wizard </span>and the content found within the <a
href="mainap3.html#spd">SPD</a>, <a
href="mainap3.html#prf">PRF</a>, and <a
href="mainap3.html#scd">SCD</a>
files.
<!--l. 19--><p class="noindent" >Each of the three <a
href="mainap3.html#xml">XML</a> files has a corresponding <a
href="mainli2.html#glo:editor">Editor</a> tab: the <a
href="mainap3.html#spd">SPD</a> - the <span
class="cmbx-12">Overview </span>tab, the
<a
href="mainap3.html#prf">PRF</a> - <span
class="cmbx-12">Properties </span>tab, and the <a
href="mainap3.html#scd">SCD</a> - the <span
class="cmbx-12">Implementations </span>tab. The following sections describe
each of these <a
href="mainli2.html#glo:editor">Editors</a>.
<!--l. 24--><p class="noindent" >
<h5 class="subsubsectionHead"><a
id="x21-26600019.4.1"></a>Overview Tab</h5>
<!--l. 25--><p class="noindent" >The <span
class="cmbx-12">Overview </span>tab is a representation of the content found within the <a
href="mainap3.html#spd">SPD</a> file and contains six
sections.
<ul class="itemize1">
<li class="itemize">The <span
class="cmbx-12">General Information </span>section provides the ability to view and set (if write
permissions are granted) the resource’s <a
href="mainap3.html#id"><span
class="cmbx-12">ID</span></a> and <span
class="cmbx-12">Name </span>as well as the location of the
<a
href="mainap3.html#prf">PRF</a> and <a
href="mainap3.html#scd">SCD</a> files. The initial content of these fields is auto-generated when the
project is created and is generally left unaltered. The optional fields, <span
class="cmbx-12">Version</span>, <span
class="cmbx-12">Title</span>,
and <span
class="cmbx-12">Description</span>, may be set to aid in the project’s documentation.
</li>
<li class="itemize">The <a
href="mainli2.html#glo:port"><span
class="cmbx-12">Ports</span></a> section provides the ability to add, edit, and view <a
href="mainli2.html#glo:port">Port</a> information.
Information about <a
href="mainli2.html#glo:port">Ports</a> is described in <a
href="mainch3.html#x5-230003.2.3">Section 3.2.3</a>.</li></ul>
<!--l. 41--><p class="noindent" >Use the following procedure to define a new <a
href="mainli2.html#glo:port">Port</a>:
<!--l. 43--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x21-266002x1">Click <span
class="cmbx-12">Add</span><span
class="cmbx-12">…</span>.
</li>
<li
class="enumerate" id="x21-266004x2">Type a <a
href="mainli2.html#glo:port">Port</a> name unique to this resource.
</li>
<li
class="enumerate" id="x21-266006x3">Select a <span
class="cmbx-12">Direction</span>: either input, output, or bidirectional.
</li>
<li
class="enumerate" id="x21-266008x4">Select a <span
class="cmbx-12">Type</span>. A <a
href="mainli2.html#glo:port">Port</a> must have a type and defaults to control if one is not selected.
</li>
<li
class="enumerate" id="x21-266010x5">Select an <a
href="mainap3.html#idl">IDL</a> for this <a
href="mainli2.html#glo:port">Port</a> to inherit from. The set of <a
href="mainap3.html#idl">IDL</a>s within the <a
href="mainap3.html#bulkio">BulkIO</a> package
is recommended for <a
href="mainli2.html#glo:port">Ports</a> that input or output intrinsic data types. The <a
href="mainap3.html#idl">IDL</a> list is
taken from the <a
href="mainap3.html#idl">IDL</a>s found within the Core Framework’s install location.
</li>
<li
class="enumerate" id="x21-266012x6">Click <span
class="cmbx-12">Finish</span>.</li></ol>
<!--l. 55--><p class="noindent" >An existing <a
href="mainli2.html#glo:port">Port</a> may be edited or removed by selecting the <a
href="mainli2.html#glo:port">Port</a> and clicking <span
class="cmbx-12">Edit </span>or <span
class="cmbx-12">Remove</span>
respectively.
<ul class="itemize1">
<li class="itemize">The <span
class="cmbx-12">Interfaces </span>section lists the <a
href="mainap3.html#idl">IDL</a>s that this resource inherits. This includes <a
href="mainap3.html#idl">IDL</a>s
used by the resource’s <a
href="mainli2.html#glo:port">Ports</a>, lifecycle, and <a
href="mainli2.html#glo:property">Properties</a>. This table is <span class="uline">read only</span>, and
additional <a
href="mainap3.html#idl">IDL</a> interfaces cannot be added here.
</li>
<li class="itemize">The <a
href="mainli2.html#glo:component"><span
class="cmbx-12">Component</span></a> <span
class="cmbx-12">Content </span>section displays hyperlinks to navigate to the <a
href="mainli2.html#glo:property"><span
class="cmbx-12">Properties</span></a>
and <span
class="cmbx-12">Implementations </span>tabs of the SoftPkg Editor.
</li>
<li class="itemize">The <span
class="cmbx-12">Testing </span>section displays hyperlinks for launching a local instantiation of this
resource within the <span
class="cmbx-12">Sandbox</span>. The <span
class="cmbx-12">Debug Mode </span>launch provides additional runtime
control including the ability to place breakpoints, pause execution, and inspect and
modify variables. For information on how to use the <span
class="cmbx-12">Debug Mode </span>and <span
class="cmbx-12">Sandbox</span>
refer to <a
href="#x21-28000019.6">Section 19.6</a>.
</li>
<li class="itemize">The <span
class="cmbx-12">Exporting </span>section provides a hyperlink for deploying a project to the <a
href="mainap3.html#sdr">SDR</a> Root.</li></ul>
<!--l. 76--><p class="noindent" >Use the following procedure to export a project using the <span
class="cmbx-12">Export Wizard</span>:
<ol class="enumerate1" >
<li
class="enumerate" id="x21-266014x1">Click <span
class="cmbx-12">Export Wizard</span>.
</li>
<li
class="enumerate" id="x21-266016x2">Select the projects to export.
</li>
<li
class="enumerate" id="x21-266018x3">Type or browse to the export location.
</li>
<li
class="enumerate" id="x21-266020x4">Click <span
class="cmbx-12">Finish</span>.</li></ol>
<!--l. 84--><p class="noindent" >
<h5 class="subsubsectionHead"><a
id="x21-26700019.4.1"></a>Properties Tab</h5>
<!--l. 85--><p class="noindent" >The <a
href="mainli2.html#glo:property"><span
class="cmbx-12">Properties</span></a> tab is a representation of the content found within the <a
href="mainap3.html#prf">PRF</a> file. The
REDHAWK <a
href="mainap3.html#ide">IDE</a> supports the creation of four types of <a
href="mainli2.html#glo:property">Properties</a>; simple, sequence, struct,
and struct sequence. See <a
href="mainch3.html#x5-240003.2.4">Section 3.2.4</a> for information about the different <a
href="mainli2.html#glo:property">Property</a>
types.
<!--l. 89--><p class="noindent" >Use the following procedure to define a new simple <a
href="mainli2.html#glo:property">Property</a>:
<!--l. 91--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x21-267002x1">Select <span
class="cmbx-12">Add Simple</span>. <div class="admonition block tip block-indent"><div class="tip-inner"><p class="para block block-first"> The <a
href="mainli2.html#glo:editor">Editor</a> page is now in an error state because the required fields
are not defined. Required fields are indicated by an asterisk. </p></div></div>
</li>
<li
class="enumerate" id="x21-267004x2">In the <a
href="mainap3.html#id"><span
class="cmbx-12">ID</span></a> field, type an <a
href="mainap3.html#id"><span
class="cmbx-12">ID</span></a>.
</li>
<li
class="enumerate" id="x21-267006x3">Select a <span
class="cmbx-12">type</span>.
</li>
<li
class="enumerate" id="x21-267008x4">Save to write the changes to disk.</li></ol>
<!--l. 101--><p class="noindent" >Use the following procedure to define a new sequence <a
href="mainli2.html#glo:property">Property</a> type:
<!--l. 103--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x21-267010x1">Select <span
class="cmbx-12">Add Sequence</span>. <div class="admonition block tip block-indent"><div class="tip-inner"><p class="para block block-first"> The <a
href="mainli2.html#glo:editor">Editor</a> page is now in an error state because the required fields
are not defined. Required fields are indicated by an asterisk. </p></div></div>
</li>
<li
class="enumerate" id="x21-267012x2">In the <a
href="mainap3.html#id"><span
class="cmbx-12">ID</span></a> field, type an <a
href="mainap3.html#id"><span
class="cmbx-12">ID</span></a>.
</li>
<li
class="enumerate" id="x21-267014x3">Select a type. All simple <a
href="mainli2.html#glo:property">Properties</a> within the sequence <a
href="mainli2.html#glo:property">Property</a> must be of the same
type.
</li>
<li
class="enumerate" id="x21-267016x4">To insert a new entry into the sequence, click <span
class="cmbx-12">Add</span><span
class="cmbx-12">…</span>.
</li>
<li
class="enumerate" id="x21-267018x5">Save to write the changes to disk.</li></ol>
<!--l. 115--><p class="noindent" >Use the following procedure to define a new struct <a
href="mainli2.html#glo:property">Property</a>:
<!--l. 117--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x21-267020x1">Select <span
class="cmbx-12">Add Struct</span>. <div class="admonition block tip block-indent"><div class="tip-inner"><p class="para block block-first"> The <a
href="mainli2.html#glo:editor">Editor</a> page is now in an error state because the required fields are
not defined. Required fields are indicated by an asterisk. </p></div></div>
</li>
<li
class="enumerate" id="x21-267022x2">In the <a
href="mainap3.html#id"><span
class="cmbx-12">ID</span></a> field, type an <a
href="mainap3.html#id"><span
class="cmbx-12">ID</span></a>.
</li>
<li
class="enumerate" id="x21-267024x3">Expand the struct, select the <span
class="cmbx-12">Simple</span>.
</li>
<li
class="enumerate" id="x21-267026x4">Define the <span
class="cmbx-12">Simple Property</span>.
</li>
<li
class="enumerate" id="x21-267028x5">Right-click the struct and select <span
class="cmbx-12">New </span><span
class="cmmi-12">> </span><span
class="cmbx-12">Simple </span>to add additional simple <a
href="mainli2.html#glo:property">Properties</a> to the
struct.</li></ol>
<!--l. 129--><p class="noindent" >Use the following procedure to define a new structured sequence <a
href="mainli2.html#glo:property">Property</a>:
<!--l. 131--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x21-267030x1">Select <span
class="cmbx-12">Add StructSeq</span>. <div class="admonition block tip block-indent"><div class="tip-inner"><p class="para block block-first"> The <a
href="mainli2.html#glo:editor">Editor</a> page is now in an error state because the required fields
are not defined. Required fields are indicated by an asterisk. </p></div></div>
</li>
<li
class="enumerate" id="x21-267032x2">In the <a
href="mainap3.html#id"><span
class="cmbx-12">ID</span></a> field, type an <a
href="mainap3.html#id"><span
class="cmbx-12">ID</span></a> for the struct sequence.
</li>
<li
class="enumerate" id="x21-267034x3">Expand the struct sequence, select <span
class="cmbx-12">Struct</span>.
</li>
<li
class="enumerate" id="x21-267036x4">In the <a
href="mainap3.html#id"><span
class="cmbx-12">ID</span></a> field, type an <a
href="mainap3.html#id"><span
class="cmbx-12">ID</span></a> for the struct.
</li>
<li
class="enumerate" id="x21-267038x5">This struct <a
href="mainli2.html#glo:property">Property</a> may be modified as if it were a stand alone struct <a
href="mainli2.html#glo:property">Property</a>.</li></ol>
<!--l. 142--><p class="noindent" >Use the following procedure to create the sequence of structs:
<!--l. 144--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x21-267040x1">Select the struct sequence.
</li>
<li
class="enumerate" id="x21-267042x2">Click <span
class="cmbx-12">Add</span><span
class="cmbx-12">…</span>.
</li>
<li
class="enumerate" id="x21-267044x3">The struct within the <span
class="cmbx-12">Struct Value </span>table may be expanded to modify the initial
values of the struct sequence.</li></ol>
<!--l. 151--><p class="noindent" >In addition to creating a new property from scratch, a user may also copy an existing <a
href="mainli2.html#glo:property">Property</a>
from a deployed resource.
<!--l. 153--><p class="noindent" >Use the following procedure to copy a <a
href="mainli2.html#glo:property">Property</a> from a deployed resource:
<!--l. 155--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x21-267046x1">Click <span
class="cmbx-12">Browse</span><span
class="cmbx-12">…</span>.
</li>
<li
class="enumerate" id="x21-267048x2">Expand <span
class="cmbx-12">Target SDR Properties</span>
</li>
<li
class="enumerate" id="x21-267050x3">Drill down to and select the desired <a
href="mainli2.html#glo:property">Property</a>.
</li>
<li
class="enumerate" id="x21-267052x4">Click <span
class="cmbx-12">Finish</span>.</li></ol>
<!--l. 162--><p class="noindent" >
<h5 class="subsubsectionHead"><a
id="x21-26800019.4.1"></a>Implementations Tab</h5>
<!--l. 163--><p class="noindent" >The <span
class="cmbx-12">Implementations Tab </span>is a representation of the content found within the <a
href="mainap3.html#scd">SCD</a> file. It
describes the programming language implementations that will be generated and the hardware
dependencies required for this resource.
<!--l. 167--><p class="noindent" >During the <span
class="cmbx-12">New Project Wizard</span>, the initial programming language and code generation
template were selected. In the <span
class="cmbx-12">All Implementations </span>section there is the option to add additional
programming language implementations.
<!--l. 171--><p class="noindent" >The right portion of the editor is context sensitive, and displays the information pertaining to the
selected implementation. The <span
class="cmbx-12">Implementation </span>section defines the compiler for the selected
language and provides a custom description for this implementation.
<!--l. 175--><p class="noindent" >In the <span
class="cmbx-12">Dependencies </span>section, limitations may be placed on a resource so that it may only
execute on a suitable <a
href="mainli2.html#glo:device">Device</a>. This is done through the use of <a
href="mainli2.html#glo:property">Property</a> dependencies. A
resource’s execution may be limited to a particular <a
href="mainli2.html#glo:device">Device</a> by placing a dependency
on a device’s <a
href="mainli2.html#glo:property">Property</a>. To provide compatibility among different sets of users, well
known <a
href="mainli2.html#glo:property">Properties</a> have been created, including different <a
href="mainap3.html#os">OS</a> and processor types. The
<a
href="mainap3.html#os">OS</a> and processor dependencies sections contain a preset list of <a
href="mainli2.html#glo:property">Properties</a> to select
from.
<!--l. 182--><p class="noindent" >The <span
class="cmbx-12">Code </span>section is used to indicate the local file name, priority, and executable for the
implementation.
<!--l. 185--><p class="noindent" >The <span
class="cmbx-12">Code Generation Details </span>section contains configuration values for the implementation’s
code generation. This includes the code template used, output folder location and code generator
properties.
<!--l. 189--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">19.4.2 </span> <a
id="x21-26900019.4.2"></a>Node Editor</h4>
<!--l. 191--><p class="noindent" >To open the <a
href="mainli2.html#glo:Node Editor"><span
class="cmbx-12">Node Editor</span></a>, double-click a <a
href="mainap3.html#dcd">DCD</a> file from the <a
href="mainli2.html#glo:Project Explorer View"><span
class="cmbx-12">Project Explorer View</span></a>. It
presents all the content that can be found within the <span
class="cmtt-12">dcd.xml </span>file in an editing environment
designed for human use. The <a
href="mainli2.html#glo:node"><span
class="cmbx-12">Node</span></a> <span
class="cmbx-12">Editor </span>contain an <span
class="cmbx-12">Overview</span>, <a
href="mainli2.html#glo:device"><span
class="cmbx-12">Devices</span></a>, <span
class="cmbx-12">Diagram</span>, and a raw
<a
href="mainap3.html#xml">XML</a> tab, which contains the <a
href="mainap3.html#dcd">DCD</a> file content.
<!--l. 196--><p class="noindent" >The <span
class="cmbx-12">Overview </span>tab provides general information about the <a
href="mainli2.html#glo:node">Node</a>, and hyperlinks to
additional <a
href="mainli2.html#glo:node">Node</a> related sections within the <a
href="mainap3.html#ide">IDE</a>. From the <span
class="cmbx-12">General Information</span>
section the <a
href="mainap3.html#id"><span
class="cmbx-12">ID</span></a>, <span
class="cmbx-12">name</span>, and <span
class="cmbx-12">description </span>of the <a
href="mainli2.html#glo:node">Node</a> may be set. The <a
href="mainli2.html#glo:node"><span
class="cmbx-12">Node</span></a> <span
class="cmbx-12">Content</span>
section provides a hyperlink to the <a
href="mainli2.html#glo:device"><span
class="cmbx-12">Devices</span></a> tab which allows the user to specify what
<a
href="mainli2.html#glo:device">Devices</a> are within this <a
href="mainli2.html#glo:node">Node</a>. The <span
class="cmbx-12">Testing </span>section is currently under development and
is presently unsupported. Lastly, the <span
class="cmbx-12">Exporting </span>section provides a hyperlink to the
<span
class="cmbx-12">Export Wizard </span>which steps through the process of deploying the <a
href="mainli2.html#glo:node">Node</a> into the <a
href="mainap3.html#sdr">SDR</a>
root.
<!--l. 206--><p class="noindent" >The <a
href="mainli2.html#glo:device"><span
class="cmbx-12">Devices</span></a> tab allows a user to add <a
href="mainli2.html#glo:device">Devices</a> from the <a
href="mainap3.html#sdr">SDR</a> Root into the <a
href="mainli2.html#glo:node">Node</a> and configure
those <a
href="mainli2.html#glo:device">Device</a>’s <a
href="mainli2.html#glo:property">Properties</a>. When a <a
href="mainli2.html#glo:property">Property</a> is set or changed here it is specific to this <a
href="mainli2.html#glo:node">Node</a> and
does not impact other <a
href="mainli2.html#glo:node">Nodes</a> or instances of this <a
href="mainli2.html#glo:device">Device</a>.
<!--l. 210--><p class="noindent" >To add a device to the <a
href="mainli2.html#glo:node">Node</a>:
<!--l. 212--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x21-269002x1">Click <span
class="cmbx-12">Add</span><span
class="cmbx-12">…</span>.
</li>
<li
class="enumerate" id="x21-269004x2">Select the <a
href="mainli2.html#glo:device">Device</a> to add.
</li>
<li
class="enumerate" id="x21-269006x3">Click <span
class="cmbx-12">Finish</span>.</li></ol>
<!--l. 218--><p class="noindent" >Use the table in the <span
class="cmbx-12">Device </span>section to configure the <a
href="mainli2.html#glo:node">Nodes</a> <a
href="mainli2.html#glo:property">Properties</a>.
<!--l. 220--><p class="noindent" >The <span
class="cmbx-12">Diagram </span>section (along with the <a
href="mainli2.html#glo:property"><span
class="cmbx-12">Properties</span></a> <span
class="cmbx-12">View</span>) provides the same features as the
<a
href="mainli2.html#glo:device"><span
class="cmbx-12">Devices</span></a> tab.
<!--l. 223--><p class="noindent" >Use the following procedure to add a device to the <a
href="mainli2.html#glo:node">Node</a> and configure its <a
href="mainli2.html#glo:property">Properties</a>:
<!--l. 225--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x21-269008x1">Drag the <a
href="mainli2.html#glo:device">Device</a> from the palette onto the diagram.
</li>
<li
class="enumerate" id="x21-269010x2">Right-click the <a
href="mainli2.html#glo:device">Device</a>, and select <span
class="cmbx-12">Show Properties View</span>.
</li>
<li
class="enumerate" id="x21-269012x3">From the <span
class="cmbx-12">Properties View</span>, change the desired <a
href="mainli2.html#glo:property">Properties</a>.
</li>
<li
class="enumerate" id="x21-269014x4">Save the <a
href="mainli2.html#glo:editor">Editor</a> to write the changes to disk.</li></ol>
<!--l. 232--><p class="noindent" >Like the <a
href="mainli2.html#glo:device"><span
class="cmbx-12">Devices</span></a> tab, any <a
href="mainli2.html#glo:property">Property</a> modified from the <span
class="cmbx-12">Device </span>section is specific to this <a
href="mainli2.html#glo:node">Node</a> and
will not impact the <a
href="mainli2.html#glo:device">Device</a>’s execution in other environments.
<!--l. 235--><p class="noindent" >From the <span
class="cmbx-12">Diagram </span>tab, a user may also use the <span
class="cmbx-12">Find By </span>feature. The <span
class="cmbx-12">Find By </span>feature allows a
user to find an existing resource based on the resource’s name. This resource may be accessed
through either the NameService or the <a
href="mainli2.html#glo:domain">Domain</a>.
<!--l. 240--><p class="noindent" >Use the following procedure to find a resource using the <span
class="cmbx-12">Find By </span>feature:
<!--l. 242--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x21-269016x1">Select the <span
class="cmbx-12">FindBy </span>tool.
</li>
<li
class="enumerate" id="x21-269018x2">Click-and-drag within the diagram to create a <span
class="cmbx-12">FindBy </span>box.
</li>
<li
class="enumerate" id="x21-269020x3">Select either the <span
class="cmbx-12">Naming Service </span>or <span
class="cmbx-12">Domain Finder </span>tool and click within the
<span
class="cmbx-12">FindBy </span>box.
</li>
<li
class="enumerate" id="x21-269022x4">Enter the desired resource’s name into the <span
class="cmbx-12">Naming Service </span>block or the name and
type into the <span
class="cmbx-12">Domain Finder </span>block.</li></ol>
<!--l. 251--><p class="noindent" ><a
href="mainli2.html#glo:port">Ports</a> may be added to the <span
class="cmbx-12">FindBy </span>blocks to allow them to connect to existing resources.
<!--l. 253--><p class="noindent" >Use the following procedure to add a port to a <span
class="cmbx-12">FindBy </span>block:
<!--l. 255--><p class="noindent" >
<ol class="enumerate1" >
<li
class="enumerate" id="x21-269024x1">Select the <a
href="mainli2.html#glo:port">Port</a> type to add from the <span
class="cmbx-12">Base Types </span>section of the palette.
</li>
<li
class="enumerate" id="x21-269026x2">To add the port, click within the <span
class="cmbx-12">FindBy </span>block.</li></ol>
<!--l. 261--><p class="noindent" >Connections may be made from input to output <a
href="mainli2.html#glo:port">Ports</a> by clicking and dragging from
one <a
href="mainli2.html#glo:port">Port</a> to the other. <a
href="mainli2.html#glo:port">Ports</a> may have more than one connection drawn to or from
them. Any unsupported or erroneous connection detected by the <a
href="mainap3.html#ide">IDE</a> is marked with an
appropriate indicator. Hovering over the indicator provides information concerning the
error.
<!--l. 267--><p class="noindent" >The <span
class="cmtt-12">dcd.xml </span>tab displays the raw <a
href="mainap3.html#xml">XML</a> data, which describes the <a
href="mainli2.html#glo:node">Node</a> fully. Although not
recommended, manually editing the <a
href="mainap3.html#xml">XML</a> file is supported.
<!--l. 271--><p class="noindent" >
<h4 class="subsectionHead"><span class="titlemark">19.4.3 </span> <a
id="x21-27000019.4.3"></a>Waveform Editor</h4>
<!--l. 273--><p class="noindent" >To open the <a
href="mainli2.html#glo:Waveform Editor"><span
class="cmbx-12">Waveform Editor</span></a>, double-click an <a
href="mainap3.html#sad">SAD</a> file from the <a
href="mainli2.html#glo:Project Explorer View"><span
class="cmbx-12">Project Explorer View</span></a>. It
presents all the content that can be found within the <span
class="cmtt-12">sad.xml </span>file in an editing environment
designed for human use. The <a
href="mainli2.html#glo:Waveform Editor"><span
class="cmbx-12">Waveform Editor</span></a> contains an <span
class="cmbx-12">Overview</span>, <span
class="cmbx-12">Diagram</span>, and a raw
<a
href="mainap3.html#xml">XML</a> tab which contains the <a
href="mainap3.html#sad">SAD</a> file content.
<!--l. 278--><p class="noindent" >The <span
class="cmbx-12">Overview </span>tab provides general information about the <a
href="mainli2.html#glo:waveformapplication">Waveform</a>, and hyperlinks to
additional <a