User: ecrutchfield
Date: 06/09/25 12:07:39
Modified: andromda-aspdotnet/src/main/resources/templates/aspdotnet/uicontrollers
Form.cs.vsl formMacros.vm formImpl.cs.vsl
Log:
basic formatting changes
Revision Changes Path
1.2 +4 -3 cartridges/andromda-aspdotnet/src/main/resources/templates/aspdotnet/uicontrollers/Form.cs.vsl
Index: Form.cs.vsl
===================================================================
RCS file: /cvsroot/andromdaplugins/cartridges/andromda-aspdotnet/src/main/resources/templates/aspdotnet/uicontrollers/Form.cs.vsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -r1.1 -r1.2
--- Form.cs.vsl 17 Sep 2006 17:30:50 -0000 1.1
+++ Form.cs.vsl 25 Sep 2006 19:07:38 -0000 1.2
@@ -4,7 +4,7 @@
#set($folder = "target/src/")
#end
#set ($generatedFile = "${folder}${operation.fullyQualifiedFormPath}/I${operation.formName}.cs")
-// license-header java merge-point
+// license-header cs merge-point
using System;
namespace $operation.owner.packageName
@@ -16,7 +16,7 @@
/// <seealso cref="${operation.owner.fullyQualifiedName}.${operation.signature}"/>
/// </summary>
/// <remarks>
-$operation.getDocumentation(" /// ")
+$operation.getDocumentation(" /// ", 80, false)
/// </remarks>
public interface I${operation.formName}
{
@@ -29,7 +29,7 @@
#set ($fieldTypeName = $field.type.fullyQualifiedName)
#end
/// <summary>
-$field.getDocumentation(" /// ")
+$field.getDocumentation(" /// ", 80, false)
/// </summary>
$fieldTypeName $stringUtils.capitalize(${field.name})
{
@@ -39,6 +39,7 @@
set;
#end
}
+
## - don't allow fields with default values to be set
#if (!$field.defaultValuePresent)
#if (!$field.complex && $field.selectable)
1.2 +1 -2 cartridges/andromda-aspdotnet/src/main/resources/templates/aspdotnet/uicontrollers/formMacros.vm
Index: formMacros.vm
===================================================================
RCS file: /cvsroot/andromdaplugins/cartridges/andromda-aspdotnet/src/main/resources/templates/aspdotnet/uicontrollers/formMacros.vm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -r1.1 -r1.2
--- formMacros.vm 17 Sep 2006 17:30:50 -0000 1.1
+++ formMacros.vm 25 Sep 2006 19:07:38 -0000 1.2
@@ -11,12 +11,10 @@
#set ($valueListName = $field.getValueListName($ownerParameter))
#set ($backingListName = $field.getBackingListName($ownerParameter))
#end
-
#set ($listType = "System.Object[]")
#set ($labelListMethod = $stringUtils.capitalize($labelListName))
#set ($valueListMethod = $stringUtils.capitalize($valueListName))
#set ($backingListMethod = $stringUtils.capitalize($backingListName))
-
/// <summary>
/// Get the backing list for the ${action.name} field. You must have first set the labels
/// and values via the <cref="Set${labelListMethod}"/> and <cref="Set${valueListMethod}"/> methods.
@@ -36,4 +34,5 @@
/// </summary>
/// <param name="list">a string array of the values</param>
void Set${valueListMethod}(string[] list);
+
#end
\ No newline at end of file
1.2 +2 -2 cartridges/andromda-aspdotnet/src/main/resources/templates/aspdotnet/uicontrollers/formImpl.cs.vsl
Index: formImpl.cs.vsl
===================================================================
RCS file: /cvsroot/andromdaplugins/cartridges/andromda-aspdotnet/src/main/resources/templates/aspdotnet/uicontrollers/formImpl.cs.vsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -r1.1 -r1.2
--- formImpl.cs.vsl 17 Sep 2006 17:30:50 -0000 1.1
+++ formImpl.cs.vsl 25 Sep 2006 19:07:39 -0000 1.2
@@ -10,7 +10,7 @@
namespace ${action.packageName}
{
/// <summary>
-$action.getDocumentation(" /// ")
+$action.getDocumentation(" /// ", 80, false)
/// </summary>
[Serializable]
public class $action.formImplementationName #if ($stringUtils.isNotBlank($action.formImplementationInterfaceList)) : $action.formImplementationInterfaceList#end
@@ -39,7 +39,7 @@
/// Get/set the value for the ${field.name} field.
/// </summary>
/// <remarks>
-$field.getDocumentation(" /// ")
+$field.getDocumentation(" /// ", 80, false)
/// </remarks>
public $fieldTypeName ${stringUtils.capitalize($field.name)}
{
|