| Line 16... |
Line 16... |
| 16 |
private System.Windows.Forms.GroupBox groupBoxElementTypes;
|
16 |
private System.Windows.Forms.GroupBox groupBoxElementTypes;
|
| 17 |
private System.Windows.Forms.Button button_ET_All;
|
17 |
private System.Windows.Forms.Button button_ET_All;
|
| 18 |
private System.Windows.Forms.Button button_ET_None;
|
18 |
private System.Windows.Forms.Button button_ET_None;
|
| 19 |
private System.Windows.Forms.CheckedListBox checkedListBox_ETs;
|
19 |
private System.Windows.Forms.CheckedListBox checkedListBox_ETs;
|
| 20 |
private System.Windows.Forms.Button buttonDefault;
|
20 |
private System.Windows.Forms.Button buttonDefault;
|
| 21 |
private System.Windows.Forms.CheckBox checkBox_SuppressEleDescMissWarn;
|
- |
|
| 22 |
private System.Windows.Forms.CheckBox checkBox_SuppressPrivateClasses;
|
- |
|
| 23 |
private System.Windows.Forms.CheckBox checkBox_SuppressPrivateMethods;
|
- |
|
| 24 |
private System.Windows.Forms.CheckBox checkBox_SuppressPrivateAttrs;
|
- |
|
| 25 |
private System.Windows.Forms.CheckBox checkBox_SuppressUnAllocatedRelationshipWarnings;
|
- |
|
| 26 |
private System.Windows.Forms.CheckBox checkBox_API_Elements_Only;
|
21 |
private System.Windows.Forms.TreeView treeView_BooleanOptions;
|
| 27 |
private System.Windows.Forms.CheckBox checkBox_API_Packages_Only;
|
- |
|
| 28 |
private System.Windows.Forms.CheckBox checkBox_RestrictForLinkedPackagesOnly;
|
- |
|
| 29 |
private System.Windows.Forms.CheckBox checkBox_API_Diagrams_Only;
|
22 |
private System.Windows.Forms.GroupBox groupBox1;
|
| 30 |
/// <summary>
|
23 |
/// <summary>
|
| 31 |
/// Required designer variable.
|
24 |
/// Required designer variable.
|
| 32 |
/// </summary>
|
25 |
/// </summary>
|
| 33 |
private System.ComponentModel.Container components = null;
|
26 |
private System.ComponentModel.Container components = null;
|
| 34 |
|
27 |
|
| Line 71... |
Line 64... |
| 71 |
this.checkedListBox_ETs = new System.Windows.Forms.CheckedListBox();
|
64 |
this.checkedListBox_ETs = new System.Windows.Forms.CheckedListBox();
|
| 72 |
this.groupBoxElementTypes = new System.Windows.Forms.GroupBox();
|
65 |
this.groupBoxElementTypes = new System.Windows.Forms.GroupBox();
|
| 73 |
this.buttonDefault = new System.Windows.Forms.Button();
|
66 |
this.buttonDefault = new System.Windows.Forms.Button();
|
| 74 |
this.button_ET_None = new System.Windows.Forms.Button();
|
67 |
this.button_ET_None = new System.Windows.Forms.Button();
|
| 75 |
this.button_ET_All = new System.Windows.Forms.Button();
|
68 |
this.button_ET_All = new System.Windows.Forms.Button();
|
| 76 |
this.checkBox_SuppressEleDescMissWarn = new System.Windows.Forms.CheckBox();
|
- |
|
| 77 |
this.checkBox_SuppressPrivateClasses = new System.Windows.Forms.CheckBox();
|
- |
|
| 78 |
this.checkBox_SuppressPrivateMethods = new System.Windows.Forms.CheckBox();
|
- |
|
| 79 |
this.checkBox_SuppressPrivateAttrs = new System.Windows.Forms.CheckBox();
|
- |
|
| 80 |
this.checkBox_SuppressUnAllocatedRelationshipWarnings = new System.Windows.Forms.CheckBox();
|
- |
|
| 81 |
this.checkBox_API_Elements_Only = new System.Windows.Forms.CheckBox();
|
69 |
this.treeView_BooleanOptions = new System.Windows.Forms.TreeView();
|
| 82 |
this.checkBox_API_Packages_Only = new System.Windows.Forms.CheckBox();
|
- |
|
| 83 |
this.checkBox_RestrictForLinkedPackagesOnly = new System.Windows.Forms.CheckBox();
|
- |
|
| 84 |
this.checkBox_API_Diagrams_Only = new System.Windows.Forms.CheckBox();
|
70 |
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
| 85 |
this.groupBoxElementTypes.SuspendLayout();
|
71 |
this.groupBoxElementTypes.SuspendLayout();
|
| - |
|
72 |
this.groupBox1.SuspendLayout();
|
| 86 |
this.SuspendLayout();
|
73 |
this.SuspendLayout();
|
| 87 |
//
|
74 |
//
|
| 88 |
// buttonCancel
|
75 |
// buttonCancel
|
| 89 |
//
|
76 |
//
|
| 90 |
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
77 |
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
| 91 |
this.buttonCancel.Location = new System.Drawing.Point(336, 616);
|
78 |
this.buttonCancel.Location = new System.Drawing.Point(680, 520);
|
| 92 |
this.buttonCancel.Name = "buttonCancel";
|
79 |
this.buttonCancel.Name = "buttonCancel";
|
| 93 |
this.buttonCancel.Size = new System.Drawing.Size(96, 24);
|
80 |
this.buttonCancel.Size = new System.Drawing.Size(96, 24);
|
| 94 |
this.buttonCancel.TabIndex = 0;
|
81 |
this.buttonCancel.TabIndex = 0;
|
| 95 |
this.buttonCancel.Text = "Cancel";
|
82 |
this.buttonCancel.Text = "Cancel";
|
| 96 |
//
|
83 |
//
|
| 97 |
// buttonOK
|
84 |
// buttonOK
|
| 98 |
//
|
85 |
//
|
| 99 |
this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
86 |
this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
| 100 |
this.buttonOK.Location = new System.Drawing.Point(224, 616);
|
87 |
this.buttonOK.Location = new System.Drawing.Point(568, 520);
|
| 101 |
this.buttonOK.Name = "buttonOK";
|
88 |
this.buttonOK.Name = "buttonOK";
|
| 102 |
this.buttonOK.Size = new System.Drawing.Size(96, 24);
|
89 |
this.buttonOK.Size = new System.Drawing.Size(96, 24);
|
| 103 |
this.buttonOK.TabIndex = 1;
|
90 |
this.buttonOK.TabIndex = 1;
|
| 104 |
this.buttonOK.Text = "OK";
|
91 |
this.buttonOK.Text = "OK";
|
| 105 |
//
|
92 |
//
|
| 106 |
// checkedListBox_ETs
|
93 |
// checkedListBox_ETs
|
| 107 |
//
|
94 |
//
|
| 108 |
this.checkedListBox_ETs.Location = new System.Drawing.Point(32, 48);
|
95 |
this.checkedListBox_ETs.Location = new System.Drawing.Point(32, 48);
|
| 109 |
this.checkedListBox_ETs.Name = "checkedListBox_ETs";
|
96 |
this.checkedListBox_ETs.Name = "checkedListBox_ETs";
|
| 110 |
this.checkedListBox_ETs.Size = new System.Drawing.Size(272, 208);
|
97 |
this.checkedListBox_ETs.Size = new System.Drawing.Size(280, 395);
|
| 111 |
this.checkedListBox_ETs.TabIndex = 3;
|
98 |
this.checkedListBox_ETs.TabIndex = 3;
|
| 112 |
//
|
99 |
//
|
| 113 |
// groupBoxElementTypes
|
100 |
// groupBoxElementTypes
|
| 114 |
//
|
101 |
//
|
| 115 |
this.groupBoxElementTypes.Controls.Add(this.buttonDefault);
|
102 |
this.groupBoxElementTypes.Controls.Add(this.buttonDefault);
|
| 116 |
this.groupBoxElementTypes.Controls.Add(this.button_ET_None);
|
103 |
this.groupBoxElementTypes.Controls.Add(this.button_ET_None);
|
| 117 |
this.groupBoxElementTypes.Controls.Add(this.button_ET_All);
|
104 |
this.groupBoxElementTypes.Controls.Add(this.button_ET_All);
|
| 118 |
this.groupBoxElementTypes.Location = new System.Drawing.Point(16, 16);
|
105 |
this.groupBoxElementTypes.Location = new System.Drawing.Point(16, 16);
|
| 119 |
this.groupBoxElementTypes.Name = "groupBoxElementTypes";
|
106 |
this.groupBoxElementTypes.Name = "groupBoxElementTypes";
|
| 120 |
this.groupBoxElementTypes.Size = new System.Drawing.Size(408, 256);
|
107 |
this.groupBoxElementTypes.Size = new System.Drawing.Size(312, 488);
|
| 121 |
this.groupBoxElementTypes.TabIndex = 4;
|
108 |
this.groupBoxElementTypes.TabIndex = 4;
|
| 122 |
this.groupBoxElementTypes.TabStop = false;
|
109 |
this.groupBoxElementTypes.TabStop = false;
|
| 123 |
this.groupBoxElementTypes.Text = "Element Types to be serialised to document";
|
110 |
this.groupBoxElementTypes.Text = "Element Types to be serialised to document";
|
| 124 |
//
|
111 |
//
|
| 125 |
// buttonDefault
|
112 |
// buttonDefault
|
| 126 |
//
|
113 |
//
|
| 127 |
this.buttonDefault.Location = new System.Drawing.Point(304, 128);
|
114 |
this.buttonDefault.Location = new System.Drawing.Point(208, 440);
|
| 128 |
this.buttonDefault.Name = "buttonDefault";
|
115 |
this.buttonDefault.Name = "buttonDefault";
|
| 129 |
this.buttonDefault.Size = new System.Drawing.Size(88, 23);
|
116 |
this.buttonDefault.Size = new System.Drawing.Size(88, 23);
|
| 130 |
this.buttonDefault.TabIndex = 2;
|
117 |
this.buttonDefault.TabIndex = 2;
|
| 131 |
this.buttonDefault.Text = "Defaults";
|
118 |
this.buttonDefault.Text = "Defaults";
|
| 132 |
this.buttonDefault.Click += new System.EventHandler(this.buttonDefault_Click);
|
119 |
this.buttonDefault.Click += new System.EventHandler(this.buttonDefault_Click);
|
| 133 |
//
|
120 |
//
|
| 134 |
// button_ET_None
|
121 |
// button_ET_None
|
| 135 |
//
|
122 |
//
|
| 136 |
this.button_ET_None.Location = new System.Drawing.Point(304, 72);
|
123 |
this.button_ET_None.Location = new System.Drawing.Point(112, 440);
|
| 137 |
this.button_ET_None.Name = "button_ET_None";
|
124 |
this.button_ET_None.Name = "button_ET_None";
|
| 138 |
this.button_ET_None.Size = new System.Drawing.Size(88, 23);
|
125 |
this.button_ET_None.Size = new System.Drawing.Size(88, 23);
|
| 139 |
this.button_ET_None.TabIndex = 1;
|
126 |
this.button_ET_None.TabIndex = 1;
|
| 140 |
this.button_ET_None.Text = "DeSelect All";
|
127 |
this.button_ET_None.Text = "DeSelect All";
|
| 141 |
this.button_ET_None.Click += new System.EventHandler(this.button_ET_None_Click);
|
128 |
this.button_ET_None.Click += new System.EventHandler(this.button_ET_None_Click);
|
| 142 |
//
|
129 |
//
|
| 143 |
// button_ET_All
|
130 |
// button_ET_All
|
| 144 |
//
|
131 |
//
|
| 145 |
this.button_ET_All.Location = new System.Drawing.Point(304, 32);
|
132 |
this.button_ET_All.Location = new System.Drawing.Point(16, 440);
|
| 146 |
this.button_ET_All.Name = "button_ET_All";
|
133 |
this.button_ET_All.Name = "button_ET_All";
|
| 147 |
this.button_ET_All.Size = new System.Drawing.Size(88, 24);
|
134 |
this.button_ET_All.Size = new System.Drawing.Size(88, 24);
|
| 148 |
this.button_ET_All.TabIndex = 0;
|
135 |
this.button_ET_All.TabIndex = 0;
|
| 149 |
this.button_ET_All.Text = "Select All";
|
136 |
this.button_ET_All.Text = "Select All";
|
| 150 |
this.button_ET_All.Click += new System.EventHandler(this.button_ET_All_Click);
|
137 |
this.button_ET_All.Click += new System.EventHandler(this.button_ET_All_Click);
|
| 151 |
//
|
138 |
//
|
| 152 |
// checkBox_SuppressEleDescMissWarn
|
139 |
// treeView_BooleanOptions
|
| 153 |
//
|
140 |
//
|
| 154 |
this.checkBox_SuppressEleDescMissWarn.Location = new System.Drawing.Point(16, 392);
|
- |
|
| 155 |
this.checkBox_SuppressEleDescMissWarn.Name = "checkBox_SuppressEleDescMissWarn";
|
- |
|
| 156 |
this.checkBox_SuppressEleDescMissWarn.Size = new System.Drawing.Size(336, 16);
|
- |
|
| 157 |
this.checkBox_SuppressEleDescMissWarn.TabIndex = 7;
|
141 |
this.treeView_BooleanOptions.CheckBoxes = true;
|
| 158 |
this.checkBox_SuppressEleDescMissWarn.Text = "Suppress Element Description Missing Warnings";
|
- |
|
| 159 |
//
|
- |
|
| 160 |
// checkBox_SuppressPrivateClasses
|
- |
|
| 161 |
//
|
- |
|
| 162 |
this.checkBox_SuppressPrivateClasses.Location = new System.Drawing.Point(16, 296);
|
- |
|
| 163 |
this.checkBox_SuppressPrivateClasses.Name = "checkBox_SuppressPrivateClasses";
|
- |
|
| 164 |
this.checkBox_SuppressPrivateClasses.Size = new System.Drawing.Size(192, 24);
|
- |
|
| 165 |
this.checkBox_SuppressPrivateClasses.TabIndex = 8;
|
142 |
this.treeView_BooleanOptions.ImageIndex = -1;
|
| 166 |
this.checkBox_SuppressPrivateClasses.Text = "Suppress Private Classes";
|
- |
|
| 167 |
//
|
- |
|
| 168 |
// checkBox_SuppressPrivateMethods
|
- |
|
| 169 |
//
|
- |
|
| 170 |
this.checkBox_SuppressPrivateMethods.Location = new System.Drawing.Point(16, 328);
|
143 |
this.treeView_BooleanOptions.Location = new System.Drawing.Point(16, 32);
|
| 171 |
this.checkBox_SuppressPrivateMethods.Name = "checkBox_SuppressPrivateMethods";
|
144 |
this.treeView_BooleanOptions.Name = "treeView_BooleanOptions";
|
| 172 |
this.checkBox_SuppressPrivateMethods.Size = new System.Drawing.Size(184, 24);
|
- |
|
| 173 |
this.checkBox_SuppressPrivateMethods.TabIndex = 9;
|
145 |
this.treeView_BooleanOptions.SelectedImageIndex = -1;
|
| 174 |
this.checkBox_SuppressPrivateMethods.Text = "Suppress Private Methods";
|
- |
|
| 175 |
//
|
- |
|
| 176 |
// checkBox_SuppressPrivateAttrs
|
- |
|
| 177 |
//
|
- |
|
| 178 |
this.checkBox_SuppressPrivateAttrs.Location = new System.Drawing.Point(16, 360);
|
- |
|
| 179 |
this.checkBox_SuppressPrivateAttrs.Name = "checkBox_SuppressPrivateAttrs";
|
- |
|
| 180 |
this.checkBox_SuppressPrivateAttrs.Size = new System.Drawing.Size(192, 24);
|
146 |
this.treeView_BooleanOptions.Size = new System.Drawing.Size(400, 440);
|
| 181 |
this.checkBox_SuppressPrivateAttrs.TabIndex = 10;
|
147 |
this.treeView_BooleanOptions.TabIndex = 16;
|
| 182 |
this.checkBox_SuppressPrivateAttrs.Text = "Suppress Private Attributes";
|
- |
|
| 183 |
//
|
- |
|
| 184 |
// checkBox_SuppressUnAllocatedRelationshipWarnings
|
- |
|
| 185 |
//
|
148 |
//
|
| 186 |
this.checkBox_SuppressUnAllocatedRelationshipWarnings.Location = new System.Drawing.Point(16, 416);
|
- |
|
| 187 |
this.checkBox_SuppressUnAllocatedRelationshipWarnings.Name = "checkBox_SuppressUnAllocatedRelationshipWarnings";
|
- |
|
| 188 |
this.checkBox_SuppressUnAllocatedRelationshipWarnings.Size = new System.Drawing.Size(320, 24);
|
- |
|
| 189 |
this.checkBox_SuppressUnAllocatedRelationshipWarnings.TabIndex = 11;
|
- |
|
| 190 |
this.checkBox_SuppressUnAllocatedRelationshipWarnings.Text = "Suppress Un-Allocated Relationship Warnings";
|
- |
|
| 191 |
//
|
149 |
// groupBox1
|
| 192 |
// checkBox_API_Elements_Only
|
- |
|
| 193 |
//
|
150 |
//
|
| 194 |
this.checkBox_API_Elements_Only.Location = new System.Drawing.Point(16, 448);
|
- |
|
| 195 |
this.checkBox_API_Elements_Only.Name = "checkBox_API_Elements_Only";
|
151 |
this.groupBox1.Controls.Add(this.treeView_BooleanOptions);
|
| 196 |
this.checkBox_API_Elements_Only.Size = new System.Drawing.Size(272, 24);
|
- |
|
| 197 |
this.checkBox_API_Elements_Only.TabIndex = 12;
|
- |
|
| 198 |
this.checkBox_API_Elements_Only.Text = "Consider API Stereotyped Elements Only";
|
- |
|
| 199 |
//
|
- |
|
| 200 |
// checkBox_API_Packages_Only
|
- |
|
| 201 |
//
|
- |
|
| 202 |
this.checkBox_API_Packages_Only.Location = new System.Drawing.Point(16, 512);
|
152 |
this.groupBox1.Location = new System.Drawing.Point(344, 16);
|
| 203 |
this.checkBox_API_Packages_Only.Name = "checkBox_API_Packages_Only";
|
153 |
this.groupBox1.Name = "groupBox1";
|
| 204 |
this.checkBox_API_Packages_Only.Size = new System.Drawing.Size(304, 24);
|
154 |
this.groupBox1.Size = new System.Drawing.Size(432, 488);
|
| 205 |
this.checkBox_API_Packages_Only.TabIndex = 13;
|
155 |
this.groupBox1.TabIndex = 17;
|
| 206 |
this.checkBox_API_Packages_Only.Text = "Consider API Stereotyped Packages Only";
|
- |
|
| 207 |
//
|
- |
|
| 208 |
// checkBox_RestrictForLinkedPackagesOnly
|
- |
|
| 209 |
//
|
- |
|
| 210 |
this.checkBox_RestrictForLinkedPackagesOnly.Location = new System.Drawing.Point(40, 536);
|
- |
|
| 211 |
this.checkBox_RestrictForLinkedPackagesOnly.Name = "checkBox_RestrictForLinkedPackagesOnly";
|
- |
|
| 212 |
this.checkBox_RestrictForLinkedPackagesOnly.Size = new System.Drawing.Size(304, 24);
|
- |
|
| 213 |
this.checkBox_RestrictForLinkedPackagesOnly.TabIndex = 14;
|
- |
|
| 214 |
this.checkBox_RestrictForLinkedPackagesOnly.Text = "Restriction Applies Only To Linked Packages";
|
- |
|
| 215 |
//
|
- |
|
| 216 |
// checkBox_API_Diagrams_Only
|
156 |
this.groupBox1.TabStop = false;
|
| 217 |
//
|
- |
|
| 218 |
this.checkBox_API_Diagrams_Only.Location = new System.Drawing.Point(16, 480);
|
- |
|
| 219 |
this.checkBox_API_Diagrams_Only.Name = "checkBox_API_Diagrams_Only";
|
- |
|
| 220 |
this.checkBox_API_Diagrams_Only.Size = new System.Drawing.Size(304, 24);
|
- |
|
| 221 |
this.checkBox_API_Diagrams_Only.TabIndex = 15;
|
157 |
this.groupBox1.Text = "Discrete Options";
|
| 222 |
this.checkBox_API_Diagrams_Only.Text = "Consider API Stereotyped Diagrams Only";
|
- |
|
| 223 |
//
|
158 |
//
|
| 224 |
// EA_DocGenOptionsForm
|
159 |
// EA_DocGenOptionsForm
|
| 225 |
//
|
160 |
//
|
| 226 |
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
|
161 |
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
|
| 227 |
this.ClientSize = new System.Drawing.Size(440, 656);
|
162 |
this.ClientSize = new System.Drawing.Size(792, 560);
|
| 228 |
this.Controls.Add(this.checkBox_API_Diagrams_Only);
|
- |
|
| 229 |
this.Controls.Add(this.checkBox_RestrictForLinkedPackagesOnly);
|
- |
|
| 230 |
this.Controls.Add(this.checkBox_API_Packages_Only);
|
- |
|
| 231 |
this.Controls.Add(this.checkBox_API_Elements_Only);
|
163 |
this.Controls.Add(this.groupBox1);
|
| 232 |
this.Controls.Add(this.checkBox_SuppressUnAllocatedRelationshipWarnings);
|
- |
|
| 233 |
this.Controls.Add(this.checkBox_SuppressPrivateAttrs);
|
- |
|
| 234 |
this.Controls.Add(this.checkBox_SuppressPrivateMethods);
|
- |
|
| 235 |
this.Controls.Add(this.checkBox_SuppressPrivateClasses);
|
- |
|
| 236 |
this.Controls.Add(this.checkBox_SuppressEleDescMissWarn);
|
- |
|
| 237 |
this.Controls.Add(this.checkedListBox_ETs);
|
164 |
this.Controls.Add(this.checkedListBox_ETs);
|
| 238 |
this.Controls.Add(this.buttonOK);
|
165 |
this.Controls.Add(this.buttonOK);
|
| 239 |
this.Controls.Add(this.buttonCancel);
|
166 |
this.Controls.Add(this.buttonCancel);
|
| 240 |
this.Controls.Add(this.groupBoxElementTypes);
|
167 |
this.Controls.Add(this.groupBoxElementTypes);
|
| 241 |
this.Name = "EA_DocGenOptionsForm";
|
168 |
this.Name = "EA_DocGenOptionsForm";
|
| 242 |
this.Text = "EA_DocGenOptionsForm";
|
169 |
this.Text = "EA_DocGenOptionsForm";
|
| 243 |
this.groupBoxElementTypes.ResumeLayout(false);
|
170 |
this.groupBoxElementTypes.ResumeLayout(false);
|
| - |
|
171 |
this.groupBox1.ResumeLayout(false);
|
| 244 |
this.ResumeLayout(false);
|
172 |
this.ResumeLayout(false);
|
| 245 |
|
173 |
|
| 246 |
}
|
174 |
}
|
| 247 |
#endregion
|
175 |
#endregion
|
| 248 |
|
176 |
|
| Line 342... |
Line 270... |
| 342 |
checkedListBox_ETs.SetItemChecked(i,true);
|
270 |
checkedListBox_ETs.SetItemChecked(i,true);
|
| 343 |
}
|
271 |
}
|
| 344 |
}
|
272 |
}
|
| 345 |
}
|
273 |
}
|
| 346 |
|
274 |
|
| 347 |
checkBox_SuppressEleDescMissWarn.Checked = EA_DocGenOptions.opt_SuppressElementDescriptionMissingWarnings;
|
275 |
// Use the EA_DocGenOptions class to populate a tree view of discrete boolean options
|
| - |
|
276 |
int i_1 = -1;
|
| - |
|
277 |
TreeNodeCollection tnc = treeView_BooleanOptions.Nodes;
|
| - |
|
278 |
EA_DocGenOptions.boolean_options_e e;
|
| - |
|
279 |
int level;
|
| - |
|
280 |
string dn;
|
| - |
|
281 |
bool v;
|
| - |
|
282 |
if (EA_DocGenOptions.getFirstBooleanOption(out e, out level, out dn, out v))
|
| - |
|
283 |
{
|
| - |
|
284 |
do
|
| - |
|
285 |
{
|
| - |
|
286 |
if (level > 1 && i_1 != -1)
|
| - |
|
287 |
{
|
| - |
|
288 |
int i_2 = tnc[i_1].Nodes.Add( new TreeNode(dn) );
|
| - |
|
289 |
tnc[i_1].Nodes[i_2].Checked = v;
|
| - |
|
290 |
tnc[i_1].Nodes[i_2].Tag = e;
|
| - |
|
291 |
}
|
| - |
|
292 |
else
|
| - |
|
293 |
{
|
| - |
|
294 |
i_1 = tnc.Add( new TreeNode(dn) );
|
| - |
|
295 |
tnc[i_1].Checked = v;
|
| - |
|
296 |
tnc[i_1].Tag = e;
|
| - |
|
297 |
}
|
| - |
|
298 |
|
| 348 |
checkBox_SuppressUnAllocatedRelationshipWarnings.Checked = EA_DocGenOptions.opt_SuppressUnAllocatedRelationshipWarnings;
|
299 |
} while (EA_DocGenOptions.getNextBooleanOption(out e, out level, out dn, out v));
|
| - |
|
300 |
}
|
| 349 |
|
301 |
|
| 350 |
checkBox_SuppressPrivateClasses.Checked = EA_DocGenOptions.opt_SuppressPrivateClasses;
|
- |
|
| 351 |
checkBox_SuppressPrivateMethods.Checked = EA_DocGenOptions.opt_SuppressPrivateMethods;
|
- |
|
| 352 |
checkBox_SuppressPrivateAttrs.Checked = EA_DocGenOptions.opt_SuppressPrivateAttributes;
|
- |
|
| 353 |
checkBox_API_Elements_Only.Checked = EA_DocGenOptions.opt_ConsiderAPIElementsOnly;
|
- |
|
| 354 |
checkBox_API_Diagrams_Only.Checked = EA_DocGenOptions.opt_ConsiderAPIDiagramsOnly;
|
- |
|
| 355 |
checkBox_API_Packages_Only.Checked = EA_DocGenOptions.opt_ConsiderAPIPackagesOnly;
|
- |
|
| 356 |
checkBox_RestrictForLinkedPackagesOnly.Checked = EA_DocGenOptions.opt_RestrictForLinkedPackagesOnly;
|
- |
|
| 357 |
}
|
302 |
}
|
| 358 |
}
|
303 |
}
|
| 359 |
}
|
304 |
}
|
| 360 |
|
305 |
|
| 361 |
|
306 |
|
| Line 370... |
Line 315... |
| 370 |
{
|
315 |
{
|
| 371 |
EA_DocGenOptions.opt_ElementTypes.Add(s);
|
316 |
EA_DocGenOptions.opt_ElementTypes.Add(s);
|
| 372 |
}
|
317 |
}
|
| 373 |
}
|
318 |
}
|
| 374 |
|
319 |
|
| - |
|
320 |
// Take the discrete boolean options and feed them back to the EA_DocGenOptions class
|
| - |
|
321 |
TreeNodeCollection tnc = treeView_BooleanOptions.Nodes;
|
| - |
|
322 |
foreach(TreeNode tn in tnc)
|
| - |
|
323 |
{
|
| 375 |
EA_DocGenOptions.opt_SuppressElementDescriptionMissingWarnings = checkBox_SuppressEleDescMissWarn.Checked;
|
324 |
EA_DocGenOptions.optionValue( (EA_DocGenOptions.boolean_options_e)tn.Tag, tn.Checked );
|
| - |
|
325 |
foreach(TreeNode tnsub in tn.Nodes)
|
| - |
|
326 |
{
|
| 376 |
EA_DocGenOptions.opt_SuppressUnAllocatedRelationshipWarnings = checkBox_SuppressUnAllocatedRelationshipWarnings.Checked;
|
327 |
EA_DocGenOptions.optionValue( (EA_DocGenOptions.boolean_options_e)tnsub.Tag, tnsub.Checked );
|
| - |
|
328 |
}
|
| - |
|
329 |
}
|
| 377 |
|
330 |
|
| 378 |
EA_DocGenOptions.opt_SuppressPrivateClasses = checkBox_SuppressPrivateClasses.Checked;
|
- |
|
| 379 |
EA_DocGenOptions.opt_SuppressPrivateMethods = checkBox_SuppressPrivateMethods.Checked;
|
- |
|
| 380 |
EA_DocGenOptions.opt_SuppressPrivateAttributes = checkBox_SuppressPrivateAttrs.Checked;
|
- |
|
| 381 |
EA_DocGenOptions.opt_ConsiderAPIElementsOnly = checkBox_API_Elements_Only.Checked;
|
- |
|
| 382 |
EA_DocGenOptions.opt_ConsiderAPIDiagramsOnly = checkBox_API_Diagrams_Only.Checked;
|
- |
|
| 383 |
EA_DocGenOptions.opt_ConsiderAPIPackagesOnly = checkBox_API_Packages_Only.Checked;
|
- |
|
| 384 |
EA_DocGenOptions.opt_RestrictForLinkedPackagesOnly = checkBox_RestrictForLinkedPackagesOnly.Checked;
|
- |
|
| 385 |
}
|
331 |
}
|
| 386 |
|
332 |
|
| 387 |
private void button_ET_All_Click(object sender, System.EventArgs e)
|
333 |
private void button_ET_All_Click(object sender, System.EventArgs e)
|
| 388 |
{
|
334 |
{
|
| 389 |
int i;
|
335 |
int i;
|