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