- Timestamp:
- 10/11/05 10:22:43 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelica.mdt/src/org/modelica/mdt/NewClassWizard.java
r61 r64 90 90 public class NewClassWizard extends Wizard implements INewWizard 91 91 { 92 /* key widgets' tags for abbot */ 93 public static final String SOURCE_FOLDER_TAG = "sourceFolderTag"; 94 public static final String CLASS_NAME_TAG = "classNameTag"; 95 public static final String CLASS_TYPE_TAG = "classTypeTag"; 96 public static final String INITIAL_EQUATION_TAG = "initEqTag"; 97 public static final String PARTIAL_CLASS_TAG = "partialTypeTag"; 98 public static final String EXTERNAL_BODY_TAG = "extBodyTag"; 92 99 93 100 public class NewClassPage extends WizardPage … … 152 159 gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL); 153 160 sourceFolder.setLayoutData(gd); 161 MdtPlugin.tag(sourceFolder, SOURCE_FOLDER_TAG); 154 162 setSourceFolder(selection); 155 163 … … 189 197 gd.horizontalSpan = 2; 190 198 className.setLayoutData(gd); 199 MdtPlugin.tag(className, CLASS_NAME_TAG); 191 200 192 201 className.addModifyListener(new ModifyListener() … … 222 231 classType.setVisibleItemCount(7); 223 232 classType.select(0); 224 233 MdtPlugin.tag(classType, CLASS_TYPE_TAG); 234 225 235 gd = new GridData(); 226 236 gd.horizontalAlignment = GridData.BEGINNING; … … 268 278 initialEquation = new Button(composite, SWT.CHECK); 269 279 initialEquation.setText("include initial equation block"); 280 MdtPlugin.tag(initialEquation, INITIAL_EQUATION_TAG); 270 281 271 282 gd = new GridData(); … … 283 294 gd.horizontalSpan = 2; 284 295 partialClass.setLayoutData(gd); 296 MdtPlugin.tag(partialClass, PARTIAL_CLASS_TAG); 285 297 286 298 /* external body */ … … 289 301 externalBody.setText("have external body"); 290 302 externalBody.setEnabled(false); 303 MdtPlugin.tag(externalBody, EXTERNAL_BODY_TAG); 291 304 292 305 gd = new GridData();
Note: See TracChangeset
for help on using the changeset viewer.