]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/EnumerationData.java
1. Enhance Source Files selection in msa:
[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 Sort.sortVectorString(vModuleType, DataType.SORT_TYPE_ASCENDING);
311 }
312
313 // private void initComponentType() {
314 // vCompontentType.removeAllElements();
315 // vCompontentType.addElement("APRIORI");
316 // vCompontentType.addElement("LIBRARY");
317 // vCompontentType.addElement("FV_IMAGE_FILE");
318 // vCompontentType.addElement("BS_DRIVER");
319 // vCompontentType.addElement("RT_DRIVER");
320 // vCompontentType.addElement("SAL_RT_DRIVER");
321 // vCompontentType.addElement("PE32_PEIM");
322 // vCompontentType.addElement("PIC_PEIM");
323 // vCompontentType.addElement("COMBINED_PEIM_DRIVER");
324 // vCompontentType.addElement("PEI_CORE");
325 // vCompontentType.addElement("DXE_CORE");
326 // vCompontentType.addElement("APPLICATION");
327 // vCompontentType.addElement("BS_DRIVER_EFI");
328 // vCompontentType.addElement("SHELLAPP");
329 // }
330
331 private void initSupportedArchitectures() {
332 vSupportedArchitectures.removeAllElements();
333 vSupportedArchitectures.addElement("EBC");
334 vSupportedArchitectures.addElement("IA32");
335 vSupportedArchitectures.addElement("X64");
336 vSupportedArchitectures.addElement("IPF");
337 vSupportedArchitectures.addElement("ARM");
338 vSupportedArchitectures.addElement("PPC");
339 }
340
341 private void initLibraryUsage() {
342 vLibraryUsage.removeAllElements();
343 vLibraryUsage.addElement("ALWAYS_CONSUMED");
344 vLibraryUsage.addElement("SOMETIMES_CONSUMED");
345 vLibraryUsage.addElement("ALWAYS_PRODUCED");
346 vLibraryUsage.addElement("SOMETIMES_PRODUCED");
347 vLibraryUsage.addElement("DEFAULT");
348 vLibraryUsage.addElement("PRIVATE");
349 }
350
351 private void initFrameworkModuleTypes() {
352 vFrameworkModuleTypes.removeAllElements();
353 vFrameworkModuleTypes.addElement("BASE");
354 vFrameworkModuleTypes.addElement("SEC");
355 vFrameworkModuleTypes.addElement("PEI_CORE");
356 vFrameworkModuleTypes.addElement("PEIM");
357 vFrameworkModuleTypes.addElement("DXE_CORE");
358 vFrameworkModuleTypes.addElement("DXE_DRIVER");
359 vFrameworkModuleTypes.addElement("DXE_RUNTIME_DRIVER");
360 vFrameworkModuleTypes.addElement("DXE_SAL_DRIVER");
361 vFrameworkModuleTypes.addElement("DXE_SMM_DRIVER");
362 vFrameworkModuleTypes.addElement("TOOL");
363 vFrameworkModuleTypes.addElement("UEFI_DRIVER");
364 vFrameworkModuleTypes.addElement("UEFI_APPLICATION");
365 vFrameworkModuleTypes.addElement("USER_DEFINED");
366 Sort.sortVectorString(vFrameworkModuleTypes, DataType.SORT_TYPE_ASCENDING);
367 }
368
369 private void initLibClassDef() {
370 vLibClassDef.removeAllElements();
371 for (int index = 0; index < vLibClassDefBase.size(); index++) {
372 vLibClassDef.addElement(vLibClassDefBase.elementAt(index));
373 }
374 for (int index = 0; index < vLibClassDefPei.size(); index++) {
375 vLibClassDef.addElement(vLibClassDefPei.elementAt(index));
376 }
377 for (int index = 0; index < vLibClassDefPeim.size(); index++) {
378 vLibClassDef.addElement(vLibClassDefPeim.elementAt(index));
379 }
380 for (int index = 0; index < vLibClassDefDxeCore.size(); index++) {
381 vLibClassDef.addElement(vLibClassDefDxeCore.elementAt(index));
382 }
383 for (int index = 0; index < vLibClassDefDxeDriver.size(); index++) {
384 vLibClassDef.addElement(vLibClassDefDxeDriver.elementAt(index));
385 }
386 for (int index = 0; index < vLibClassDefDxeSmmDriver.size(); index++) {
387 vLibClassDef.addElement(vLibClassDefDxeSmmDriver.elementAt(index));
388 }
389 for (int index = 0; index < vLibClassDefUefiDriver.size(); index++) {
390 vLibClassDef.addElement(vLibClassDefUefiDriver.elementAt(index));
391 }
392 }
393
394 private void initLibClassDefBase() {
395 vLibClassDefBase.removeAllElements();
396 vLibClassDefBase.addElement("BaseLib");
397 vLibClassDefBase.addElement("BaseMemoryLib");
398 vLibClassDefBase.addElement("CacheMaintenanceLib");
399 vLibClassDefBase.addElement("DebugLib");
400 vLibClassDefBase.addElement("IoLib");
401 vLibClassDefBase.addElement("PcdLib");
402 vLibClassDefBase.addElement("PciCf8Lib");
403 vLibClassDefBase.addElement("PciExpressLib");
404 vLibClassDefBase.addElement("PciLib");
405 vLibClassDefBase.addElement("PeCoffGetEntryPointLib");
406 vLibClassDefBase.addElement("PeCoffLib");
407 vLibClassDefBase.addElement("PerformanceLib");
408 vLibClassDefBase.addElement("PrintLib");
409 vLibClassDefBase.addElement("SmbusLib");
410 vLibClassDefBase.addElement("TimerLib");
411 }
412
413 private void initLibClassDefPei() {
414 vLibClassDefPei.removeAllElements();
415 vLibClassDefPei.addElement("PeiCoreEntryPoint");
416 }
417
418 private void initLibClassDefPeim() {
419 vLibClassDefPeim.removeAllElements();
420 vLibClassDefPeim.addElement("BaseMemoryLib");
421 vLibClassDefPeim.addElement("DebugLib");
422 vLibClassDefPeim.addElement("HobLib");
423 vLibClassDefPeim.addElement("IoLib");
424 vLibClassDefPeim.addElement("MemoryAllocationLib");
425 vLibClassDefPeim.addElement("PcdLib");
426 vLibClassDefPeim.addElement("PeiCoreLib");
427 vLibClassDefPeim.addElement("PeiServicesTablePointerLib");
428 vLibClassDefPeim.addElement("PeimEntryPoint");
429 vLibClassDefPeim.addElement("ReportStatusCodeLib");
430 vLibClassDefPeim.addElement("ResourcePublicationLib");
431 vLibClassDefPeim.addElement("SmbusLib");
432 }
433
434 private void initLibClassDefDxeCore() {
435 vLibClassDefDxeCore.removeAllElements();
436 vLibClassDefDxeCore.addElement("DxeCoreEntryPoint");
437 vLibClassDefDxeCore.addElement("HobLib");
438 }
439
440 private void initLibClassDefDxeDriver() {
441 vLibClassDefDxeDriver.removeAllElements();
442 vLibClassDefDxeDriver.addElement("DxeServicesTableLib");
443 vLibClassDefDxeDriver.addElement("HiiLib");
444 vLibClassDefDxeDriver.addElement("HobLib");
445 vLibClassDefDxeDriver.addElement("IoLib");
446 vLibClassDefDxeDriver.addElement("MemoryAllocationLib");
447 vLibClassDefDxeDriver.addElement("PcdLib");
448 vLibClassDefDxeDriver.addElement("ReportStatusCodeLib");
449 vLibClassDefDxeDriver.addElement("SmbusLib");
450 vLibClassDefDxeDriver.addElement("UefiBootServicesTableLib");
451 vLibClassDefDxeDriver.addElement("UefiDecompressLib");
452 vLibClassDefDxeDriver.addElement("UefiRuntimeServicesTableLib");
453 }
454
455 private void initLibClassDefDxeSmmDriver() {
456 vLibClassDefDxeSmmDriver.removeAllElements();
457 vLibClassDefDxeSmmDriver.addElement("DxeSmmDriverEntryPoint");
458 }
459
460 private void initLibClassDefUefiDriver() {
461 vLibClassDefUefiDriver.removeAllElements();
462 vLibClassDefUefiDriver.addElement("BaseMemoryLib");
463 vLibClassDefUefiDriver.addElement("DebugLib");
464 vLibClassDefUefiDriver.addElement("DevicePathLib");
465 vLibClassDefUefiDriver.addElement("UefiDriverEntryPoint");
466 vLibClassDefUefiDriver.addElement("UefiDriverModelLib");
467 vLibClassDefUefiDriver.addElement("UefiLib");
468 }
469
470 private void initSourceFilesToolChainFamily() {
471 vSourceFilesToolChainFamily.removeAllElements();
472 vSourceFilesToolChainFamily.addElement("MSFT");
473 vSourceFilesToolChainFamily.addElement("INTC");
474 vSourceFilesToolChainFamily.addElement("GCC");
475 }
476
477 private void initSourceFilesFileType() {
478 vSourceFilesFileType.removeAllElements();
479 vSourceFilesFileType.addElement("CCODE");
480 vSourceFilesFileType.addElement("CHEADER");
481 vSourceFilesFileType.addElement("ASMHEADER");
482 vSourceFilesFileType.addElement("ASM");
483 vSourceFilesFileType.addElement("UNI");
484 vSourceFilesFileType.addElement("TXT");
485 vSourceFilesFileType.addElement("DXS");
486 vSourceFilesFileType.addElement("BMP");
487 vSourceFilesFileType.addElement("VFR");
488 vSourceFilesFileType.addElement("BINARY");
489 vSourceFilesFileType.addElement("FV");
490 vSourceFilesFileType.addElement("FFS");
491 vSourceFilesFileType.addElement("EFI");
492 }
493
494 private void initPackageUsage() {
495 vPackageUsage.removeAllElements();
496 vPackageUsage.addElement("ALWAYS_CONSUMED");
497 vPackageUsage.addElement("ALWAYS_PRODUCED");
498 vPackageUsage.addElement("DEFAULT");
499 }
500
501 private void initProtocolUsage() {
502 vProtocolUsage.removeAllElements();
503 vProtocolUsage.addElement("ALWAYS_CONSUMED");
504 vProtocolUsage.addElement("SOMETIMES_CONSUMED");
505 vProtocolUsage.addElement("ALWAYS_PRODUCED");
506 vProtocolUsage.addElement("SOMETIMES_PRODUCED");
507 vProtocolUsage.addElement("TO_START");
508 vProtocolUsage.addElement("BY_START");
509 vProtocolUsage.addElement("PRIVATE");
510 }
511
512 private void initProtocolType() {
513 vProtocolType.removeAllElements();
514 vProtocolType.addElement("Protocol");
515 vProtocolType.addElement("Protocol Notify");
516 }
517
518 private void initEventType() {
519 vEventType.removeAllElements();
520 vEventType.addElement("CreateEvents");
521 vEventType.addElement("SignalEvents");
522 }
523
524 private void initEventUsage() {
525 vEventUsage.removeAllElements();
526 vEventUsage.addElement("ALWAYS_CONSUMED");
527 vEventUsage.addElement("SOMETIMES_CONSUMED");
528 vEventUsage.addElement("ALWAYS_PRODUCED");
529 vEventUsage.addElement("SOMETIMES_PRODUCED");
530 vEventUsage.addElement("PRIVATE");
531 }
532
533 private void initEventGroup() {
534 vEventGroup.removeAllElements();
535 vEventGroup.addElement("EVENT_GROUP_GUID");
536 vEventGroup.addElement("EVENT_TYPE_PERIODIC_TIMER");
537 vEventGroup.addElement("EVENT_TYPE_RELATIVE_TIMER");
538 }
539
540 private void initHobType() {
541 vHobType.removeAllElements();
542 vHobType.addElement("PHIT");
543 vHobType.addElement("MEMORY_ALLOCATION");
544 vHobType.addElement("RESOURCE_DESCRIPTOR");
545 vHobType.addElement("GUID_EXTENSION");
546 vHobType.addElement("FIRMWARE_VOLUME");
547 vHobType.addElement("CPU");
548 vHobType.addElement("POOL");
549 vHobType.addElement("CAPSULE_VOLUME");
550 }
551
552 private void initHobUsage() {
553 vHobUsage.removeAllElements();
554 vHobUsage.addElement("ALWAYS_CONSUMED");
555 vHobUsage.addElement("SOMETIMES_CONSUMED");
556 vHobUsage.addElement("ALWAYS_PRODUCED");
557 vHobUsage.addElement("SOMETIMES_PRODUCED");
558 vHobUsage.addElement("PRIVATE");
559 }
560
561 private void initPpiType() {
562 vPpiType.removeAllElements();
563 vPpiType.addElement("Ppi");
564 vPpiType.addElement("Ppi Notify");
565 }
566
567 private void initPpiUsage() {
568 vPpiUsage.removeAllElements();
569 vPpiUsage.addElement("ALWAYS_CONSUMED");
570 vPpiUsage.addElement("SOMETIMES_CONSUMED");
571 vPpiUsage.addElement("ALWAYS_PRODUCED");
572 vPpiUsage.addElement("SOMETIMES_PRODUCED");
573 vPpiUsage.addElement("PRIVATE");
574 }
575
576 private void initPpiNotifyUsage() {
577 vPpiNotifyUsage.removeAllElements();
578 vPpiNotifyUsage.addElement("SOMETIMES_CONSUMED");
579 }
580
581 private void initProtocolNotifyUsage() {
582 vProtocolNotifyUsage.addElement("SOMETIMES_CONSUMED");
583 }
584
585 private void initVariableUsage() {
586 vVariableUsage.removeAllElements();
587 vVariableUsage.addElement("ALWAYS_CONSUMED");
588 vVariableUsage.addElement("SOMETIMES_CONSUMED");
589 vVariableUsage.addElement("ALWAYS_PRODUCED");
590 vVariableUsage.addElement("SOMETIMES_PRODUCED");
591 vVariableUsage.addElement("PRIVATE");
592 }
593
594 private void initBootModeNames() {
595 vBootModeNames.removeAllElements();
596 vBootModeNames.addElement("FULL");
597 vBootModeNames.addElement("MINIMAL");
598 vBootModeNames.addElement("NO_CHANGE");
599 vBootModeNames.addElement("DIAGNOSTICS");
600 vBootModeNames.addElement("DEFAULT");
601 vBootModeNames.addElement("S2_RESUME");
602 vBootModeNames.addElement("S3_RESUME");
603 vBootModeNames.addElement("S4_RESUME");
604 vBootModeNames.addElement("S5_RESUME");
605 vBootModeNames.addElement("FLASH_UPDATE");
606 vBootModeNames.addElement("RECOVERY");
607 }
608
609 private void initBootModeUsage() {
610 vBootModeUsage.removeAllElements();
611 vBootModeUsage.addElement("ALWAYS_CONSUMED");
612 vBootModeUsage.addElement("SOMETIMES_CONSUMED");
613 vBootModeUsage.addElement("ALWAYS_PRODUCED");
614 vBootModeUsage.addElement("SOMETIMES_PRODUCED");
615 }
616
617 private void initSystemTableUsage() {
618 vSystemTableUsage.removeAllElements();
619 vSystemTableUsage.addElement("ALWAYS_CONSUMED");
620 vSystemTableUsage.addElement("SOMETIMES_CONSUMED");
621 vSystemTableUsage.addElement("ALWAYS_PRODUCED");
622 vSystemTableUsage.addElement("SOMETIMES_PRODUCED");
623 vSystemTableUsage.addElement("PRIVATE");
624 }
625
626 private void initDataHubUsage() {
627 vDataHubUsage.removeAllElements();
628 vDataHubUsage.addElement("ALWAYS_CONSUMED");
629 vDataHubUsage.addElement("SOMETIMES_CONSUMED");
630 vDataHubUsage.addElement("ALWAYS_PRODUCED");
631 vDataHubUsage.addElement("SOMETIMES_PRODUCED");
632 vDataHubUsage.addElement("PRIVATE");
633 }
634
635 private void initHiiPackages() {
636 vHiiPackageUsage.removeAllElements();
637 vHiiPackageUsage.addElement("ALWAYS_PRODUCED");
638 vHiiPackageUsage.addElement("SOMETIMES_PRODUCED");
639 vHiiPackageUsage.addElement("PRIVATE");
640 }
641
642 private void initGuidUsage() {
643 vGuidUsage.removeAllElements();
644 vGuidUsage.addElement("ALWAYS_CONSUMED");
645 vGuidUsage.addElement("SOMETIMES_CONSUMED");
646 vGuidUsage.addElement("ALWAYS_PRODUCED");
647 vGuidUsage.addElement("SOMETIMES_PRODUCED");
648 vGuidUsage.addElement("DEFAULT");
649 vGuidUsage.addElement("PRIVATE");
650 }
651
652 private void initExternTypes() {
653 vExternTypes.removeAllElements();
654
655 vExternTypes.addElement(EnumerationData.EXTERNS_PCD_IS_DRIVER);
656
657 vExternTypes.addElement(EnumerationData.EXTERNS_SPECIFICATION);
658
659 vExternTypes.addElement(EnumerationData.EXTERNS_MODULE_ENTRY_POINT);
660 vExternTypes.addElement(EnumerationData.EXTERNS_MODULE_UNLOAD_IMAGE);
661
662 vExternTypes.addElement(EnumerationData.EXTERNS_CONSTRUCTOR);
663 vExternTypes.addElement(EnumerationData.EXTERNS_DESTRUCTOR);
664
665 vExternTypes.addElement(EnumerationData.EXTERNS_DRIVER_BINDING);
666 vExternTypes.addElement(EnumerationData.EXTERNS_COMPONENT_NAME);
667 vExternTypes.addElement(EnumerationData.EXTERNS_DRIVER_CONFIG);
668 vExternTypes.addElement(EnumerationData.EXTERNS_DRIVER_DIAG);
669
670 vExternTypes.addElement(EnumerationData.EXTERNS_SET_VIRTUAL_ADDRESS_MAP_CALL_BACK);
671 vExternTypes.addElement(EnumerationData.EXTERNS_EXIT_BOOT_SERVICES_CALL_BACK);
672 }
673
674 private void initPcdDriverTypes() {
675 vPcdDriverTypes.removeAllElements();
676 vPcdDriverTypes.addElement(DataType.EMPTY_SELECT_ITEM);
677 vPcdDriverTypes.addElement("PEI_PCD_DRIVER");
678 vPcdDriverTypes.addElement("DXE_PCD_DRIVER");
679 }
680
681 private void initPcdItemTypes() {
682 vPcdItemTypes.removeAllElements();
683 vPcdItemTypes.addElement("FEATURE_FLAG");
684 vPcdItemTypes.addElement("FIXED_AT_BUILD");
685 vPcdItemTypes.addElement("PATCHABLE_IN_MODULE");
686 vPcdItemTypes.addElement("DYNAMIC");
687 vPcdItemTypes.addElement("DYNAMIC_EX");
688 }
689
690 public Vector<String> getvCompontentType() {
691 return vCompontentType;
692 }
693
694 public void setvCompontentType(Vector<String> componentType) {
695 vCompontentType = componentType;
696 }
697
698 public Vector<String> getVModuleType() {
699 return vModuleType;
700 }
701
702 public void setVModuleType(Vector<String> moduleType) {
703 vModuleType = moduleType;
704 }
705
706 public Vector<String> getVLibraryUsage() {
707 return vLibraryUsage;
708 }
709
710 public void setVLibClassDefUsage(Vector<String> libClassDefUsage) {
711 vLibraryUsage = libClassDefUsage;
712 }
713
714 public Vector<String> getVLibClassDef() {
715 return vLibClassDef;
716 }
717
718 public void setVLibClassDef(Vector<String> libClassDef) {
719 vLibClassDef = libClassDef;
720 }
721
722 public Vector<String> getVCompontentType() {
723 return vCompontentType;
724 }
725
726 public void setVCompontentType(Vector<String> compontentType) {
727 vCompontentType = compontentType;
728 }
729
730 public Vector<String> getVLibClassDefBase() {
731 return vLibClassDefBase;
732 }
733
734 public void setVLibClassDefBase(Vector<String> libClassDefBase) {
735 vLibClassDefBase = libClassDefBase;
736 }
737
738 public Vector<String> getVLibClassDefDxeCore() {
739 return vLibClassDefDxeCore;
740 }
741
742 public void setVLibClassDefDxeCore(Vector<String> libClassDefDxeCore) {
743 vLibClassDefDxeCore = libClassDefDxeCore;
744 }
745
746 public Vector<String> getVLibClassDefDxeDriver() {
747 return vLibClassDefDxeDriver;
748 }
749
750 public void setVLibClassDefDxeDriver(Vector<String> libClassDefDxeDriver) {
751 vLibClassDefDxeDriver = libClassDefDxeDriver;
752 }
753
754 public Vector<String> getVLibClassDefDxeSmmDriver() {
755 return vLibClassDefDxeSmmDriver;
756 }
757
758 public void setVLibClassDefDxeSmmDriver(Vector<String> libClassDefDxeSmmDriver) {
759 vLibClassDefDxeSmmDriver = libClassDefDxeSmmDriver;
760 }
761
762 public Vector<String> getVLibClassDefPei() {
763 return vLibClassDefPei;
764 }
765
766 public void setVLibClassDefPei(Vector<String> libClassDefPei) {
767 vLibClassDefPei = libClassDefPei;
768 }
769
770 public Vector<String> getVLibClassDefPeim() {
771 return vLibClassDefPeim;
772 }
773
774 public void setVLibClassDefPeim(Vector<String> libClassDefPeim) {
775 vLibClassDefPeim = libClassDefPeim;
776 }
777
778 public Vector<String> getVLibClassDefUefiDriver() {
779 return vLibClassDefUefiDriver;
780 }
781
782 public void setVLibClassDefUefiDriver(Vector<String> libClassDefUefiDriver) {
783 vLibClassDefUefiDriver = libClassDefUefiDriver;
784 }
785
786 public Vector<String> getVSourceFilesFileType() {
787 return vSourceFilesFileType;
788 }
789
790 public void setVSourceFilesFileType(Vector<String> sourceFilesFileType) {
791 vSourceFilesFileType = sourceFilesFileType;
792 }
793
794 public Vector<String> getVSourceFilesToolChainFamily() {
795 return vSourceFilesToolChainFamily;
796 }
797
798 public void setVSourceFilesToolChainFamily(Vector<String> sourceFilesToolChainFamily) {
799 vSourceFilesToolChainFamily = sourceFilesToolChainFamily;
800 }
801
802 public void setVLibraryUsage(Vector<String> libraryUsage) {
803 vLibraryUsage = libraryUsage;
804 }
805
806 public Vector<String> getVProtocolNotifyUsage() {
807 return vProtocolNotifyUsage;
808 }
809
810 public void setVProtocolNotifyUsage(Vector<String> protocolNotifyUsage) {
811 vProtocolNotifyUsage = protocolNotifyUsage;
812 }
813
814 public Vector<String> getVProtocolUsage() {
815 return vProtocolUsage;
816 }
817
818 public void setVProtocolUsage(Vector<String> protocolUsage) {
819 vProtocolUsage = protocolUsage;
820 }
821
822 public Vector<String> getVSupportedArchitectures() {
823 return vSupportedArchitectures;
824 }
825
826 public void setVSupportedArchitectures(Vector<String> supportedArchitectures) {
827 vSupportedArchitectures = supportedArchitectures;
828 }
829
830 public Vector<String> getVProtocolType() {
831 return vProtocolType;
832 }
833
834 public void setVProtocolType(Vector<String> protocolType) {
835 vProtocolType = protocolType;
836 }
837
838 public Vector<String> getVEventGroup() {
839 return vEventGroup;
840 }
841
842 public void setVEventGroup(Vector<String> eventGroup) {
843 vEventGroup = eventGroup;
844 }
845
846 public Vector<String> getVEventType() {
847 return vEventType;
848 }
849
850 public void setVEventType(Vector<String> eventType) {
851 vEventType = eventType;
852 }
853
854 public Vector<String> getVEventUsage() {
855 return vEventUsage;
856 }
857
858 public void setVEventUsage(Vector<String> eventUsage) {
859 vEventUsage = eventUsage;
860 }
861
862 public Vector<String> getVEnabled() {
863 return vEnabled;
864 }
865
866 public void setVEnabled(Vector<String> enabled) {
867 vEnabled = enabled;
868 }
869
870 public Vector<String> getVHobType() {
871 return vHobType;
872 }
873
874 public void setVHobType(Vector<String> hobType) {
875 vHobType = hobType;
876 }
877
878 public Vector<String> getVHobUsage() {
879 return vHobUsage;
880 }
881
882 public void setVHobUsage(Vector<String> hobUsage) {
883 vHobUsage = hobUsage;
884 }
885
886 public Vector<String> getVPpiNotifyUsage() {
887 return vPpiNotifyUsage;
888 }
889
890 public void setVPpiNotifyUsage(Vector<String> ppiNotifyUsage) {
891 vPpiNotifyUsage = ppiNotifyUsage;
892 }
893
894 public Vector<String> getVPpiType() {
895 return vPpiType;
896 }
897
898 public void setVPpiType(Vector<String> ppiType) {
899 vPpiType = ppiType;
900 }
901
902 public Vector<String> getVPpiUsage() {
903 return vPpiUsage;
904 }
905
906 public void setVPpiUsage(Vector<String> ppiUsage) {
907 vPpiUsage = ppiUsage;
908 }
909
910 public Vector<String> getVVariableUsage() {
911 return vVariableUsage;
912 }
913
914 public void setVVariableUsage(Vector<String> variableUsage) {
915 vVariableUsage = variableUsage;
916 }
917
918 public Vector<String> getVBootModeNames() {
919 return vBootModeNames;
920 }
921
922 public void setVBootModeNames(Vector<String> bootModeNames) {
923 vBootModeNames = bootModeNames;
924 }
925
926 public Vector<String> getVBootModeUsage() {
927 return vBootModeUsage;
928 }
929
930 public void setVBootModeUsage(Vector<String> bootModeUsage) {
931 vBootModeUsage = bootModeUsage;
932 }
933
934 public Vector<String> getVSystemTableUsage() {
935 return vSystemTableUsage;
936 }
937
938 public void setVSystemTableUsage(Vector<String> systemTableUsage) {
939 vSystemTableUsage = systemTableUsage;
940 }
941
942 public Vector<String> getVDataHubUsage() {
943 return vDataHubUsage;
944 }
945
946 public void setVDataHubUsage(Vector<String> dataHubUsage) {
947 vDataHubUsage = dataHubUsage;
948 }
949
950 public Vector<String> getVGuidUsage() {
951 return vGuidUsage;
952 }
953
954 public void setVGuidUsage(Vector<String> guidUsage) {
955 vGuidUsage = guidUsage;
956 }
957
958 public Vector<String> getVHiiPackageUsage() {
959 return vHiiPackageUsage;
960 }
961
962 public void setVHiiPackageUsage(Vector<String> hiiPackageUsage) {
963 vHiiPackageUsage = hiiPackageUsage;
964 }
965
966 public Vector<String> getVPcdItemTypes() {
967 return vPcdItemTypes;
968 }
969
970 public void setVPcdItemTypes(Vector<String> pcdItemTypes) {
971 vPcdItemTypes = pcdItemTypes;
972 }
973
974 public Vector<String> getVExternTypes() {
975 return vExternTypes;
976 }
977
978 public void setVExternTypes(Vector<String> externTypes) {
979 vExternTypes = externTypes;
980 }
981
982 public Vector<String> getVPcdDriverTypes() {
983 return vPcdDriverTypes;
984 }
985
986 public void setVPcdDriverTypes(Vector<String> pcdDriverTypes) {
987 vPcdDriverTypes = pcdDriverTypes;
988 }
989
990 public Vector<String> getVBoolean() {
991 return vBoolean;
992 }
993
994 public void setVBoolean(Vector<String> boolean1) {
995 vBoolean = boolean1;
996 }
997
998 public Vector<String> getVFrameworkModuleTypes() {
999 return vFrameworkModuleTypes;
1000 }
1001
1002 public void setVFrameworkModuleTypes(Vector<String> frameworkModuleTypes) {
1003 vFrameworkModuleTypes = frameworkModuleTypes;
1004 }
1005
1006 public Vector<String> getVPackageUsage() {
1007 return vPackageUsage;
1008 }
1009
1010 public void setVPackageUsage(Vector<String> packageUsage) {
1011 vPackageUsage = packageUsage;
1012 }
1013 }