]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/EnumerationData.java
b14c86f10a4c4ce584788b7290859c81a1a46908
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / common / EnumerationData.java
1 /** @file
2
3 The file is used to init all JComboBox items
4
5 Copyright (c) 2006, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14 **/
15 package org.tianocore.frameworkwizard.common;
16
17 import java.util.Vector;
18
19 public class EnumerationData {
20 //
21 // Static data
22 //
23 public final static String EXTERNS_PCD_IS_DRIVER = "Pcd Is Driver";
24
25 public final static String EXTERNS_SPECIFICATION = "Specification";
26
27 public final static String EXTERNS_MODULE_ENTRY_POINT = "ModuleEntryPoint";
28 public final static String EXTERNS_MODULE_UNLOAD_IMAGE = "ModuleUnloadImage";
29
30 public final static String EXTERNS_CONSTRUCTOR = "Constructor";
31 public final static String EXTERNS_DESTRUCTOR = "Destructor";
32
33 public final static String EXTERNS_DRIVER_BINDING = "DriverBinding";
34 public final static String EXTERNS_COMPONENT_NAME = "ComponentName";
35 public final static String EXTERNS_DRIVER_CONFIG = "DriverConfig";
36 public final static String EXTERNS_DRIVER_DIAG = "DriverDiag";
37
38 public final static String EXTERNS_SET_VIRTUAL_ADDRESS_MAP_CALL_BACK = "SetVirtualAddressMapCallBack";
39 public final static String EXTERNS_EXIT_BOOT_SERVICES_CALL_BACK = "ExitBootServicesCallBack";
40
41 //
42 // Common data
43 //
44 public Vector<String> vSupportedArchitectures = new Vector<String>();
45
46 public Vector<String> vEnabled = new Vector<String>();
47
48 public Vector<String> vBoolean = new Vector<String>();
49
50 //
51 // Used by Msa Header
52 //
53 public Vector<String> vModuleType = new Vector<String>();
54
55 public Vector<String> vCompontentType = new Vector<String>();
56
57 //
58 // Used by Library Class Definitions
59 //
60 public Vector<String> vLibraryUsage = new Vector<String>();
61
62 public Vector<String> vFrameworkModuleTypes = new Vector<String>();
63
64 public Vector<String> vLibClassDef = new Vector<String>();
65
66 public Vector<String> vLibClassDefBase = new Vector<String>();
67
68 public Vector<String> vLibClassDefPei = new Vector<String>();
69
70 public Vector<String> vLibClassDefPeim = new Vector<String>();
71
72 public Vector<String> vLibClassDefDxeCore = new Vector<String>();
73
74 public Vector<String> vLibClassDefDxeDriver = new Vector<String>();
75
76 public Vector<String> vLibClassDefDxeSmmDriver = new Vector<String>();
77
78 public Vector<String> vLibClassDefUefiDriver = new Vector<String>();
79
80 //
81 // Used by Source Files
82 //
83 public Vector<String> vSourceFilesToolChainFamily = new Vector<String>();
84
85 public Vector<String> vSourceFilesFileType = new Vector<String>();
86
87 //
88 // Used by Package Dependencies
89 //
90 public Vector<String> vPackageUsage = new Vector<String>();
91
92 //
93 // Used by Protocols
94 //
95 public Vector<String> vProtocolUsage = new Vector<String>();
96
97 public Vector<String> vProtocolNotifyUsage = new Vector<String>();
98
99 public Vector<String> vProtocolType = new Vector<String>();
100
101 //
102 // Used by Events
103 //
104 public Vector<String> vEventType = new Vector<String>();
105
106 public Vector<String> vEventUsage = new Vector<String>();
107
108 public Vector<String> vEventGroup = new Vector<String>();
109
110 //
111 // Used by Hobs
112 //
113 public Vector<String> vHobType = new Vector<String>();
114
115 public Vector<String> vHobUsage = new Vector<String>();
116
117 //
118 // Used by Ppis
119 //
120 public Vector<String> vPpiType = new Vector<String>();
121
122 public Vector<String> vPpiUsage = new Vector<String>();
123
124 public Vector<String> vPpiNotifyUsage = new Vector<String>();
125
126 //
127 // Used by Variable
128 //
129 public Vector<String> vVariableUsage = new Vector<String>();
130
131 //
132 // Used by Boot Mode
133 //
134 public Vector<String> vBootModeNames = new Vector<String>();
135
136 public Vector<String> vBootModeUsage = new Vector<String>();
137
138 //
139 // Used by System Tables
140 //
141 public Vector<String> vSystemTableUsage = new Vector<String>();
142
143 //
144 // Used by Data Hubs
145 //
146 public Vector<String> vDataHubUsage = new Vector<String>();
147
148 //
149 // Used by Hii Packages
150 //
151 public Vector<String> vHiiPackageUsage = new Vector<String>();
152
153 //
154 // Used by Guid
155 //
156 public Vector<String> vGuidUsage = new Vector<String>();
157
158 //
159 // Used by Externs
160 //
161 public Vector<String> vExternTypes = new Vector<String>();
162
163 public Vector<String> vPcdDriverTypes = new Vector<String>();
164
165 //
166 // Used by Pcd
167 //
168 public Vector<String> vPcdItemTypes = new Vector<String>();
169
170 public EnumerationData() {
171 init();
172 }
173
174 private void init() {
175 //
176 // Init common data first
177 //
178 initSupportedArchitectures();
179 initEnabled();
180 initBoolean();
181
182 //
183 // Used by Msa header
184 //
185 initModuleType();
186
187 //
188 // Used by Library Class Definitions
189 //
190 initLibraryUsage();
191 initFrameworkModuleTypes();
192 initLibClassDefBase();
193 initLibClassDefPei();
194 initLibClassDefPeim();
195 initLibClassDefDxeCore();
196 initLibClassDefDxeDriver();
197 initLibClassDefDxeSmmDriver();
198 initLibClassDefUefiDriver();
199 initLibClassDef();
200
201 //
202 // Used by Library Class Definitions
203 //
204 initSourceFilesToolChainFamily();
205 initSourceFilesFileType();
206
207 //
208 // Used by Package Dependencies
209 //
210 initPackageUsage();
211
212 //
213 // Used by Protocols
214 //
215 initProtocolType();
216 initProtocolUsage();
217 initProtocolNotifyUsage();
218
219 //
220 // Used by Events
221 //
222 initEventType();
223 initEventUsage();
224 initEventGroup();
225
226 //
227 // Used by Hobs
228 //
229 initHobType();
230 initHobUsage();
231
232 //
233 // Used by Ppis
234 //
235 initPpiType();
236 initPpiUsage();
237 initPpiNotifyUsage();
238
239 //
240 // Used by Variable
241 //
242 initVariableUsage();
243
244 //
245 // Used by Boot Mode
246 //
247 initBootModeNames();
248 initBootModeUsage();
249
250 //
251 // Used by System Tables
252 //
253 initSystemTableUsage();
254
255 //
256 // Used by Data Hubs
257 //
258 initDataHubUsage();
259
260 //
261 // Used by Hii Packages
262 //
263 initHiiPackages();
264
265 //
266 // Used by Guid
267 //
268 initGuidUsage();
269
270 //
271 // Used by Externs
272 //
273 initExternTypes();
274 initPcdDriverTypes();
275
276 //
277 // Used by Pcd
278 //
279 initPcdItemTypes();
280
281 }
282
283 private void initEnabled() {
284 vEnabled.removeAllElements();
285 vEnabled.addElement("Disabled");
286 vEnabled.addElement("Enabled");
287 }
288
289 private void initBoolean() {
290 vBoolean.removeAllElements();
291 vBoolean.addElement("False");
292 vBoolean.addElement("True");
293 }
294
295 private void initModuleType() {
296 vModuleType.removeAllElements();
297 vModuleType.addElement("BASE");
298 vModuleType.addElement("SEC");
299 vModuleType.addElement("PEI_CORE");
300 vModuleType.addElement("PEIM");
301 vModuleType.addElement("DXE_CORE");
302 vModuleType.addElement("DXE_DRIVER");
303 vModuleType.addElement("DXE_RUNTIME_DRIVER");
304 vModuleType.addElement("DXE_SAL_DRIVER");
305 vModuleType.addElement("DXE_SMM_DRIVER");
306 vModuleType.addElement("TOOL");
307 vModuleType.addElement("UEFI_DRIVER");
308 vModuleType.addElement("UEFI_APPLICATION");
309 vModuleType.addElement("USER_DEFINED");
310 }
311
312 // private void initComponentType() {
313 // vCompontentType.removeAllElements();
314 // vCompontentType.addElement("APRIORI");
315 // vCompontentType.addElement("LIBRARY");
316 // vCompontentType.addElement("FV_IMAGE_FILE");
317 // vCompontentType.addElement("BS_DRIVER");
318 // vCompontentType.addElement("RT_DRIVER");
319 // vCompontentType.addElement("SAL_RT_DRIVER");
320 // vCompontentType.addElement("PE32_PEIM");
321 // vCompontentType.addElement("PIC_PEIM");
322 // vCompontentType.addElement("COMBINED_PEIM_DRIVER");
323 // vCompontentType.addElement("PEI_CORE");
324 // vCompontentType.addElement("DXE_CORE");
325 // vCompontentType.addElement("APPLICATION");
326 // vCompontentType.addElement("BS_DRIVER_EFI");
327 // vCompontentType.addElement("SHELLAPP");
328 // }
329
330 private void initSupportedArchitectures() {
331 vSupportedArchitectures.removeAllElements();
332 vSupportedArchitectures.addElement("EBC");
333 vSupportedArchitectures.addElement("IA32");
334 vSupportedArchitectures.addElement("X64");
335 vSupportedArchitectures.addElement("IPF");
336 vSupportedArchitectures.addElement("ARM");
337 vSupportedArchitectures.addElement("PPC");
338 }
339
340 private void initLibraryUsage() {
341 vLibraryUsage.removeAllElements();
342 vLibraryUsage.addElement("ALWAYS_CONSUMED");
343 vLibraryUsage.addElement("SOMETIMES_CONSUMED");
344 vLibraryUsage.addElement("ALWAYS_PRODUCED");
345 vLibraryUsage.addElement("SOMETIMES_PRODUCED");
346 vLibraryUsage.addElement("DEFAULT");
347 vLibraryUsage.addElement("PRIVATE");
348 }
349
350 private void initFrameworkModuleTypes() {
351 vFrameworkModuleTypes.removeAllElements();
352 vFrameworkModuleTypes.addElement("BASE");
353 vFrameworkModuleTypes.addElement("SEC");
354 vFrameworkModuleTypes.addElement("PEI_CORE");
355 vFrameworkModuleTypes.addElement("PEIM");
356 vFrameworkModuleTypes.addElement("DXE_CORE");
357 vFrameworkModuleTypes.addElement("DXE_DRIVER");
358 vFrameworkModuleTypes.addElement("DXE_RUNTIME_DRIVER");
359 vFrameworkModuleTypes.addElement("DXE_SAL_DRIVER");
360 vFrameworkModuleTypes.addElement("DXE_SMM_DRIVER");
361 vFrameworkModuleTypes.addElement("TOOL");
362 vFrameworkModuleTypes.addElement("UEFI_DRIVER");
363 vFrameworkModuleTypes.addElement("UEFI_APPLICATION");
364 vFrameworkModuleTypes.addElement("USER_DEFINED");
365 }
366
367 private void initLibClassDef() {
368 vLibClassDef.removeAllElements();
369 for (int index = 0; index < vLibClassDefBase.size(); index++) {
370 vLibClassDef.addElement(vLibClassDefBase.elementAt(index));
371 }
372 for (int index = 0; index < vLibClassDefPei.size(); index++) {
373 vLibClassDef.addElement(vLibClassDefPei.elementAt(index));
374 }
375 for (int index = 0; index < vLibClassDefPeim.size(); index++) {
376 vLibClassDef.addElement(vLibClassDefPeim.elementAt(index));
377 }
378 for (int index = 0; index < vLibClassDefDxeCore.size(); index++) {
379 vLibClassDef.addElement(vLibClassDefDxeCore.elementAt(index));
380 }
381 for (int index = 0; index < vLibClassDefDxeDriver.size(); index++) {
382 vLibClassDef.addElement(vLibClassDefDxeDriver.elementAt(index));
383 }
384 for (int index = 0; index < vLibClassDefDxeSmmDriver.size(); index++) {
385 vLibClassDef.addElement(vLibClassDefDxeSmmDriver.elementAt(index));
386 }
387 for (int index = 0; index < vLibClassDefUefiDriver.size(); index++) {
388 vLibClassDef.addElement(vLibClassDefUefiDriver.elementAt(index));
389 }
390 }
391
392 private void initLibClassDefBase() {
393 vLibClassDefBase.removeAllElements();
394 vLibClassDefBase.addElement("BaseLib");
395 vLibClassDefBase.addElement("BaseMemoryLib");
396 vLibClassDefBase.addElement("CacheMaintenanceLib");
397 vLibClassDefBase.addElement("DebugLib");
398 vLibClassDefBase.addElement("IoLib");
399 vLibClassDefBase.addElement("PcdLib");
400 vLibClassDefBase.addElement("PciCf8Lib");
401 vLibClassDefBase.addElement("PciExpressLib");
402 vLibClassDefBase.addElement("PciLib");
403 vLibClassDefBase.addElement("PeCoffGetEntryPointLib");
404 vLibClassDefBase.addElement("PeCoffLib");
405 vLibClassDefBase.addElement("PerformanceLib");
406 vLibClassDefBase.addElement("PrintLib");
407 vLibClassDefBase.addElement("SmbusLib");
408 vLibClassDefBase.addElement("TimerLib");
409 }
410
411 private void initLibClassDefPei() {
412 vLibClassDefPei.removeAllElements();
413 vLibClassDefPei.addElement("PeiCoreEntryPoint");
414 }
415
416 private void initLibClassDefPeim() {
417 vLibClassDefPeim.removeAllElements();
418 vLibClassDefPeim.addElement("BaseMemoryLib");
419 vLibClassDefPeim.addElement("DebugLib");
420 vLibClassDefPeim.addElement("HobLib");
421 vLibClassDefPeim.addElement("IoLib");
422 vLibClassDefPeim.addElement("MemoryAllocationLib");
423 vLibClassDefPeim.addElement("PcdLib");
424 vLibClassDefPeim.addElement("PeiCoreLib");
425 vLibClassDefPeim.addElement("PeiServicesTablePointerLib");
426 vLibClassDefPeim.addElement("PeimEntryPoint");
427 vLibClassDefPeim.addElement("ReportStatusCodeLib");
428 vLibClassDefPeim.addElement("ResourcePublicationLib");
429 vLibClassDefPeim.addElement("SmbusLib");
430 }
431
432 private void initLibClassDefDxeCore() {
433 vLibClassDefDxeCore.removeAllElements();
434 vLibClassDefDxeCore.addElement("DxeCoreEntryPoint");
435 vLibClassDefDxeCore.addElement("HobLib");
436 }
437
438 private void initLibClassDefDxeDriver() {
439 vLibClassDefDxeDriver.removeAllElements();
440 vLibClassDefDxeDriver.addElement("DxeServicesTableLib");
441 vLibClassDefDxeDriver.addElement("HiiLib");
442 vLibClassDefDxeDriver.addElement("HobLib");
443 vLibClassDefDxeDriver.addElement("IoLib");
444 vLibClassDefDxeDriver.addElement("MemoryAllocationLib");
445 vLibClassDefDxeDriver.addElement("PcdLib");
446 vLibClassDefDxeDriver.addElement("ReportStatusCodeLib");
447 vLibClassDefDxeDriver.addElement("SmbusLib");
448 vLibClassDefDxeDriver.addElement("UefiBootServicesTableLib");
449 vLibClassDefDxeDriver.addElement("UefiDecompressLib");
450 vLibClassDefDxeDriver.addElement("UefiRuntimeServicesTableLib");
451 }
452
453 private void initLibClassDefDxeSmmDriver() {
454 vLibClassDefDxeSmmDriver.removeAllElements();
455 vLibClassDefDxeSmmDriver.addElement("DxeSmmDriverEntryPoint");
456 }
457
458 private void initLibClassDefUefiDriver() {
459 vLibClassDefUefiDriver.removeAllElements();
460 vLibClassDefUefiDriver.addElement("BaseMemoryLib");
461 vLibClassDefUefiDriver.addElement("DebugLib");
462 vLibClassDefUefiDriver.addElement("DevicePathLib");
463 vLibClassDefUefiDriver.addElement("UefiDriverEntryPoint");
464 vLibClassDefUefiDriver.addElement("UefiDriverModelLib");
465 vLibClassDefUefiDriver.addElement("UefiLib");
466 }
467
468 private void initSourceFilesToolChainFamily() {
469 vSourceFilesToolChainFamily.removeAllElements();
470 vSourceFilesToolChainFamily.addElement("MSFT");
471 vSourceFilesToolChainFamily.addElement("INTC");
472 vSourceFilesToolChainFamily.addElement("GCC");
473 }
474
475 private void initSourceFilesFileType() {
476 vSourceFilesFileType.removeAllElements();
477 vSourceFilesFileType.addElement("CCODE");
478 vSourceFilesFileType.addElement("CHEADER");
479 vSourceFilesFileType.addElement("ASMHEADER");
480 vSourceFilesFileType.addElement("ASM");
481 vSourceFilesFileType.addElement("UNI");
482 vSourceFilesFileType.addElement("TXT");
483 vSourceFilesFileType.addElement("DXS");
484 vSourceFilesFileType.addElement("BMP");
485 vSourceFilesFileType.addElement("VFR");
486 vSourceFilesFileType.addElement("BINARY");
487 vSourceFilesFileType.addElement("FV");
488 vSourceFilesFileType.addElement("FFS");
489 vSourceFilesFileType.addElement("EFI");
490 }
491
492 private void initPackageUsage() {
493 vPackageUsage.removeAllElements();
494 vPackageUsage.addElement("ALWAYS_CONSUMED");
495 vPackageUsage.addElement("ALWAYS_PRODUCED");
496 vPackageUsage.addElement("DEFAULT");
497 }
498
499 private void initProtocolUsage() {
500 vProtocolUsage.removeAllElements();
501 vProtocolUsage.addElement("ALWAYS_CONSUMED");
502 vProtocolUsage.addElement("SOMETIMES_CONSUMED");
503 vProtocolUsage.addElement("ALWAYS_PRODUCED");
504 vProtocolUsage.addElement("SOMETIMES_PRODUCED");
505 vProtocolUsage.addElement("TO_START");
506 vProtocolUsage.addElement("BY_START");
507 vProtocolUsage.addElement("PRIVATE");
508 }
509
510 private void initProtocolType() {
511 vProtocolType.removeAllElements();
512 vProtocolType.addElement("Protocol");
513 vProtocolType.addElement("Protocol Notify");
514 }
515
516 private void initEventType() {
517 vEventType.removeAllElements();
518 vEventType.addElement("CreateEvents");
519 vEventType.addElement("SignalEvents");
520 }
521
522 private void initEventUsage() {
523 vEventUsage.removeAllElements();
524 vEventUsage.addElement("ALWAYS_CONSUMED");
525 vEventUsage.addElement("SOMETIMES_CONSUMED");
526 vEventUsage.addElement("ALWAYS_PRODUCED");
527 vEventUsage.addElement("SOMETIMES_PRODUCED");
528 vEventUsage.addElement("PRIVATE");
529 }
530
531 private void initEventGroup() {
532 vEventGroup.removeAllElements();
533 vEventGroup.addElement("EVENT_GROUP_GUID");
534 vEventGroup.addElement("EVENT_TYPE_PERIODIC_TIMER");
535 vEventGroup.addElement("EVENT_TYPE_RELATIVE_TIMER");
536 }
537
538 private void initHobType() {
539 vHobType.removeAllElements();
540 vHobType.addElement("PHIT");
541 vHobType.addElement("MEMORY_ALLOCATION");
542 vHobType.addElement("RESOURCE_DESCRIPTOR");
543 vHobType.addElement("GUID_EXTENSION");
544 vHobType.addElement("FIRMWARE_VOLUME");
545 vHobType.addElement("CPU");
546 vHobType.addElement("POOL");
547 vHobType.addElement("CAPSULE_VOLUME");
548 }
549
550 private void initHobUsage() {
551 vHobUsage.removeAllElements();
552 vHobUsage.addElement("ALWAYS_CONSUMED");
553 vHobUsage.addElement("SOMETIMES_CONSUMED");
554 vHobUsage.addElement("ALWAYS_PRODUCED");
555 vHobUsage.addElement("SOMETIMES_PRODUCED");
556 vHobUsage.addElement("PRIVATE");
557 }
558
559 private void initPpiType() {
560 vPpiType.removeAllElements();
561 vPpiType.addElement("Ppi");
562 vPpiType.addElement("Ppi Notify");
563 }
564
565 private void initPpiUsage() {
566 vPpiUsage.removeAllElements();
567 vPpiUsage.addElement("ALWAYS_CONSUMED");
568 vPpiUsage.addElement("SOMETIMES_CONSUMED");
569 vPpiUsage.addElement("ALWAYS_PRODUCED");
570 vPpiUsage.addElement("SOMETIMES_PRODUCED");
571 vPpiUsage.addElement("PRIVATE");
572 }
573
574 private void initPpiNotifyUsage() {
575 vPpiNotifyUsage.removeAllElements();
576 vPpiNotifyUsage.addElement("SOMETIMES_CONSUMED");
577 }
578
579 private void initProtocolNotifyUsage() {
580 vProtocolNotifyUsage.addElement("SOMETIMES_CONSUMED");
581 }
582
583 private void initVariableUsage() {
584 vVariableUsage.removeAllElements();
585 vVariableUsage.addElement("ALWAYS_CONSUMED");
586 vVariableUsage.addElement("SOMETIMES_CONSUMED");
587 vVariableUsage.addElement("ALWAYS_PRODUCED");
588 vVariableUsage.addElement("SOMETIMES_PRODUCED");
589 vVariableUsage.addElement("PRIVATE");
590 }
591
592 private void initBootModeNames() {
593 vBootModeNames.removeAllElements();
594 vBootModeNames.addElement("FULL");
595 vBootModeNames.addElement("MINIMAL");
596 vBootModeNames.addElement("NO_CHANGE");
597 vBootModeNames.addElement("DIAGNOSTICS");
598 vBootModeNames.addElement("DEFAULT");
599 vBootModeNames.addElement("S2_RESUME");
600 vBootModeNames.addElement("S3_RESUME");
601 vBootModeNames.addElement("S4_RESUME");
602 vBootModeNames.addElement("S5_RESUME");
603 vBootModeNames.addElement("FLASH_UPDATE");
604 vBootModeNames.addElement("RECOVERY");
605 }
606
607 private void initBootModeUsage() {
608 vBootModeUsage.removeAllElements();
609 vBootModeUsage.addElement("ALWAYS_CONSUMED");
610 vBootModeUsage.addElement("SOMETIMES_CONSUMED");
611 vBootModeUsage.addElement("ALWAYS_PRODUCED");
612 vBootModeUsage.addElement("SOMETIMES_PRODUCED");
613 }
614
615 private void initSystemTableUsage() {
616 vSystemTableUsage.removeAllElements();
617 vSystemTableUsage.addElement("ALWAYS_CONSUMED");
618 vSystemTableUsage.addElement("SOMETIMES_CONSUMED");
619 vSystemTableUsage.addElement("ALWAYS_PRODUCED");
620 vSystemTableUsage.addElement("SOMETIMES_PRODUCED");
621 vSystemTableUsage.addElement("PRIVATE");
622 }
623
624 private void initDataHubUsage() {
625 vDataHubUsage.removeAllElements();
626 vDataHubUsage.addElement("ALWAYS_CONSUMED");
627 vDataHubUsage.addElement("SOMETIMES_CONSUMED");
628 vDataHubUsage.addElement("ALWAYS_PRODUCED");
629 vDataHubUsage.addElement("SOMETIMES_PRODUCED");
630 vDataHubUsage.addElement("PRIVATE");
631 }
632
633 private void initHiiPackages() {
634 vHiiPackageUsage.removeAllElements();
635 vHiiPackageUsage.addElement("ALWAYS_PRODUCED");
636 vHiiPackageUsage.addElement("SOMETIMES_PRODUCED");
637 vHiiPackageUsage.addElement("PRIVATE");
638 }
639
640 private void initGuidUsage() {
641 vGuidUsage.removeAllElements();
642 vGuidUsage.addElement("ALWAYS_CONSUMED");
643 vGuidUsage.addElement("SOMETIMES_CONSUMED");
644 vGuidUsage.addElement("ALWAYS_PRODUCED");
645 vGuidUsage.addElement("SOMETIMES_PRODUCED");
646 vGuidUsage.addElement("DEFAULT");
647 vGuidUsage.addElement("PRIVATE");
648 }
649
650 private void initExternTypes() {
651 vExternTypes.removeAllElements();
652
653 vExternTypes.addElement(EnumerationData.EXTERNS_PCD_IS_DRIVER);
654
655 vExternTypes.addElement(EnumerationData.EXTERNS_SPECIFICATION);
656
657 vExternTypes.addElement(EnumerationData.EXTERNS_MODULE_ENTRY_POINT);
658 vExternTypes.addElement(EnumerationData.EXTERNS_MODULE_UNLOAD_IMAGE);
659
660 vExternTypes.addElement(EnumerationData.EXTERNS_CONSTRUCTOR);
661 vExternTypes.addElement(EnumerationData.EXTERNS_DESTRUCTOR);
662
663 vExternTypes.addElement(EnumerationData.EXTERNS_DRIVER_BINDING);
664 vExternTypes.addElement(EnumerationData.EXTERNS_COMPONENT_NAME);
665 vExternTypes.addElement(EnumerationData.EXTERNS_DRIVER_CONFIG);
666 vExternTypes.addElement(EnumerationData.EXTERNS_DRIVER_DIAG);
667
668 vExternTypes.addElement(EnumerationData.EXTERNS_SET_VIRTUAL_ADDRESS_MAP_CALL_BACK);
669 vExternTypes.addElement(EnumerationData.EXTERNS_EXIT_BOOT_SERVICES_CALL_BACK);
670 }
671
672 private void initPcdDriverTypes() {
673 vPcdDriverTypes.removeAllElements();
674 vPcdDriverTypes.addElement(DataType.EMPTY_SELECT_ITEM);
675 vPcdDriverTypes.addElement("PEI_PCD_DRIVER");
676 vPcdDriverTypes.addElement("DXE_PCD_DRIVER");
677 }
678
679 private void initPcdItemTypes() {
680 vPcdItemTypes.removeAllElements();
681 vPcdItemTypes.addElement("FEATURE_FLAG");
682 vPcdItemTypes.addElement("FIXED_AT_BUILD");
683 vPcdItemTypes.addElement("PATCHABLE_IN_MODULE");
684 vPcdItemTypes.addElement("DYNAMIC");
685 vPcdItemTypes.addElement("DYNAMIC_EX");
686 }
687
688 public Vector<String> getvCompontentType() {
689 return vCompontentType;
690 }
691
692 public void setvCompontentType(Vector<String> componentType) {
693 vCompontentType = componentType;
694 }
695
696 public Vector<String> getVModuleType() {
697 return vModuleType;
698 }
699
700 public void setVModuleType(Vector<String> moduleType) {
701 vModuleType = moduleType;
702 }
703
704 public Vector<String> getVLibraryUsage() {
705 return vLibraryUsage;
706 }
707
708 public void setVLibClassDefUsage(Vector<String> libClassDefUsage) {
709 vLibraryUsage = libClassDefUsage;
710 }
711
712 public Vector<String> getVLibClassDef() {
713 return vLibClassDef;
714 }
715
716 public void setVLibClassDef(Vector<String> libClassDef) {
717 vLibClassDef = libClassDef;
718 }
719
720 public Vector<String> getVCompontentType() {
721 return vCompontentType;
722 }
723
724 public void setVCompontentType(Vector<String> compontentType) {
725 vCompontentType = compontentType;
726 }
727
728 public Vector<String> getVLibClassDefBase() {
729 return vLibClassDefBase;
730 }
731
732 public void setVLibClassDefBase(Vector<String> libClassDefBase) {
733 vLibClassDefBase = libClassDefBase;
734 }
735
736 public Vector<String> getVLibClassDefDxeCore() {
737 return vLibClassDefDxeCore;
738 }
739
740 public void setVLibClassDefDxeCore(Vector<String> libClassDefDxeCore) {
741 vLibClassDefDxeCore = libClassDefDxeCore;
742 }
743
744 public Vector<String> getVLibClassDefDxeDriver() {
745 return vLibClassDefDxeDriver;
746 }
747
748 public void setVLibClassDefDxeDriver(Vector<String> libClassDefDxeDriver) {
749 vLibClassDefDxeDriver = libClassDefDxeDriver;
750 }
751
752 public Vector<String> getVLibClassDefDxeSmmDriver() {
753 return vLibClassDefDxeSmmDriver;
754 }
755
756 public void setVLibClassDefDxeSmmDriver(Vector<String> libClassDefDxeSmmDriver) {
757 vLibClassDefDxeSmmDriver = libClassDefDxeSmmDriver;
758 }
759
760 public Vector<String> getVLibClassDefPei() {
761 return vLibClassDefPei;
762 }
763
764 public void setVLibClassDefPei(Vector<String> libClassDefPei) {
765 vLibClassDefPei = libClassDefPei;
766 }
767
768 public Vector<String> getVLibClassDefPeim() {
769 return vLibClassDefPeim;
770 }
771
772 public void setVLibClassDefPeim(Vector<String> libClassDefPeim) {
773 vLibClassDefPeim = libClassDefPeim;
774 }
775
776 public Vector<String> getVLibClassDefUefiDriver() {
777 return vLibClassDefUefiDriver;
778 }
779
780 public void setVLibClassDefUefiDriver(Vector<String> libClassDefUefiDriver) {
781 vLibClassDefUefiDriver = libClassDefUefiDriver;
782 }
783
784 public Vector<String> getVSourceFilesFileType() {
785 return vSourceFilesFileType;
786 }
787
788 public void setVSourceFilesFileType(Vector<String> sourceFilesFileType) {
789 vSourceFilesFileType = sourceFilesFileType;
790 }
791
792 public Vector<String> getVSourceFilesToolChainFamily() {
793 return vSourceFilesToolChainFamily;
794 }
795
796 public void setVSourceFilesToolChainFamily(Vector<String> sourceFilesToolChainFamily) {
797 vSourceFilesToolChainFamily = sourceFilesToolChainFamily;
798 }
799
800 public void setVLibraryUsage(Vector<String> libraryUsage) {
801 vLibraryUsage = libraryUsage;
802 }
803
804 public Vector<String> getVProtocolNotifyUsage() {
805 return vProtocolNotifyUsage;
806 }
807
808 public void setVProtocolNotifyUsage(Vector<String> protocolNotifyUsage) {
809 vProtocolNotifyUsage = protocolNotifyUsage;
810 }
811
812 public Vector<String> getVProtocolUsage() {
813 return vProtocolUsage;
814 }
815
816 public void setVProtocolUsage(Vector<String> protocolUsage) {
817 vProtocolUsage = protocolUsage;
818 }
819
820 public Vector<String> getVSupportedArchitectures() {
821 return vSupportedArchitectures;
822 }
823
824 public void setVSupportedArchitectures(Vector<String> supportedArchitectures) {
825 vSupportedArchitectures = supportedArchitectures;
826 }
827
828 public Vector<String> getVProtocolType() {
829 return vProtocolType;
830 }
831
832 public void setVProtocolType(Vector<String> protocolType) {
833 vProtocolType = protocolType;
834 }
835
836 public Vector<String> getVEventGroup() {
837 return vEventGroup;
838 }
839
840 public void setVEventGroup(Vector<String> eventGroup) {
841 vEventGroup = eventGroup;
842 }
843
844 public Vector<String> getVEventType() {
845 return vEventType;
846 }
847
848 public void setVEventType(Vector<String> eventType) {
849 vEventType = eventType;
850 }
851
852 public Vector<String> getVEventUsage() {
853 return vEventUsage;
854 }
855
856 public void setVEventUsage(Vector<String> eventUsage) {
857 vEventUsage = eventUsage;
858 }
859
860 public Vector<String> getVEnabled() {
861 return vEnabled;
862 }
863
864 public void setVEnabled(Vector<String> enabled) {
865 vEnabled = enabled;
866 }
867
868 public Vector<String> getVHobType() {
869 return vHobType;
870 }
871
872 public void setVHobType(Vector<String> hobType) {
873 vHobType = hobType;
874 }
875
876 public Vector<String> getVHobUsage() {
877 return vHobUsage;
878 }
879
880 public void setVHobUsage(Vector<String> hobUsage) {
881 vHobUsage = hobUsage;
882 }
883
884 public Vector<String> getVPpiNotifyUsage() {
885 return vPpiNotifyUsage;
886 }
887
888 public void setVPpiNotifyUsage(Vector<String> ppiNotifyUsage) {
889 vPpiNotifyUsage = ppiNotifyUsage;
890 }
891
892 public Vector<String> getVPpiType() {
893 return vPpiType;
894 }
895
896 public void setVPpiType(Vector<String> ppiType) {
897 vPpiType = ppiType;
898 }
899
900 public Vector<String> getVPpiUsage() {
901 return vPpiUsage;
902 }
903
904 public void setVPpiUsage(Vector<String> ppiUsage) {
905 vPpiUsage = ppiUsage;
906 }
907
908 public Vector<String> getVVariableUsage() {
909 return vVariableUsage;
910 }
911
912 public void setVVariableUsage(Vector<String> variableUsage) {
913 vVariableUsage = variableUsage;
914 }
915
916 public Vector<String> getVBootModeNames() {
917 return vBootModeNames;
918 }
919
920 public void setVBootModeNames(Vector<String> bootModeNames) {
921 vBootModeNames = bootModeNames;
922 }
923
924 public Vector<String> getVBootModeUsage() {
925 return vBootModeUsage;
926 }
927
928 public void setVBootModeUsage(Vector<String> bootModeUsage) {
929 vBootModeUsage = bootModeUsage;
930 }
931
932 public Vector<String> getVSystemTableUsage() {
933 return vSystemTableUsage;
934 }
935
936 public void setVSystemTableUsage(Vector<String> systemTableUsage) {
937 vSystemTableUsage = systemTableUsage;
938 }
939
940 public Vector<String> getVDataHubUsage() {
941 return vDataHubUsage;
942 }
943
944 public void setVDataHubUsage(Vector<String> dataHubUsage) {
945 vDataHubUsage = dataHubUsage;
946 }
947
948 public Vector<String> getVGuidUsage() {
949 return vGuidUsage;
950 }
951
952 public void setVGuidUsage(Vector<String> guidUsage) {
953 vGuidUsage = guidUsage;
954 }
955
956 public Vector<String> getVHiiPackageUsage() {
957 return vHiiPackageUsage;
958 }
959
960 public void setVHiiPackageUsage(Vector<String> hiiPackageUsage) {
961 vHiiPackageUsage = hiiPackageUsage;
962 }
963
964 public Vector<String> getVPcdItemTypes() {
965 return vPcdItemTypes;
966 }
967
968 public void setVPcdItemTypes(Vector<String> pcdItemTypes) {
969 vPcdItemTypes = pcdItemTypes;
970 }
971
972 public Vector<String> getVExternTypes() {
973 return vExternTypes;
974 }
975
976 public void setVExternTypes(Vector<String> externTypes) {
977 vExternTypes = externTypes;
978 }
979
980 public Vector<String> getVPcdDriverTypes() {
981 return vPcdDriverTypes;
982 }
983
984 public void setVPcdDriverTypes(Vector<String> pcdDriverTypes) {
985 vPcdDriverTypes = pcdDriverTypes;
986 }
987
988 public Vector<String> getVBoolean() {
989 return vBoolean;
990 }
991
992 public void setVBoolean(Vector<String> boolean1) {
993 vBoolean = boolean1;
994 }
995
996 public Vector<String> getVFrameworkModuleTypes() {
997 return vFrameworkModuleTypes;
998 }
999
1000 public void setVFrameworkModuleTypes(Vector<String> frameworkModuleTypes) {
1001 vFrameworkModuleTypes = frameworkModuleTypes;
1002 }
1003
1004 public Vector<String> getVPackageUsage() {
1005 return vPackageUsage;
1006 }
1007
1008 public void setVPackageUsage(Vector<String> packageUsage) {
1009 vPackageUsage = packageUsage;
1010 }
1011 }