| Line 37... |
Line 37... |
| 37 |
CONSIDER_API_ELEMENTS_ONLY,
|
37 |
CONSIDER_API_ELEMENTS_ONLY,
|
| 38 |
CONSIDER_API_DIAGRAMS_ONLY,
|
38 |
CONSIDER_API_DIAGRAMS_ONLY,
|
| 39 |
CONSIDER_API_PACKAGES_ONLY,
|
39 |
CONSIDER_API_PACKAGES_ONLY,
|
| 40 |
RESTRICT_FOR_LINKED_PACKAGES_ONLY,
|
40 |
RESTRICT_FOR_LINKED_PACKAGES_ONLY,
|
| 41 |
USE_NUM_PARA_FOR_GENERATED_TEST_CASES,
|
41 |
USE_NUM_PARA_FOR_GENERATED_TEST_CASES,
|
| - |
|
42 |
SUPPRESS_REQUIREMENT_NOTES,
|
| 42 |
|
43 |
|
| 43 |
UNKNOWN = -1
|
44 |
UNKNOWN = -1
|
| 44 |
};
|
45 |
};
|
| 45 |
|
46 |
|
| 46 |
// local class to collect together stuff for a discrete boolean option
|
47 |
// local class to collect together stuff for a discrete boolean option
|
| Line 80... |
Line 81... |
| 80 |
// BIG WARNING
|
81 |
// BIG WARNING
|
| 81 |
// Make sure that if any option string is a substring of another option string, then the longest of the
|
82 |
// Make sure that if any option string is a substring of another option string, then the longest of the
|
| 82 |
// two must appear first in this initialisation sequence
|
83 |
// two must appear first in this initialisation sequence
|
| 83 |
|
84 |
|
| 84 |
boolopts = new ArrayList();
|
85 |
boolopts = new ArrayList();
|
| 85 |
boolopts.Add(new boolopt(1, boolean_options_e.CONSIDER_API_ELEMENTS_ONLY, "ConsiderAPIClassesOnly", "Consider API Stereotyped Elements Only", false) );
|
86 |
boolopts.Add(new boolopt(1, boolean_options_e.CONSIDER_API_ELEMENTS_ONLY,
|
| - |
|
87 |
"ConsiderAPIClassesOnly",
|
| - |
|
88 |
"Consider API Stereotyped Elements Only",
|
| - |
|
89 |
false) );
|
| - |
|
90 |
|
| 86 |
boolopts.Add(new boolopt(1, boolean_options_e.CONSIDER_API_DIAGRAMS_ONLY, "ConsiderAPIDiagramsOnly", "Consider API Stereotyped Diagrams Only", false) );
|
91 |
boolopts.Add(new boolopt(1, boolean_options_e.CONSIDER_API_DIAGRAMS_ONLY,
|
| - |
|
92 |
"ConsiderAPIDiagramsOnly",
|
| - |
|
93 |
"Consider API Stereotyped Diagrams Only",
|
| - |
|
94 |
false) );
|
| - |
|
95 |
|
| 87 |
boolopts.Add(new boolopt(1, boolean_options_e.CONSIDER_API_PACKAGES_ONLY, "ConsiderAPIPackagesOnly", "Consider API Stereotyped Packages Only", false) );
|
96 |
boolopts.Add(new boolopt(1, boolean_options_e.CONSIDER_API_PACKAGES_ONLY,
|
| - |
|
97 |
"ConsiderAPIPackagesOnly",
|
| - |
|
98 |
"Consider API Stereotyped Packages Only",
|
| - |
|
99 |
false) );
|
| - |
|
100 |
|
| 88 |
boolopts.Add(new boolopt(2, boolean_options_e.RESTRICT_FOR_LINKED_PACKAGES_ONLY, "APIPackageRestrictionForLinkedPackagesOnly", "Restriction Applies Only To Linked Packages", true) );
|
101 |
boolopts.Add(new boolopt(2, boolean_options_e.RESTRICT_FOR_LINKED_PACKAGES_ONLY,
|
| - |
|
102 |
"APIPackageRestrictionForLinkedPackagesOnly",
|
| - |
|
103 |
"Restriction Applies Only To Linked Packages",
|
| - |
|
104 |
true) );
|
| - |
|
105 |
|
| - |
|
106 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_ATTRIBUTE_CHARACTERISTICS,
|
| - |
|
107 |
"SuppressAttributeCharacteristics",
|
| - |
|
108 |
"Suppress Attribute Characteristics",
|
| - |
|
109 |
false) );
|
| 89 |
|
110 |
|
| 90 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_PRIVATE_CLASSES, "SuppressPrivateClasses", "Suppress Private Classes", false) );
|
111 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_CLASS_BASE_CLASSES,
|
| - |
|
112 |
"SuppressClassBaseClasses",
|
| - |
|
113 |
"Suppress Class Base Class List",
|
| - |
|
114 |
false) );
|
| - |
|
115 |
|
| 91 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_CLASS_CHARACTERISTICS, "SuppressClassCharacteristics", "Suppress Class Characteristics", false) );
|
116 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_CLASS_CHARACTERISTICS,
|
| - |
|
117 |
"SuppressClassCharacteristics",
|
| - |
|
118 |
"Suppress Class Characteristics",
|
| - |
|
119 |
false) );
|
| - |
|
120 |
|
| 92 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_CLASS_BASE_CLASSES, "SuppressClassBaseClasses", "Suppress Class Base Class List", false) );
|
121 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_CLASS_CONSTRAINTS,
|
| - |
|
122 |
"SuppressClassConstraints",
|
| - |
|
123 |
"Suppress Class Constraints",
|
| - |
|
124 |
false) );
|
| - |
|
125 |
|
| 93 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_CLASS_REALISES, "SuppressClassRealises", "Suppress Class Realisation List", false) );
|
126 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_CLASS_REALISES,
|
| - |
|
127 |
"SuppressClassRealises",
|
| - |
|
128 |
"Suppress Class Realisation List",
|
| - |
|
129 |
false) );
|
| - |
|
130 |
|
| 94 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_CLASS_REQUIREMENTS, "SuppressClassRequirements", "Suppress Class Requirements", false) );
|
131 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_CLASS_REQUIREMENTS,
|
| - |
|
132 |
"SuppressClassRequirements",
|
| - |
|
133 |
"Suppress Class Requirements",
|
| - |
|
134 |
false) );
|
| - |
|
135 |
|
| 95 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_CLASS_CONSTRAINTS, "SuppressClassConstraints", "Suppress Class Constraints", false) );
|
136 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_ELEMENT_DESC_MISSING_WARNINGS,
|
| - |
|
137 |
"SuppressElementDescriptionMissingWarnings",
|
| - |
|
138 |
"Suppress Element Description Missing Warnings",
|
| - |
|
139 |
false) );
|
| - |
|
140 |
|
| - |
|
141 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_METHOD_CHARACTERISTICS,
|
| - |
|
142 |
"SuppressMethodCharacteristics",
|
| - |
|
143 |
"Suppress Method Characteristics",
|
| - |
|
144 |
false) );
|
| 96 |
|
145 |
|
| 97 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_PRIVATE_ATTRIBUTES, "SuppressPrivateAttributes", "Suppress Private Attributes", false) );
|
146 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_PRIVATE_ATTRIBUTES,
|
| - |
|
147 |
"SuppressPrivateAttributes",
|
| - |
|
148 |
"Suppress Private Attributes",
|
| - |
|
149 |
false) );
|
| - |
|
150 |
|
| 98 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_ATTRIBUTE_CHARACTERISTICS, "SuppressAttributeCharacteristics", "Suppress Attribute Characteristics", false) );
|
151 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_PRIVATE_CLASSES,
|
| - |
|
152 |
"SuppressPrivateClasses",
|
| - |
|
153 |
"Suppress Private Classes",
|
| - |
|
154 |
false) );
|
| - |
|
155 |
|
| - |
|
156 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_PRIVATE_METHODS,
|
| - |
|
157 |
"SuppressPrivateMethods",
|
| - |
|
158 |
"Suppress Private Methods",
|
| - |
|
159 |
false) );
|
| - |
|
160 |
|
| - |
|
161 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_UN_ALLOCATED_RELATIONSHIP_WARNINGS,
|
| - |
|
162 |
"SuppressUnAllocatedRelationshipWarnings",
|
| - |
|
163 |
"Suppress Un-Allocated Relationship Warnings",
|
| - |
|
164 |
false) );
|
| - |
|
165 |
|
| - |
|
166 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_REQUIREMENT_NOTES,
|
| - |
|
167 |
"SuppressRequirementNotes",
|
| - |
|
168 |
"Suppress Use Of Requirement Element Notes",
|
| - |
|
169 |
true) );
|
| - |
|
170 |
|
| - |
|
171 |
boolopts.Add(new boolopt(1, boolean_options_e.USE_NUM_PARA_FOR_GENERATED_TEST_CASES,
|
| - |
|
172 |
"UseNumParaForGeneratedTestCases",
|
| - |
|
173 |
"Use NumPara Styles For Generated Test Case Sections",
|
| - |
|
174 |
true) );
|
| 99 |
|
175 |
|
| 100 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_PRIVATE_METHODS, "SuppressPrivateMethods", "Suppress Private Methods", false) );
|
- |
|
| 101 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_METHOD_CHARACTERISTICS, "SuppressMethodCharacteristics", "Suppress Method Characteristics", false) );
|
- |
|
| 102 |
|
- |
|
| 103 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_ELEMENT_DESC_MISSING_WARNINGS, "SuppressElementDescriptionMissingWarnings", "Suppress Element Description Missing Warnings", false) );
|
- |
|
| 104 |
boolopts.Add(new boolopt(1, boolean_options_e.SUPPRESS_UN_ALLOCATED_RELATIONSHIP_WARNINGS, "SuppressUnAllocatedRelationshipWarnings", "Suppress Un-Allocated Relationship Warnings", false) );
|
- |
|
| 105 |
|
- |
|
| 106 |
boolopts.Add(new boolopt(1, boolean_options_e.USE_NUM_PARA_FOR_GENERATED_TEST_CASES, "UseNumParaForGeneratedTestCases", "Use NumPara Styles For Generated Test Case Sections", true) );
|
- |
|
| 107 |
|
176 |
|
| 108 |
// Create element types list
|
177 |
// Create element types list
|
| 109 |
if (opt_ElementTypes == null)
|
178 |
if (opt_ElementTypes == null)
|
| 110 |
opt_ElementTypes = new ArrayList();
|
179 |
opt_ElementTypes = new ArrayList();
|
| 111 |
opt_ElementTypes.Clear();
|
180 |
opt_ElementTypes.Clear();
|
| Line 253... |
Line 322... |
| 253 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_PRIVATE_ATTRIBUTES, false);
|
322 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_PRIVATE_ATTRIBUTES, false);
|
| 254 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_PRIVATE_METHODS, false);
|
323 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_PRIVATE_METHODS, false);
|
| 255 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_PRIVATE_CLASSES, false);
|
324 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_PRIVATE_CLASSES, false);
|
| 256 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_METHOD_CHARACTERISTICS, false);
|
325 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_METHOD_CHARACTERISTICS, false);
|
| 257 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_CLASS_CHARACTERISTICS, false);
|
326 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_CLASS_CHARACTERISTICS, false);
|
| - |
|
327 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_CLASS_REALISES, false);
|
| 258 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_CLASS_REQUIREMENTS, false);
|
328 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_CLASS_REQUIREMENTS, false);
|
| 259 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_CLASS_CONSTRAINTS, false);
|
329 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_CLASS_CONSTRAINTS, false);
|
| - |
|
330 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_CLASS_BASE_CLASSES, false);
|
| 260 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_ATTRIBUTE_CHARACTERISTICS, false);
|
331 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_ATTRIBUTE_CHARACTERISTICS, false);
|
| 261 |
optionValue(EA_DocGenOptions.boolean_options_e.CONSIDER_API_ELEMENTS_ONLY, false);
|
332 |
optionValue(EA_DocGenOptions.boolean_options_e.CONSIDER_API_ELEMENTS_ONLY, false);
|
| 262 |
optionValue(EA_DocGenOptions.boolean_options_e.CONSIDER_API_DIAGRAMS_ONLY, false);
|
333 |
optionValue(EA_DocGenOptions.boolean_options_e.CONSIDER_API_DIAGRAMS_ONLY, false);
|
| 263 |
optionValue(EA_DocGenOptions.boolean_options_e.CONSIDER_API_PACKAGES_ONLY, false);
|
334 |
optionValue(EA_DocGenOptions.boolean_options_e.CONSIDER_API_PACKAGES_ONLY, false);
|
| 264 |
optionValue(EA_DocGenOptions.boolean_options_e.RESTRICT_FOR_LINKED_PACKAGES_ONLY, true);
|
335 |
optionValue(EA_DocGenOptions.boolean_options_e.RESTRICT_FOR_LINKED_PACKAGES_ONLY, true);
|
| - |
|
336 |
optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_REQUIREMENT_NOTES, false);
|
| - |
|
337 |
optionValue(EA_DocGenOptions.boolean_options_e.USE_NUM_PARA_FOR_GENERATED_TEST_CASES, true);
|
| 265 |
}
|
338 |
}
|
| 266 |
|
339 |
|
| 267 |
|
340 |
|
| 268 |
/// <summary>
|
341 |
/// <summary>
|
| 269 |
/// Looks for the EA_DocGen element in the selected package. To generate a document
|
342 |
/// Looks for the EA_DocGen element in the selected package. To generate a document
|