| Line 11... |
Line 11... |
| 11 |
/// </summary>
|
11 |
/// </summary>
|
| 12 |
public class EA_DocGenOptionsForm : System.Windows.Forms.Form
|
12 |
public class EA_DocGenOptionsForm : System.Windows.Forms.Form
|
| 13 |
{
|
13 |
{
|
| 14 |
private System.Windows.Forms.Button buttonCancel;
|
14 |
private System.Windows.Forms.Button buttonCancel;
|
| 15 |
private System.Windows.Forms.Button buttonOK;
|
15 |
private System.Windows.Forms.Button buttonOK;
|
| 16 |
private System.Windows.Forms.GroupBox groupBoxRequirements;
|
- |
|
| 17 |
private System.Windows.Forms.RadioButton radioButtonReqDefault;
|
- |
|
| 18 |
private System.Windows.Forms.RadioButton radioButtonReqSections;
|
- |
|
| 19 |
private System.Windows.Forms.RadioButton radioButtonReqFormat;
|
- |
|
| 20 |
private System.Windows.Forms.TextBox textBox_ReqFormat;
|
- |
|
| 21 |
private System.Windows.Forms.GroupBox groupBoxElementTypes;
|
16 |
private System.Windows.Forms.GroupBox groupBoxElementTypes;
|
| 22 |
private System.Windows.Forms.Button button_ET_All;
|
17 |
private System.Windows.Forms.Button button_ET_All;
|
| 23 |
private System.Windows.Forms.Button button_ET_None;
|
18 |
private System.Windows.Forms.Button button_ET_None;
|
| 24 |
private System.Windows.Forms.CheckedListBox checkedListBox_ETs;
|
19 |
private System.Windows.Forms.CheckedListBox checkedListBox_ETs;
|
| 25 |
private System.Windows.Forms.Button buttonDefault;
|
20 |
private System.Windows.Forms.Button buttonDefault;
|
| 26 |
private System.Windows.Forms.Label label1;
|
- |
|
| 27 |
private System.Windows.Forms.TextBox textBoxNumParaTransition;
|
- |
|
| 28 |
private System.Windows.Forms.CheckBox checkBox_SuppressEleDescMissWarn;
|
21 |
private System.Windows.Forms.CheckBox checkBox_SuppressEleDescMissWarn;
|
| 29 |
private System.Windows.Forms.CheckBox checkBox_SuppressPrivateClasses;
|
22 |
private System.Windows.Forms.CheckBox checkBox_SuppressPrivateClasses;
|
| 30 |
private System.Windows.Forms.CheckBox checkBox_SuppressPrivateMethods;
|
23 |
private System.Windows.Forms.CheckBox checkBox_SuppressPrivateMethods;
|
| 31 |
private System.Windows.Forms.CheckBox checkBox_SuppressPrivateAttrs;
|
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;
|
| - |
|
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;
|
| 32 |
/// <summary>
|
30 |
/// <summary>
|
| 33 |
/// Required designer variable.
|
31 |
/// Required designer variable.
|
| 34 |
/// </summary>
|
32 |
/// </summary>
|
| 35 |
private System.ComponentModel.Container components = null;
|
33 |
private System.ComponentModel.Container components = null;
|
| 36 |
|
34 |
|
| Line 68... |
Line 66... |
| 68 |
/// </summary>
|
66 |
/// </summary>
|
| 69 |
private void InitializeComponent()
|
67 |
private void InitializeComponent()
|
| 70 |
{
|
68 |
{
|
| 71 |
this.buttonCancel = new System.Windows.Forms.Button();
|
69 |
this.buttonCancel = new System.Windows.Forms.Button();
|
| 72 |
this.buttonOK = new System.Windows.Forms.Button();
|
70 |
this.buttonOK = new System.Windows.Forms.Button();
|
| 73 |
this.groupBoxRequirements = new System.Windows.Forms.GroupBox();
|
- |
|
| 74 |
this.textBox_ReqFormat = new System.Windows.Forms.TextBox();
|
- |
|
| 75 |
this.radioButtonReqFormat = new System.Windows.Forms.RadioButton();
|
- |
|
| 76 |
this.radioButtonReqSections = new System.Windows.Forms.RadioButton();
|
- |
|
| 77 |
this.radioButtonReqDefault = new System.Windows.Forms.RadioButton();
|
- |
|
| 78 |
this.checkedListBox_ETs = new System.Windows.Forms.CheckedListBox();
|
71 |
this.checkedListBox_ETs = new System.Windows.Forms.CheckedListBox();
|
| 79 |
this.groupBoxElementTypes = new System.Windows.Forms.GroupBox();
|
72 |
this.groupBoxElementTypes = new System.Windows.Forms.GroupBox();
|
| 80 |
this.buttonDefault = new System.Windows.Forms.Button();
|
73 |
this.buttonDefault = new System.Windows.Forms.Button();
|
| 81 |
this.button_ET_None = new System.Windows.Forms.Button();
|
74 |
this.button_ET_None = new System.Windows.Forms.Button();
|
| 82 |
this.button_ET_All = new System.Windows.Forms.Button();
|
75 |
this.button_ET_All = new System.Windows.Forms.Button();
|
| 83 |
this.label1 = new System.Windows.Forms.Label();
|
- |
|
| 84 |
this.textBoxNumParaTransition = new System.Windows.Forms.TextBox();
|
- |
|
| 85 |
this.checkBox_SuppressEleDescMissWarn = new System.Windows.Forms.CheckBox();
|
76 |
this.checkBox_SuppressEleDescMissWarn = new System.Windows.Forms.CheckBox();
|
| 86 |
this.checkBox_SuppressPrivateClasses = new System.Windows.Forms.CheckBox();
|
77 |
this.checkBox_SuppressPrivateClasses = new System.Windows.Forms.CheckBox();
|
| 87 |
this.checkBox_SuppressPrivateMethods = new System.Windows.Forms.CheckBox();
|
78 |
this.checkBox_SuppressPrivateMethods = new System.Windows.Forms.CheckBox();
|
| 88 |
this.checkBox_SuppressPrivateAttrs = new System.Windows.Forms.CheckBox();
|
79 |
this.checkBox_SuppressPrivateAttrs = new System.Windows.Forms.CheckBox();
|
| - |
|
80 |
this.checkBox_SuppressUnAllocatedRelationshipWarnings = new System.Windows.Forms.CheckBox();
|
| 89 |
this.groupBoxRequirements.SuspendLayout();
|
81 |
this.checkBox_API_Elements_Only = new System.Windows.Forms.CheckBox();
|
| - |
|
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();
|
| 90 |
this.groupBoxElementTypes.SuspendLayout();
|
85 |
this.groupBoxElementTypes.SuspendLayout();
|
| 91 |
this.SuspendLayout();
|
86 |
this.SuspendLayout();
|
| 92 |
//
|
87 |
//
|
| 93 |
// buttonCancel
|
88 |
// buttonCancel
|
| 94 |
//
|
89 |
//
|
| 95 |
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
90 |
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
| 96 |
this.buttonCancel.Location = new System.Drawing.Point(328, 584);
|
91 |
this.buttonCancel.Location = new System.Drawing.Point(336, 616);
|
| 97 |
this.buttonCancel.Name = "buttonCancel";
|
92 |
this.buttonCancel.Name = "buttonCancel";
|
| 98 |
this.buttonCancel.Size = new System.Drawing.Size(96, 24);
|
93 |
this.buttonCancel.Size = new System.Drawing.Size(96, 24);
|
| 99 |
this.buttonCancel.TabIndex = 0;
|
94 |
this.buttonCancel.TabIndex = 0;
|
| 100 |
this.buttonCancel.Text = "Cancel";
|
95 |
this.buttonCancel.Text = "Cancel";
|
| 101 |
//
|
96 |
//
|
| 102 |
// buttonOK
|
97 |
// buttonOK
|
| 103 |
//
|
98 |
//
|
| 104 |
this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
99 |
this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
| 105 |
this.buttonOK.Location = new System.Drawing.Point(216, 584);
|
100 |
this.buttonOK.Location = new System.Drawing.Point(224, 616);
|
| 106 |
this.buttonOK.Name = "buttonOK";
|
101 |
this.buttonOK.Name = "buttonOK";
|
| 107 |
this.buttonOK.Size = new System.Drawing.Size(96, 24);
|
102 |
this.buttonOK.Size = new System.Drawing.Size(96, 24);
|
| 108 |
this.buttonOK.TabIndex = 1;
|
103 |
this.buttonOK.TabIndex = 1;
|
| 109 |
this.buttonOK.Text = "OK";
|
104 |
this.buttonOK.Text = "OK";
|
| 110 |
//
|
- |
|
| 111 |
// groupBoxRequirements
|
- |
|
| 112 |
//
|
- |
|
| 113 |
this.groupBoxRequirements.Controls.Add(this.textBox_ReqFormat);
|
- |
|
| 114 |
this.groupBoxRequirements.Controls.Add(this.radioButtonReqFormat);
|
- |
|
| 115 |
this.groupBoxRequirements.Controls.Add(this.radioButtonReqSections);
|
- |
|
| 116 |
this.groupBoxRequirements.Controls.Add(this.radioButtonReqDefault);
|
- |
|
| 117 |
this.groupBoxRequirements.Location = new System.Drawing.Point(16, 24);
|
- |
|
| 118 |
this.groupBoxRequirements.Name = "groupBoxRequirements";
|
- |
|
| 119 |
this.groupBoxRequirements.Size = new System.Drawing.Size(408, 120);
|
- |
|
| 120 |
this.groupBoxRequirements.TabIndex = 2;
|
- |
|
| 121 |
this.groupBoxRequirements.TabStop = false;
|
- |
|
| 122 |
this.groupBoxRequirements.Text = "Requirement Element Handling";
|
- |
|
| 123 |
//
|
- |
|
| 124 |
// textBox_ReqFormat
|
- |
|
| 125 |
//
|
- |
|
| 126 |
this.textBox_ReqFormat.Location = new System.Drawing.Point(176, 82);
|
- |
|
| 127 |
this.textBox_ReqFormat.Name = "textBox_ReqFormat";
|
- |
|
| 128 |
this.textBox_ReqFormat.Size = new System.Drawing.Size(216, 22);
|
- |
|
| 129 |
this.textBox_ReqFormat.TabIndex = 3;
|
- |
|
| 130 |
this.textBox_ReqFormat.Text = "[REQUIREMENT: %s]";
|
- |
|
| 131 |
//
|
- |
|
| 132 |
// radioButtonReqFormat
|
- |
|
| 133 |
//
|
- |
|
| 134 |
this.radioButtonReqFormat.Location = new System.Drawing.Point(16, 80);
|
- |
|
| 135 |
this.radioButtonReqFormat.Name = "radioButtonReqFormat";
|
- |
|
| 136 |
this.radioButtonReqFormat.Size = new System.Drawing.Size(152, 24);
|
- |
|
| 137 |
this.radioButtonReqFormat.TabIndex = 2;
|
- |
|
| 138 |
this.radioButtonReqFormat.Text = "Display with format:";
|
- |
|
| 139 |
//
|
- |
|
| 140 |
// radioButtonReqSections
|
- |
|
| 141 |
//
|
- |
|
| 142 |
this.radioButtonReqSections.Location = new System.Drawing.Point(16, 56);
|
- |
|
| 143 |
this.radioButtonReqSections.Name = "radioButtonReqSections";
|
- |
|
| 144 |
this.radioButtonReqSections.Size = new System.Drawing.Size(376, 24);
|
- |
|
| 145 |
this.radioButtonReqSections.TabIndex = 1;
|
- |
|
| 146 |
this.radioButtonReqSections.Text = "Display as sections (each requirement is a section)";
|
- |
|
| 147 |
//
|
- |
|
| 148 |
// radioButtonReqDefault
|
- |
|
| 149 |
//
|
- |
|
| 150 |
this.radioButtonReqDefault.Checked = true;
|
- |
|
| 151 |
this.radioButtonReqDefault.Location = new System.Drawing.Point(16, 32);
|
- |
|
| 152 |
this.radioButtonReqDefault.Name = "radioButtonReqDefault";
|
- |
|
| 153 |
this.radioButtonReqDefault.Size = new System.Drawing.Size(152, 24);
|
- |
|
| 154 |
this.radioButtonReqDefault.TabIndex = 0;
|
- |
|
| 155 |
this.radioButtonReqDefault.TabStop = true;
|
- |
|
| 156 |
this.radioButtonReqDefault.Text = "Default (style based)";
|
- |
|
| 157 |
//
|
105 |
//
|
| 158 |
// checkedListBox_ETs
|
106 |
// checkedListBox_ETs
|
| 159 |
//
|
107 |
//
|
| 160 |
this.checkedListBox_ETs.Location = new System.Drawing.Point(32, 192);
|
108 |
this.checkedListBox_ETs.Location = new System.Drawing.Point(32, 48);
|
| 161 |
this.checkedListBox_ETs.Name = "checkedListBox_ETs";
|
109 |
this.checkedListBox_ETs.Name = "checkedListBox_ETs";
|
| 162 |
this.checkedListBox_ETs.Size = new System.Drawing.Size(272, 208);
|
110 |
this.checkedListBox_ETs.Size = new System.Drawing.Size(272, 208);
|
| 163 |
this.checkedListBox_ETs.TabIndex = 3;
|
111 |
this.checkedListBox_ETs.TabIndex = 3;
|
| 164 |
//
|
112 |
//
|
| 165 |
// groupBoxElementTypes
|
113 |
// groupBoxElementTypes
|
| 166 |
//
|
114 |
//
|
| 167 |
this.groupBoxElementTypes.Controls.Add(this.buttonDefault);
|
115 |
this.groupBoxElementTypes.Controls.Add(this.buttonDefault);
|
| 168 |
this.groupBoxElementTypes.Controls.Add(this.button_ET_None);
|
116 |
this.groupBoxElementTypes.Controls.Add(this.button_ET_None);
|
| 169 |
this.groupBoxElementTypes.Controls.Add(this.button_ET_All);
|
117 |
this.groupBoxElementTypes.Controls.Add(this.button_ET_All);
|
| 170 |
this.groupBoxElementTypes.Location = new System.Drawing.Point(16, 160);
|
118 |
this.groupBoxElementTypes.Location = new System.Drawing.Point(16, 16);
|
| 171 |
this.groupBoxElementTypes.Name = "groupBoxElementTypes";
|
119 |
this.groupBoxElementTypes.Name = "groupBoxElementTypes";
|
| 172 |
this.groupBoxElementTypes.Size = new System.Drawing.Size(408, 256);
|
120 |
this.groupBoxElementTypes.Size = new System.Drawing.Size(408, 256);
|
| 173 |
this.groupBoxElementTypes.TabIndex = 4;
|
121 |
this.groupBoxElementTypes.TabIndex = 4;
|
| 174 |
this.groupBoxElementTypes.TabStop = false;
|
122 |
this.groupBoxElementTypes.TabStop = false;
|
| 175 |
this.groupBoxElementTypes.Text = "Element Types to be serialised to document";
|
123 |
this.groupBoxElementTypes.Text = "Element Types to be serialised to document";
|
| 176 |
//
|
124 |
//
|
| 177 |
// buttonDefault
|
125 |
// buttonDefault
|
| 178 |
//
|
126 |
//
|
| 179 |
this.buttonDefault.Location = new System.Drawing.Point(304, 128);
|
127 |
this.buttonDefault.Location = new System.Drawing.Point(304, 128);
|
| 180 |
this.buttonDefault.Name = "buttonDefault";
|
128 |
this.buttonDefault.Name = "buttonDefault";
|
| 181 |
this.buttonDefault.Size = new System.Drawing.Size(88, 23);
|
129 |
this.buttonDefault.Size = new System.Drawing.Size(88, 23);
|
| 182 |
this.buttonDefault.TabIndex = 2;
|
130 |
this.buttonDefault.TabIndex = 2;
|
| 183 |
this.buttonDefault.Text = "Defaults";
|
131 |
this.buttonDefault.Text = "Defaults";
|
| 184 |
this.buttonDefault.Click += new System.EventHandler(this.buttonDefault_Click);
|
132 |
this.buttonDefault.Click += new System.EventHandler(this.buttonDefault_Click);
|
| 185 |
//
|
133 |
//
|
| 186 |
// button_ET_None
|
134 |
// button_ET_None
|
| 187 |
//
|
135 |
//
|
| 188 |
this.button_ET_None.Location = new System.Drawing.Point(304, 72);
|
136 |
this.button_ET_None.Location = new System.Drawing.Point(304, 72);
|
| 189 |
this.button_ET_None.Name = "button_ET_None";
|
137 |
this.button_ET_None.Name = "button_ET_None";
|
| 190 |
this.button_ET_None.Size = new System.Drawing.Size(88, 23);
|
138 |
this.button_ET_None.Size = new System.Drawing.Size(88, 23);
|
| 191 |
this.button_ET_None.TabIndex = 1;
|
139 |
this.button_ET_None.TabIndex = 1;
|
| 192 |
this.button_ET_None.Text = "DeSelect All";
|
140 |
this.button_ET_None.Text = "DeSelect All";
|
| 193 |
this.button_ET_None.Click += new System.EventHandler(this.button_ET_None_Click);
|
141 |
this.button_ET_None.Click += new System.EventHandler(this.button_ET_None_Click);
|
| 194 |
//
|
142 |
//
|
| 195 |
// button_ET_All
|
143 |
// button_ET_All
|
| 196 |
//
|
144 |
//
|
| 197 |
this.button_ET_All.Location = new System.Drawing.Point(304, 32);
|
145 |
this.button_ET_All.Location = new System.Drawing.Point(304, 32);
|
| 198 |
this.button_ET_All.Name = "button_ET_All";
|
146 |
this.button_ET_All.Name = "button_ET_All";
|
| 199 |
this.button_ET_All.Size = new System.Drawing.Size(88, 24);
|
147 |
this.button_ET_All.Size = new System.Drawing.Size(88, 24);
|
| 200 |
this.button_ET_All.TabIndex = 0;
|
148 |
this.button_ET_All.TabIndex = 0;
|
| 201 |
this.button_ET_All.Text = "Select All";
|
149 |
this.button_ET_All.Text = "Select All";
|
| 202 |
this.button_ET_All.Click += new System.EventHandler(this.button_ET_All_Click);
|
150 |
this.button_ET_All.Click += new System.EventHandler(this.button_ET_All_Click);
|
| 203 |
//
|
151 |
//
|
| 204 |
// label1
|
- |
|
| 205 |
//
|
- |
|
| 206 |
this.label1.Location = new System.Drawing.Point(16, 528);
|
- |
|
| 207 |
this.label1.Name = "label1";
|
- |
|
| 208 |
this.label1.Size = new System.Drawing.Size(224, 40);
|
- |
|
| 209 |
this.label1.TabIndex = 5;
|
- |
|
| 210 |
this.label1.Text = "Transition to NumPara style at level (0 denotes no transition)";
|
- |
|
| 211 |
//
|
- |
|
| 212 |
// textBoxNumParaTransition
|
- |
|
| 213 |
//
|
- |
|
| 214 |
this.textBoxNumParaTransition.Location = new System.Drawing.Point(248, 528);
|
- |
|
| 215 |
this.textBoxNumParaTransition.Name = "textBoxNumParaTransition";
|
- |
|
| 216 |
this.textBoxNumParaTransition.Size = new System.Drawing.Size(40, 22);
|
- |
|
| 217 |
this.textBoxNumParaTransition.TabIndex = 6;
|
- |
|
| 218 |
this.textBoxNumParaTransition.Text = "0";
|
- |
|
| 219 |
//
|
- |
|
| 220 |
// checkBox_SuppressEleDescMissWarn
|
152 |
// checkBox_SuppressEleDescMissWarn
|
| 221 |
//
|
153 |
//
|
| 222 |
this.checkBox_SuppressEleDescMissWarn.Location = new System.Drawing.Point(16, 496);
|
154 |
this.checkBox_SuppressEleDescMissWarn.Location = new System.Drawing.Point(16, 392);
|
| 223 |
this.checkBox_SuppressEleDescMissWarn.Name = "checkBox_SuppressEleDescMissWarn";
|
155 |
this.checkBox_SuppressEleDescMissWarn.Name = "checkBox_SuppressEleDescMissWarn";
|
| 224 |
this.checkBox_SuppressEleDescMissWarn.Size = new System.Drawing.Size(336, 16);
|
156 |
this.checkBox_SuppressEleDescMissWarn.Size = new System.Drawing.Size(336, 16);
|
| 225 |
this.checkBox_SuppressEleDescMissWarn.TabIndex = 7;
|
157 |
this.checkBox_SuppressEleDescMissWarn.TabIndex = 7;
|
| 226 |
this.checkBox_SuppressEleDescMissWarn.Text = "Suppress Element Description Missing Warnings";
|
158 |
this.checkBox_SuppressEleDescMissWarn.Text = "Suppress Element Description Missing Warnings";
|
| 227 |
//
|
159 |
//
|
| 228 |
// checkBox_SuppressPrivateClasses
|
160 |
// checkBox_SuppressPrivateClasses
|
| 229 |
//
|
161 |
//
|
| 230 |
this.checkBox_SuppressPrivateClasses.Location = new System.Drawing.Point(16, 464);
|
162 |
this.checkBox_SuppressPrivateClasses.Location = new System.Drawing.Point(16, 296);
|
| 231 |
this.checkBox_SuppressPrivateClasses.Name = "checkBox_SuppressPrivateClasses";
|
163 |
this.checkBox_SuppressPrivateClasses.Name = "checkBox_SuppressPrivateClasses";
|
| 232 |
this.checkBox_SuppressPrivateClasses.Size = new System.Drawing.Size(192, 24);
|
164 |
this.checkBox_SuppressPrivateClasses.Size = new System.Drawing.Size(192, 24);
|
| 233 |
this.checkBox_SuppressPrivateClasses.TabIndex = 8;
|
165 |
this.checkBox_SuppressPrivateClasses.TabIndex = 8;
|
| 234 |
this.checkBox_SuppressPrivateClasses.Text = "Suppress Private Classes";
|
166 |
this.checkBox_SuppressPrivateClasses.Text = "Suppress Private Classes";
|
| 235 |
//
|
167 |
//
|
| 236 |
// checkBox_SuppressPrivateMethods
|
168 |
// checkBox_SuppressPrivateMethods
|
| 237 |
//
|
169 |
//
|
| 238 |
this.checkBox_SuppressPrivateMethods.Location = new System.Drawing.Point(16, 432);
|
170 |
this.checkBox_SuppressPrivateMethods.Location = new System.Drawing.Point(16, 328);
|
| 239 |
this.checkBox_SuppressPrivateMethods.Name = "checkBox_SuppressPrivateMethods";
|
171 |
this.checkBox_SuppressPrivateMethods.Name = "checkBox_SuppressPrivateMethods";
|
| 240 |
this.checkBox_SuppressPrivateMethods.Size = new System.Drawing.Size(184, 24);
|
172 |
this.checkBox_SuppressPrivateMethods.Size = new System.Drawing.Size(184, 24);
|
| 241 |
this.checkBox_SuppressPrivateMethods.TabIndex = 9;
|
173 |
this.checkBox_SuppressPrivateMethods.TabIndex = 9;
|
| 242 |
this.checkBox_SuppressPrivateMethods.Text = "Suppress Private Methods";
|
174 |
this.checkBox_SuppressPrivateMethods.Text = "Suppress Private Methods";
|
| 243 |
//
|
175 |
//
|
| 244 |
// checkBox_SuppressPrivateAttrs
|
176 |
// checkBox_SuppressPrivateAttrs
|
| 245 |
//
|
177 |
//
|
| 246 |
this.checkBox_SuppressPrivateAttrs.Location = new System.Drawing.Point(216, 432);
|
178 |
this.checkBox_SuppressPrivateAttrs.Location = new System.Drawing.Point(16, 360);
|
| 247 |
this.checkBox_SuppressPrivateAttrs.Name = "checkBox_SuppressPrivateAttrs";
|
179 |
this.checkBox_SuppressPrivateAttrs.Name = "checkBox_SuppressPrivateAttrs";
|
| 248 |
this.checkBox_SuppressPrivateAttrs.Size = new System.Drawing.Size(192, 24);
|
180 |
this.checkBox_SuppressPrivateAttrs.Size = new System.Drawing.Size(192, 24);
|
| 249 |
this.checkBox_SuppressPrivateAttrs.TabIndex = 10;
|
181 |
this.checkBox_SuppressPrivateAttrs.TabIndex = 10;
|
| 250 |
this.checkBox_SuppressPrivateAttrs.Text = "Suppress Private Attributes";
|
182 |
this.checkBox_SuppressPrivateAttrs.Text = "Suppress Private Attributes";
|
| - |
|
183 |
//
|
| - |
|
184 |
// checkBox_SuppressUnAllocatedRelationshipWarnings
|
| - |
|
185 |
//
|
| - |
|
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 |
//
|
| - |
|
192 |
// checkBox_API_Elements_Only
|
| - |
|
193 |
//
|
| - |
|
194 |
this.checkBox_API_Elements_Only.Location = new System.Drawing.Point(16, 448);
|
| - |
|
195 |
this.checkBox_API_Elements_Only.Name = "checkBox_API_Elements_Only";
|
| - |
|
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);
|
| - |
|
203 |
this.checkBox_API_Packages_Only.Name = "checkBox_API_Packages_Only";
|
| - |
|
204 |
this.checkBox_API_Packages_Only.Size = new System.Drawing.Size(304, 24);
|
| - |
|
205 |
this.checkBox_API_Packages_Only.TabIndex = 13;
|
| - |
|
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
|
| - |
|
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;
|
| - |
|
222 |
this.checkBox_API_Diagrams_Only.Text = "Consider API Stereotyped Diagrams Only";
|
| 251 |
//
|
223 |
//
|
| 252 |
// EA_DocGenOptionsForm
|
224 |
// EA_DocGenOptionsForm
|
| 253 |
//
|
225 |
//
|
| 254 |
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
|
226 |
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
|
| 255 |
this.ClientSize = new System.Drawing.Size(440, 624);
|
227 |
this.ClientSize = new System.Drawing.Size(440, 656);
|
| - |
|
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);
|
| - |
|
232 |
this.Controls.Add(this.checkBox_SuppressUnAllocatedRelationshipWarnings);
|
| 256 |
this.Controls.Add(this.checkBox_SuppressPrivateAttrs);
|
233 |
this.Controls.Add(this.checkBox_SuppressPrivateAttrs);
|
| 257 |
this.Controls.Add(this.checkBox_SuppressPrivateMethods);
|
234 |
this.Controls.Add(this.checkBox_SuppressPrivateMethods);
|
| 258 |
this.Controls.Add(this.checkBox_SuppressPrivateClasses);
|
235 |
this.Controls.Add(this.checkBox_SuppressPrivateClasses);
|
| 259 |
this.Controls.Add(this.checkBox_SuppressEleDescMissWarn);
|
236 |
this.Controls.Add(this.checkBox_SuppressEleDescMissWarn);
|
| 260 |
this.Controls.Add(this.textBoxNumParaTransition);
|
- |
|
| 261 |
this.Controls.Add(this.label1);
|
- |
|
| 262 |
this.Controls.Add(this.checkedListBox_ETs);
|
237 |
this.Controls.Add(this.checkedListBox_ETs);
|
| 263 |
this.Controls.Add(this.groupBoxRequirements);
|
- |
|
| 264 |
this.Controls.Add(this.buttonOK);
|
238 |
this.Controls.Add(this.buttonOK);
|
| 265 |
this.Controls.Add(this.buttonCancel);
|
239 |
this.Controls.Add(this.buttonCancel);
|
| 266 |
this.Controls.Add(this.groupBoxElementTypes);
|
240 |
this.Controls.Add(this.groupBoxElementTypes);
|
| 267 |
this.Name = "EA_DocGenOptionsForm";
|
241 |
this.Name = "EA_DocGenOptionsForm";
|
| 268 |
this.Text = "EA_DocGenOptionsForm";
|
242 |
this.Text = "EA_DocGenOptionsForm";
|
| 269 |
this.groupBoxRequirements.ResumeLayout(false);
|
- |
|
| 270 |
this.groupBoxElementTypes.ResumeLayout(false);
|
243 |
this.groupBoxElementTypes.ResumeLayout(false);
|
| 271 |
this.ResumeLayout(false);
|
244 |
this.ResumeLayout(false);
|
| 272 |
|
245 |
|
| 273 |
}
|
246 |
}
|
| 274 |
#endregion
|
247 |
#endregion
|
| Line 283... |
Line 256... |
| 283 |
if (objType == EA.ObjectType.otElement)
|
256 |
if (objType == EA.ObjectType.otElement)
|
| 284 |
{
|
257 |
{
|
| 285 |
EA.Element ele = (EA.Element)obj;
|
258 |
EA.Element ele = (EA.Element)obj;
|
| 286 |
if (0 == ele.Name.CompareTo(EA_Constants.EA_DocGenBaseName))
|
259 |
if (0 == ele.Name.CompareTo(EA_Constants.EA_DocGenBaseName))
|
| 287 |
{
|
260 |
{
|
| 288 |
if (options.opt_DisplayRequirementElementsAsSections == true)
|
- |
|
| 289 |
{
|
- |
|
| 290 |
radioButtonReqSections.Checked = true;
|
- |
|
| 291 |
}
|
- |
|
| 292 |
else if (options.opt_DisplayRequirementsWithStatus == true)
|
- |
|
| 293 |
{
|
- |
|
| 294 |
radioButtonReqDefault.Checked = true;
|
- |
|
| 295 |
}
|
- |
|
| 296 |
else
|
- |
|
| 297 |
{
|
- |
|
| 298 |
radioButtonReqFormat.Checked = true;
|
- |
|
| 299 |
textBox_ReqFormat.Text = options.opt_RequirementElementDisplayFormat;
|
- |
|
| 300 |
}
|
- |
|
| 301 |
|
- |
|
| 302 |
textBoxNumParaTransition.Text = options.opt_ElementHeadingTransitionLevel.ToString();
|
- |
|
| 303 |
|
- |
|
| 304 |
CheckState defState;
|
261 |
CheckState defState;
|
| 305 |
if (options.opt_ElementTypes.Count > 0)
|
262 |
if (options.opt_ElementTypes.Count > 0)
|
| 306 |
defState = CheckState.Unchecked;
|
263 |
defState = CheckState.Unchecked;
|
| 307 |
else
|
264 |
else
|
| 308 |
defState = CheckState.Checked;
|
265 |
defState = CheckState.Checked;
|
| Line 384... |
Line 341... |
| 384 |
checkedListBox_ETs.SetItemChecked(i,true);
|
341 |
checkedListBox_ETs.SetItemChecked(i,true);
|
| 385 |
}
|
342 |
}
|
| 386 |
}
|
343 |
}
|
| 387 |
}
|
344 |
}
|
| 388 |
|
345 |
|
| 389 |
checkBox_SuppressEleDescMissWarn.Checked = options.opt_SuppressElementDescriptionMissingWarnings;
|
346 |
checkBox_SuppressEleDescMissWarn.Checked = options.opt_SuppressElementDescriptionMissingWarnings;
|
| 390 |
|
- |
|
| 391 |
checkBox_SuppressPrivateClasses.Checked = options.opt_SuppressPrivateClasses;
|
- |
|
| 392 |
checkBox_SuppressPrivateMethods.Checked = options.opt_SuppressPrivateMethods;
|
347 |
checkBox_SuppressUnAllocatedRelationshipWarnings.Checked = options.opt_SuppressUnAllocatedRelationshipWarnings;
|
| 393 |
checkBox_SuppressPrivateAttrs.Checked = options.opt_SuppressPrivateAttributes;
|
- |
|
| 394 |
|
- |
|
| 395 |
|
348 |
|
| - |
|
349 |
checkBox_SuppressPrivateClasses.Checked = options.opt_SuppressPrivateClasses;
|
| - |
|
350 |
checkBox_SuppressPrivateMethods.Checked = options.opt_SuppressPrivateMethods;
|
| - |
|
351 |
checkBox_SuppressPrivateAttrs.Checked = options.opt_SuppressPrivateAttributes;
|
| - |
|
352 |
checkBox_API_Elements_Only.Checked = options.opt_ConsiderAPIElementsOnly;
|
| - |
|
353 |
checkBox_API_Diagrams_Only.Checked = options.opt_ConsiderAPIDiagramsOnly;
|
| - |
|
354 |
checkBox_API_Packages_Only.Checked = options.opt_ConsiderAPIPackagesOnly;
|
| - |
|
355 |
checkBox_RestrictForLinkedPackagesOnly.Checked = options.opt_RestrictForLinkedPackagesOnly;
|
| 396 |
}
|
356 |
}
|
| 397 |
}
|
357 |
}
|
| 398 |
}
|
358 |
}
|
| 399 |
|
359 |
|
| 400 |
|
360 |
|
| 401 |
public void read(EA.Repository EA_Repository, EA_DocGenOptions options)
|
361 |
public void read(EA.Repository EA_Repository, EA_DocGenOptions options)
|
| 402 |
{
|
362 |
{
|
| 403 |
options.opt_RequirementElementDisplayFormat = textBox_ReqFormat.Text;
|
- |
|
| 404 |
|
- |
|
| 405 |
if (radioButtonReqSections.Checked == true)
|
- |
|
| 406 |
{
|
- |
|
| 407 |
options.opt_DisplayRequirementElementsAsSections = true;
|
- |
|
| 408 |
options.opt_DisplayRequirementsWithStatus = false;
|
- |
|
| 409 |
}
|
- |
|
| 410 |
else if (radioButtonReqDefault.Checked == true)
|
- |
|
| 411 |
{
|
- |
|
| 412 |
options.opt_DisplayRequirementElementsAsSections = false;
|
- |
|
| 413 |
options.opt_DisplayRequirementsWithStatus = true;
|
- |
|
| 414 |
}
|
- |
|
| 415 |
else
|
- |
|
| 416 |
{
|
- |
|
| 417 |
options.opt_DisplayRequirementElementsAsSections = false;
|
- |
|
| 418 |
options.opt_DisplayRequirementsWithStatus = false;
|
- |
|
| 419 |
}
|
- |
|
| 420 |
|
- |
|
| 421 |
options.opt_ElementHeadingTransitionLevel = System.Convert.ToInt32(textBoxNumParaTransition.Text);
|
- |
|
| 422 |
|
- |
|
| 423 |
// If every item is checked then we give back an empty opt_ElementTypes list because
|
363 |
// If every item is checked then we give back an empty opt_ElementTypes list because
|
| 424 |
// that indicates that the user wants everything.
|
364 |
// that indicates that the user wants everything.
|
| 425 |
options.opt_ElementTypes.Clear();
|
365 |
options.opt_ElementTypes.Clear();
|
| 426 |
if (checkedListBox_ETs.CheckedItems.Count != checkedListBox_ETs.Items.Count)
|
366 |
if (checkedListBox_ETs.CheckedItems.Count != checkedListBox_ETs.Items.Count)
|
| 427 |
{
|
367 |
{
|
| Line 430... |
Line 370... |
| 430 |
options.opt_ElementTypes.Add(s);
|
370 |
options.opt_ElementTypes.Add(s);
|
| 431 |
}
|
371 |
}
|
| 432 |
}
|
372 |
}
|
| 433 |
|
373 |
|
| 434 |
options.opt_SuppressElementDescriptionMissingWarnings = checkBox_SuppressEleDescMissWarn.Checked;
|
374 |
options.opt_SuppressElementDescriptionMissingWarnings = checkBox_SuppressEleDescMissWarn.Checked;
|
| - |
|
375 |
options.opt_SuppressUnAllocatedRelationshipWarnings = checkBox_SuppressUnAllocatedRelationshipWarnings.Checked;
|
| 435 |
|
376 |
|
| 436 |
options.opt_SuppressPrivateClasses = checkBox_SuppressPrivateClasses.Checked;
|
377 |
options.opt_SuppressPrivateClasses = checkBox_SuppressPrivateClasses.Checked;
|
| 437 |
options.opt_SuppressPrivateMethods= checkBox_SuppressPrivateMethods.Checked;
|
378 |
options.opt_SuppressPrivateMethods = checkBox_SuppressPrivateMethods.Checked;
|
| 438 |
options.opt_SuppressPrivateAttributes = checkBox_SuppressPrivateAttrs.Checked;
|
379 |
options.opt_SuppressPrivateAttributes = checkBox_SuppressPrivateAttrs.Checked;
|
| - |
|
380 |
options.opt_ConsiderAPIElementsOnly = checkBox_API_Elements_Only.Checked;
|
| - |
|
381 |
options.opt_ConsiderAPIDiagramsOnly = checkBox_API_Diagrams_Only.Checked;
|
| - |
|
382 |
options.opt_ConsiderAPIPackagesOnly = checkBox_API_Packages_Only.Checked;
|
| - |
|
383 |
options.opt_RestrictForLinkedPackagesOnly = checkBox_RestrictForLinkedPackagesOnly.Checked;
|
| 439 |
}
|
384 |
}
|
| 440 |
|
385 |
|
| 441 |
private void button_ET_All_Click(object sender, System.EventArgs e)
|
386 |
private void button_ET_All_Click(object sender, System.EventArgs e)
|
| 442 |
{
|
387 |
{
|
| 443 |
int i;
|
388 |
int i;
|