Changeset 240
- Timestamp:
- 01/11/12 18:37:14 (4 months ago)
- Files:
-
- 1 modified
-
trunk/ViewSource/Part.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ViewSource/Part.cs
r239 r240 105 105 break; 106 106 case 12: 107 if (this.KBObject.Type == ObjClass.SDT || this.KBObject.Type == ObjClass.Procedure) 107 //MessageBox.Show("Objeto: " + this.KBObject.Name); 108 Artech.Common.Properties.PropertyManager.PropertySpecDescriptor prpSpDesc = this.KBObject.GetPropertyDescriptorByDisplayName("Main program"); 109 //MessageBox.Show("Prop: " + prpSpDesc.Value.ToString()); 110 if (this.KBObject.Type == ObjClass.SDT || (this.KBObject.Type == ObjClass.Procedure && prpSpDesc.Value.ToString().Equals("False"))) 108 111 filename = filename + this.KBObject.Name + ".java"; 109 112 else 110 filename = filename + this.KBObject.Name + "_impl.java"; 113 if (this.KBObject.Type == ObjClass.Procedure && prpSpDesc.Value.ToString().Equals("True")) 114 filename = filename + "a" + this.KBObject.Name + "_impl.java"; 115 else 116 filename = filename + this.KBObject.Name + "_impl.java"; 111 117 break; 112 118 case 15: