You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(178) |
Feb
(169) |
Mar
(286) |
Apr
(117) |
May
(98) |
Jun
(68) |
Jul
(63) |
Aug
(121) |
Sep
(88) |
Oct
(124) |
Nov
(2) |
Dec
(111) |
2007 |
Jan
(224) |
Feb
(69) |
Mar
(10) |
Apr
(72) |
May
(7) |
Jun
(21) |
Jul
(33) |
Aug
(35) |
Sep
(12) |
Oct
(22) |
Nov
(5) |
Dec
(6) |
2008 |
Jan
(2) |
Feb
(10) |
Mar
(39) |
Apr
(58) |
May
(34) |
Jun
(9) |
Jul
(27) |
Aug
(10) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
From: Vance K. <va...@us...> - 2006-04-24 02:28:55
|
User: vancek Date: 06/04/23 19:28:53 Modified: andromda-ejb3/src/main/resources/templates/ejb3 MessageDrivenBean.vsl Log: fixed comments regarding subscription durability Revision Changes Path 1.12 +1 -1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/MessageDrivenBean.vsl Index: MessageDrivenBean.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/MessageDrivenBean.vsl,v retrieving revision 1.11 retrieving revision 1.12 diff -u -w -r1.11 -r1.12 --- MessageDrivenBean.vsl 9 Mar 2006 04:29:25 -0000 1.11 +++ MessageDrivenBean.vsl 24 Apr 2006 02:28:53 -0000 1.12 @@ -29,7 +29,7 @@ // #end #if ($mdb.subscriptionDurability) -// @javax.ejb.ActivationConfigProperty(propertyName="subscriptionDurability", propertyValue="${mdb.subscriptionDurability}") +// @javax.ejb.ActivationConfigProperty(propertyName="durability", propertyValue="${mdb.subscriptionDurability}") #end //} //) |
From: Vance K. <va...@us...> - 2006-04-24 02:28:02
|
User: vancek Date: 06/04/23 19:28:00 Added: andromda-ejb3/src/main/resources/templates/ejb3 GlobalMacros.vm Log: initial revision - macros used in value objects - from spring cartridge Revision Changes Path 1.1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/GlobalMacros.vm Index: GlobalMacros.vm =================================================================== ## ## This macro will render the equals() method ## If an entity is rendered, the attributeSet consists of the identifiers, ## if an value type is renderer, the attributeSet consists of all attributes ## #macro (renderEqualsMethod $class $className $attributeSet) public boolean equals(Object object) { #if ($attributeSet.empty) return super.equals(object); #else if (this == object) { return true; } if (!(object instanceof $className)) { return false; } final $className that = ($className)object; #foreach ($attribute in $attributeSet) #set ($idType = $attribute.type) #if ($idType.primitive) if (this.$attribute.name != that.${attribute.getterName}()) { return false; } #elseif ($idType.arrayType) if (!java.util.Arrays.equals(this.$attribute.name, that.${attribute.getterName}())) { return false; } #else if (this.$attribute.name == null || that.${attribute.getterName}() == null || !this.${attribute.name}.equals(that.${attribute.getterName}())) { return false; } #end #end return true; #end } #end ## ## This macro will render the hashCode() method ## If an entity is rendered, the attributeSet consists of the identifiers, ## if an value type is renderer, the attributeSet consists of all attributes ## #macro (renderHashCodeMethod $class $attributeSet) public int hashCode() { #if ($attributeSet.empty) return super.hashCode(); #else #if ($class.generalization) int hashCode = super.hashCode(); #else int hashCode = 0; #end #foreach ($attribute in $attributeSet) #set ($attrType = $attribute.type) #if ($attribute.getterSetterTypeName == "boolean") hashCode = 29 * hashCode + (${attribute.name} ? 1 : 0); #elseif ($attrType.arrayType) // arrays are not part of the hashCode calculation #elseif ($attrType.primitive) hashCode = 29 * hashCode + (int)${attribute.name}; #else hashCode = 29 * hashCode + (${attribute.name} == null ? 0 : ${attribute.name}.hashCode()); #end## if #end## foreach return hashCode; #end## $attributeSet.empty } #end |
From: Vance K. <va...@us...> - 2006-04-24 02:26:53
|
User: vancek Date: 06/04/23 19:26:51 Modified: andromda-ejb3/src/main/resources/templates/ejb3 EntityEmbeddable.vsl Log: added support for embedded value object as an attribute, setting the AttributeOverride annotation Revision Changes Path 1.24 +11 -0 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/EntityEmbeddable.vsl Index: EntityEmbeddable.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/EntityEmbeddable.vsl,v retrieving revision 1.23 retrieving revision 1.24 diff -u -w -r1.23 -r1.24 --- EntityEmbeddable.vsl 20 Mar 2006 08:15:34 -0000 1.23 +++ EntityEmbeddable.vsl 24 Apr 2006 02:26:51 -0000 1.24 @@ -357,7 +357,18 @@ @javax.persistence.Basic(fetch = javax.persistence.FetchType.EAGER) #* *##end #* *##end +#* *##if ($attribute.containsEmbeddedObject) + @javax.persistence.Embedded + @javax.persistence.AttributeOverrides + ({ +#* *##foreach ($embeddedAttribute in $attribute.type.attributes) + @javax.persistence.AttributeOverride(name = "${embeddedAttribute.name}", column = @javax.persistence.Column(name = "${embeddedAttribute.columnName}"#if ($embeddedAttribute.unique), unique = ${embeddedAttribute.unique}#end#if (!$embeddedAttribute.columnNullable), nullable = ${embeddedAttribute.columnNullable}#end#**#, insertable = ${embeddedAttribute.insertEnabled}, updatable = ${embeddedAttribute.updateEnabled}#if ($embeddedAttribute.columnLength), length = ${embeddedAttribute.columnLength}#end#if ($embeddedAttribute.columnDefinition), columnDefinition = "${embeddedAttribute.columnDefinition}"#end#if ($embeddedAttribute.columnPrecision), precision = ${embeddedAttribute.columnPrecision}#end#if ($embeddedAttribute.columnScale), scale = ${embeddedAttribute.columnScale}#end))#if($velocityCount != $attribute.type.attributes.size()),#end + +#* *##end + }) +#* *##else @javax.persistence.Column(name = "${attribute.columnName}"#if ($attribute.unique), unique = ${attribute.unique}#end#if (!$attribute.columnNullable), nullable = ${attribute.columnNullable}#end#**#, insertable = ${attribute.insertEnabled}, updatable = ${attribute.updateEnabled}#if ($attribute.columnLength), length = ${attribute.columnLength}#end#if ($attribute.columnDefinition), columnDefinition = "${attribute.columnDefinition}"#end#if ($attribute.columnPrecision), precision = ${attribute.columnPrecision}#end#if ($attribute.columnScale), scale = ${attribute.columnScale}#end) +#* *##end #* *##if (!$attribute.lob && $attribute.lazy) ## ## Only add the fetch type property for LAZY hints - default is EAGER |
From: Vance K. <va...@us...> - 2006-04-24 02:22:33
|
User: vancek Date: 06/04/23 19:22:31 Added: andromda-ejb3/src/main/resources/templates/ejb3 EmbeddedValue.vsl EmbeddedValueImpl.vsl Log: initial revision - added embedded object Revision Changes Path 1.1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/EmbeddedValue.vsl Index: EmbeddedValue.vsl =================================================================== #set ($generatedFile = "${embeddedValue.packagePath}/${embeddedValue.name}.java") // license-header java merge-point // // Attention: Generated code! Do not modify by hand! // Generated by: EmbeddedValue.vsl in andromda-ejb3-cartridge. // #if ($stringUtils.isNotBlank($embeddedValue.packageName)) package $embeddedValue.packageName; #end /** $embeddedValue.getDocumentation(" * ") */ @javax.persistence.Embeddable public abstract class $embeddedValue.name #if($embeddedValue.generalization) extends $embeddedValue.generalization.fullyQualifiedName #end implements java.io.Serializable { /** * The serial version UID of this class. Needed for serialization. */ private static final long serialVersionUID = ${embeddedValue.serialVersionUID}L; #if (!$embeddedValue.abstract) /** * Creates a new instance of {@link ${embeddedValue.name}} * taking all properties. */ #set ($parenthesis = "(") #if ($embeddedValue.attributes.empty) #set ($parenthesis = "()") #end public static $embeddedValue.name newInstance${parenthesis}#foreach ($attribute in $embeddedValue.attributes) $attribute.getterSetterTypeName ${attribute.name}#if($velocityCount != $embeddedValue.attributes.size()),#else) #end #end { $embeddedValue.implementationName object = new ${embeddedValue.implementationName}(); #foreach ($attribute in $embeddedValue.attributes) object.${attribute.setterName}($attribute.name); #end object.initialize(); return object; } /** * Creates a new instance from other $embeddedValue.name instance. */ public static ${embeddedValue.name} newInstance($embeddedValue.name otherObject) { if (otherObject != null) { return newInstance(#foreach ($attribute in $embeddedValue.attributes) otherObject.${attribute.getterName}()#if($velocityCount != $embeddedValue.attributes.size()),#end#end); } return null; } protected ${embeddedValue.name}() { } /** * Hook for initializing the object in the subclass */ protected void initialize() { } #foreach ($attribute in $embeddedValue.attributes) private $attribute.getterSetterTypeName $attribute.name; /** $attribute.getDocumentation(" * ") */ $attribute.visibility $attribute.getterSetterTypeName ${attribute.getterName}() { return this.${attribute.name}; } #if ($embeddedValue.immutable) // protected setter, if subclass methods need to normalize the $embeddedValue.name protected void ${attribute.setterName}($attribute.getterSetterTypeName $attribute.name) #else $attribute.visibility void ${attribute.setterName}($attribute.getterSetterTypeName $attribute.name) #end { this.${attribute.name} = $attribute.name; } #end #foreach ($operation in $embeddedValue.operations) #set ($returnType = $operation.returnType) #set ($signature = $operation.signature) /** $operation.getDocumentation(" * ") */ #if ($operation.exceptionsPresent) $operation.visibility abstract $returnType.fullyQualifiedName $signature throws $operation.exceptionList; #else $operation.visibility abstract $returnType.fullyQualifiedName $signature; #end #end #end /** * Indicates if the argument is of the same type and all values are equal. */ #renderEqualsMethod($class $embeddedValue.name $embeddedValue.attributes) #set ($attributeCollection = $embeddedValue.attributes) #renderHashCodeMethod($class $attributeCollection) } 1.1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/EmbeddedValueImpl.vsl Index: EmbeddedValueImpl.vsl =================================================================== #set ($generatedFile = "${embeddedValue.packagePath}/${embeddedValue.implementationName}.java") // license-header java merge-point /** * This is only generated once! It will never be overwritten. * You can (and have to!) safely modify it by hand. */ #if ($stringUtils.isNotBlank($embeddedValue.packageName)) package $embeddedValue.packageName; #end /** * @see $embeddedValue.fullyQualifiedName */ public#if ($embeddedValue.abstract) abstract#end class $embeddedValue.implementationName extends $embeddedValue.fullyQualifiedName implements java.io.Serializable { /** * The serial version UID of this class. Needed for serialization. */ private static final long serialVersionUID = ${embeddedValue.serialVersionUID}L; #foreach ($operation in $embeddedValue.operations) /** * @see ${embeddedValue.fullyQualifiedName}#${operation.getSignature(false)} */ $operation.visibility $operation.returnType.fullyQualifiedName $operation.signature #if ($operation.exceptionsPresent) throws $operation.exceptionList #end { // ${toDoTag} implement $operation.visibility $operation.returnType.fullyQualifiedName $operation.signature #if ($operation.returnTypePresent) return $operation.returnType.javaNullString; #else throw new java.lang.UnsupportedOperationException("${embeddedValue.fullyQualifiedName}.${operation.signature} Not implemented!"); #end } #end } |
From: Vance K. <va...@us...> - 2006-04-24 02:21:46
|
User: vancek Date: 06/04/23 19:21:43 Added: andromda-ejb3/src/main/resources/templates/ejb3 DaoImpl.vsl DaoBase.vsl DaoLocal.vsl DaoDefaultException.vsl Log: added DAO layer support - inline with spring cartridge Revision Changes Path 1.1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/DaoImpl.vsl Index: DaoImpl.vsl =================================================================== #set ($generatedFile = "${entity.packagePath}/${entity.daoImplementationName}.java") // license-header java merge-point #if ($entity.daoImplementationRequired) /** * This is only generated once! It will never be overwritten. * You can (and have to!) safely modify it by hand. */ #else // // Attention: Generated code! Do not modify by hand! // Generated by: SessionDaoImpl.vsl in andromda-ejb3-cartridge. // #end #if ($stringUtils.isNotBlank($entity.packageName)) package $entity.packageName; #end #set ($superclass = $entity.generalization) /** * @see $entity.fullyQualifiedName */ public class $entity.daoImplementationName extends $entity.fullyQualifiedDaoBaseName { #foreach ($operation in $entity.daoBusinessOperations) #**##set ($returnType = $operation.returnType) #**##set ($returnObject = "returnValue") #**##set ($signature = $operation.implementationSignature) /** * @see ${entity.fullyQualifiedDaoName}#${operation.getSignature(false)} */ protected $returnType.fullyQualifiedName $signature #**##if ($operation.exceptionsPresent) throws $operation.exceptionList #**##end { // ${toDoTag} implement $operation.visibility $returnType.fullyQualifiedName $signature #**##if ($operation.returnTypePresent) return $operation.returnType.javaNullString; #**##else throw new java.lang.UnsupportedOperationException("${entity.fullyQualifiedName}.${signature} Not implemented!"); #**##end } #end #foreach ($valueObjectRef in $entity.valueObjectReferences) /** * @see ${entity.fullyQualifiedDaoName}#${valueObjectRef.transformationMethodName}($entity.fullyQualifiedEntityName, $valueObjectRef.targetElement.fullyQualifiedName) */ public void ${valueObjectRef.transformationMethodName}( $entity.fullyQualifiedEntityName sourceEntity, $valueObjectRef.targetElement.fullyQualifiedName targetVO) { // ${toDoTag} verify behavior of ${valueObjectRef.transformationMethodName} super.${valueObjectRef.transformationMethodName}(sourceEntity, targetVO); #**##foreach ($property in $valueObjectRef.targetElement.allProperties) #* *##foreach ($entityProp in $entity.allProperties) #* *##if ($property.name == $entityProp.name) #* *##set ($getVal = false) #* *##set ($getVal = $converter.typeConvert($entityProp.type.fullyQualifiedName, "sourceEntity.${entityProp.getterName}()", $property.type.fullyQualifiedName) ) #* *##if (!$getVal) // WARNING! No conversion for targetVO.${property.name} (can't convert sourceEntity.${entityProp.getterName}():${entityProp.type.fullyQualifiedName} to $property.type.fullyQualifiedName #* *##end #* *##end #* *##end #**##end } /** * @see ${entity.fullyQualifiedDaoName}#${valueObjectRef.transformationMethodName}($entity.fullyQualifiedName) */ public $valueObjectRef.targetElement.fullyQualifiedName ${valueObjectRef.transformationMethodName}(final $entity.fullyQualifiedName entity) { // ${toDoTag} verify behavior of ${valueObjectRef.transformationMethodName} return super.${valueObjectRef.transformationMethodName}(entity); } /** * Retrieves the entity object that is associated with the specified value object * from the object store. If no such entity object exists in the object store, * a new, blank entity is created */ private $entity.fullyQualifiedEntityName load${entity.name}From${valueObjectRef.targetElement.name}($valueObjectRef.targetElement.fullyQualifiedName $stringUtils.uncapitalize($valueObjectRef.name)) { // ${toDoTag} implement load${entity.name}From${valueObjectRef.targetElement.name} throw new java.lang.UnsupportedOperationException("${entity.packageName}.load${entity.name}From${valueObjectRef.targetElement.name}($valueObjectRef.targetElement.fullyQualifiedName) not yet implemented."); /* A typical implementation looks like this: $entity.fullyQualifiedEntityName $stringUtils.uncapitalize($entity.name) = this.load(${stringUtils.uncapitalize($valueObjectRef.name)}.getId()); if ($stringUtils.uncapitalize($entity.name) == null) { $stringUtils.uncapitalize($entity.name) = ${entity.fullyQualifiedEntityName}.Factory.newInstance(); } return $stringUtils.uncapitalize($entity.name); */ } /** * @see ${entity.fullyQualifiedDaoName}#${valueObjectRef.transformationToEntityMethodName}($valueObjectRef.targetElement.fullyQualifiedName) */ public $entity.fullyQualifiedEntityName ${valueObjectRef.transformationToEntityMethodName}($valueObjectRef.targetElement.fullyQualifiedName $stringUtils.uncapitalize($valueObjectRef.name)) { // ${toDoTag} verify behavior of ${valueObjectRef.transformationToEntityMethodName} $entity.fullyQualifiedEntityName entity = this.load${entity.name}From${valueObjectRef.targetElement.name}($stringUtils.uncapitalize($valueObjectRef.name)); this.${valueObjectRef.transformationToEntityMethodName}($stringUtils.uncapitalize($valueObjectRef.name), entity, true); return entity; } /** * @see ${entity.fullyQualifiedDaoName}#${valueObjectRef.transformationToEntityMethodName}($valueObjectRef.targetElement.fullyQualifiedName, $entity.fullyQualifiedEntityName) */ public void ${valueObjectRef.transformationToEntityMethodName}( $valueObjectRef.targetElement.fullyQualifiedName sourceVO, $entity.fullyQualifiedEntityName targetEntity, boolean copyIfNull) { // ${toDoTag} verify behavior of ${valueObjectRef.transformationToEntityMethodName} super.${valueObjectRef.transformationToEntityMethodName}(sourceVO, targetEntity, copyIfNull); #**##set ($attributes = $entity.getAttributes(true,false)) #**##foreach ($attribute in $attributes) #* *##foreach ($voProperty in $valueObjectRef.targetElement.allProperties) #* *##if ($attribute.name == $voProperty.name) #* *##set ($getVal = false) #* *##set ($getVal = $converter.typeConvert($voProperty.type.fullyQualifiedName, "sourceVO.${voProperty.getterName}()", $attribute.type.fullyQualifiedName) ) #* *##if (!$getVal) // No conversion for targetEntity.${attribute.name} (can't convert sourceVO.${voProperty.getterName}():${voProperty.type.fullyQualifiedName} to $attribute.type.fullyQualifiedName #* *##end #* *##end #* *##end #**##end } #end } 1.1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/DaoBase.vsl Index: DaoBase.vsl =================================================================== // license-header java merge-point // // Attention: Generated code! Do not modify by hand! // Generated by: SessionDaoBase.vsl in andromda-ejb3-cartridge. // #set ($generatedFile = "${entity.packagePath}/${entity.daoBaseName}.java") #if ($enableTemplating) #**##set ($entityCollectionType = "java.util.Collection<${entity.fullyQualifiedEntityName}>") #else #**##set ($entityCollectionType = "java.util.Collection") #end #if ($stringUtils.isNotBlank($entity.packageName)) package $entity.packageName; #end #set ($daoInheritance = $entity.generalization && $daoInheritanceEnabled) #if ($daoInheritance) #**##set ($rootEntityType = $entity.root.fullyQualifiedEntityName) #**##set ($rootDaoType = $entity.root.fullyQualifiedDaoName) #else #**##set ($rootEntityType = $entity.fullyQualifiedEntityName) #**##set ($rootDaoType = $entity.fullyQualifiedDaoName) #end /** * <p> * Base EJB3 DAO Class: is able to create, update, remove, load, and find * objects of type <code>$entity.fullyQualifiedEntityName</code>. * </p> * * @see $entity.fullyQualifiedEntityName */ @javax.ejb.TransactionAttribute(javax.ejb.TransactionAttributeType.REQUIRED) @javax.ejb.Local({${entity.fullyQualifiedDaoName}.class}) public abstract class $entity.daoBaseName #if ($daoInheritance) extends $entity.generalization.fullyQualifiedDaoImplementationName #end implements $entity.fullyQualifiedDaoName { // ------ Session Context Injection ------ @javax.annotation.Resource protected javax.ejb.SessionContext context; // ------ Persistence Context Injection -------- /** * Inject persistence context #if ($entity.defaultPersistenceContextUnitName)${entity.defaultPersistenceContextUnitName}#end */ @javax.persistence.PersistenceContext#if ($entity.defaultPersistenceContextUnitName)(unitName = "${entity.defaultPersistenceContextUnitName}")#end protected javax.persistence.EntityManager emanager; #foreach($entityRef in $entity.entityReferences) private $entityRef.targetElement.fullyQualifiedDaoName $entityRef.daoName; /** * Sets the reference to <code>$entityRef.daoName</code>. */ public void ${entityRef.daoSetterName}($entityRef.targetElement.fullyQualifiedDaoName $entityRef.daoName) { this.$entityRef.daoName = $entityRef.daoName; } /** * Gets the reference to <code>$entityRef.daoName</code>. */ protected $entityRef.targetElement.fullyQualifiedDaoName ${entityRef.daoGetterName}() { return this.$entityRef.daoName; } #end #set ($identifier = $entity.identifiers.iterator().next()) #set ($argumentName = $stringUtils.uncapitalize($entity.name)) /** * @see ${entity.fullyQualifiedDaoName}#load(int, $identifier.type.fullyQualifiedName) */ public Object load(final int transform, final $identifier.type.fullyQualifiedName $identifier.name) throws ${entity.fullyQualifiedDaoDefaultExceptionName} { #set ($argument = $identifier.name) #if($identifier.type.primitive) #**##set ($argument = "new ${identifier.type.wrapperName}(${identifier.name})") #else if ($argument == null) { throw new IllegalArgumentException( "${entity.name}.load - '$argument' can not be null"); } #end try { final Object entity = (${entity.fullyQualifiedEntityName})emanager.find(${entity.fullyQualifiedEntityName}.class, $argument); return transformEntity(transform, ($entity.fullyQualifiedName)entity); } catch (Exception ex) { throw new ${entity.fullyQualifiedDaoDefaultExceptionName}(ex); } } /** * @see ${entity.fullyQualifiedDaoName}#load($identifier.type.fullyQualifiedName) */ public $rootEntityType load($identifier.type.fullyQualifiedName $identifier.name) throws ${entity.fullyQualifiedDaoDefaultExceptionName} { return ($entity.fullyQualifiedEntityName)this.load($entity.daoNoTransformationConstantName, $identifier.name); } /** * @see ${entity.fullyQualifiedDaoName}#loadAll() */ #if ($enableTemplating) @SuppressWarnings({"unchecked"}) #end public $entityCollectionType loadAll() throws ${entity.fullyQualifiedDaoDefaultExceptionName} { return #if ($enableTemplating)($entityCollectionType)#end#**#this.loadAll(TRANSFORM_NONE); } /** * @see ${entity.fullyQualifiedDaoName}#loadAll(int) */ public java.util.Collection loadAll(final int transform) throws ${entity.fullyQualifiedDaoDefaultExceptionName} { try { javax.persistence.Query query = emanager.createQuery("from ${entity.entityName} as entity"); java.util.List<${entity.fullyQualifiedEntityName}> results = query.getResultList(); this.transformEntities(transform, results); return results; } catch (Exception ex) { throw new ${entity.fullyQualifiedDaoDefaultExceptionName}(ex); } } ## Only add these methods if the entity isn't abstract #if (!$entity.abstract) /** * @see ${entity.fullyQualifiedDaoName}#create($entity.fullyQualifiedEntityName) */ public $rootEntityType create($entity.fullyQualifiedEntityName $argumentName) throws ${entity.fullyQualifiedDaoDefaultExceptionName} { return ($entity.fullyQualifiedEntityName)this.create($entity.daoNoTransformationConstantName, $argumentName); } /** * @see ${entity.fullyQualifiedDaoName}#create(int transform, $entity.fullyQualifiedEntityName) */ public Object create(final int transform, final $entity.fullyQualifiedName $argumentName) throws ${entity.fullyQualifiedDaoDefaultExceptionName} { if ($argumentName == null) { throw new IllegalArgumentException( "${entity.name}.create - '$argumentName' can not be null"); } try { emanager.persist(${argumentName}); emanager.flush(); return this.transformEntity(transform, $argumentName); } catch (Exception ex) { throw new ${entity.fullyQualifiedDaoDefaultExceptionName}(ex); } } /** * @see ${entity.fullyQualifiedDaoName}#create($entityCollectionType) */ #**##if ($enableTemplating) @SuppressWarnings({"unchecked"}) #**##end public $entityCollectionType create(final $entityCollectionType entities) throws ${entity.fullyQualifiedDaoDefaultExceptionName} { return create($entity.daoNoTransformationConstantName, entities); } /** * @see ${entity.fullyQualifiedDaoName}#create(int, $entityCollectionType) */ #**##if ($enableTemplating) @SuppressWarnings({"unchecked"}) #**##end public java.util.Collection create(final int transform, final $entityCollectionType entities) throws ${entity.fullyQualifiedDaoDefaultExceptionName} { if (entities == null) { throw new IllegalArgumentException( "${entity.name}.create - 'entities' can not be null"); } java.util.Collection results = new java.util.ArrayList(); try { for (final java.util.Iterator entityIterator = entities.iterator(); entityIterator.hasNext();) { results.add(create(transform, ($entity.fullyQualifiedEntityName)entityIterator.next())); } } catch (Exception ex) { throw new ${entity.fullyQualifiedDaoDefaultExceptionName}(ex); } return results; } #**##if ($enableDaoPropertiesCreateMethod.equalsIgnoreCase('true')) #* *##set ($attributes = $entity.getAttributes(true, $entity.usingAssignedIdentifier)) #* *##if (!$attributes.empty) /** * @see ${rootDaoType}#create(${entity.getAttributeTypeList(true, false)}) */ public $rootEntityType create( #* *##foreach($attribute in $attributes) $attribute.type.fullyQualifiedName $attribute.name#if($velocityCount != $attributes.size()),#else) throws ${entity.fullyQualifiedDaoDefaultExceptionName}#end #* *##end { return ($rootEntityType)this.create($entity.daoNoTransformationConstantName, ${entity.getAttributeNameList(true, $entity.usingAssignedIdentifier)}); } /** * @see ${rootDaoType}#create(int, ${entity.getAttributeTypeList(true, false)}) */ public Object create( final int transform, #* *##foreach($attribute in $attributes) $attribute.type.fullyQualifiedName $attribute.name#if($velocityCount != $attributes.size()),#else) throws ${entity.fullyQualifiedDaoDefaultExceptionName}#end #* *##end { $entity.fullyQualifiedEntityName entity = new ${entity.fullyQualifiedEntityName}(); #* *##foreach ($attribute in $attributes) entity.${attribute.setterName}($attribute.name); #* *##end return this.create(transform, entity); } #* *##end #* *##set ($requiredProperties = $entity.getRequiredProperties(true,false)) #* *##if (!$requiredProperties.empty && $entity.getRequiredAttributes(true,false).size() != $requiredProperties.size()) /** * @see ${entity.fullyQualifiedDaoName}#create(${entity.getRequiredPropertyTypeList(true, false)}) */ public $rootEntityType create( #* *##foreach($property in $requiredProperties) $property.getterSetterTypeName $property.name#if($velocityCount != $requiredProperties.size()),#else) throws ${entity.fullyQualifiedDaoDefaultExceptionName}#end #* *##end { return ($rootEntityType)this.create($entity.daoNoTransformationConstantName, ${entity.getRequiredPropertyNameList(true,false)}); } /** * @see ${entity.fullyQualifiedDaoName}#create(int, ${entity.getRequiredPropertyTypeList(true, false)}) */ public Object create( final int transform, #* *##foreach($property in $requiredProperties) $property.getterSetterTypeName $property.name#if($velocityCount != $requiredProperties.size()),#else) throws ${entity.fullyQualifiedDaoDefaultExceptionName}#end #* *##end { $entity.fullyQualifiedEntityName entity = new ${entity.fullyQualifiedEntityName}(); #* *##foreach ($property in $requiredProperties) entity.${property.setterName}($property.name); #* *##end return this.create(transform, entity); } #* *##end #**##end #end /** * @see ${entity.fullyQualifiedDaoName}#update($entity.fullyQualifiedEntityName) */ public void update($entity.fullyQualifiedEntityName $argumentName) throws ${entity.fullyQualifiedDaoDefaultExceptionName} { if ($argumentName == null) { throw new IllegalArgumentException( "${entity.name}.update - '$argumentName' can not be null"); } try { emanager.merge($argumentName); emanager.flush(); } catch (Exception ex) { throw new ${entity.fullyQualifiedDaoDefaultExceptionName}(ex); } } /** * @see ${rootDaoType}#update($entityCollectionType) */ public void update(final $entityCollectionType entities) throws ${entity.fullyQualifiedDaoDefaultExceptionName} { if (entities == null) { throw new IllegalArgumentException( "${entity.name}.update - 'entities' can not be null"); } try { for (final java.util.Iterator entityIterator = entities.iterator(); entityIterator.hasNext();) { update(($entity.fullyQualifiedEntityName)entityIterator.next()); } } catch (Exception ex) { throw new ${entity.fullyQualifiedDaoDefaultExceptionName}(ex); } } /** * @see ${entity.fullyQualifiedDaoName}#remove($entity.fullyQualifiedEntityName) */ public void remove($entity.fullyQualifiedEntityName $argumentName) throws ${entity.fullyQualifiedDaoDefaultExceptionName} { if ($argumentName == null) { throw new IllegalArgumentException( "${entity.name}.remove - '$argumentName' can not be null"); } try { emanager.remove($argumentName); emanager.flush(); } catch (Exception ex) { throw new ${entity.fullyQualifiedDaoDefaultExceptionName}(ex); } } /** * @see ${entity.fullyQualifiedDaoName}#remove($identifier.type.fullyQualifiedName) */ public void remove($identifier.type.fullyQualifiedName $identifier.name) throws ${entity.fullyQualifiedDaoDefaultExceptionName} { #set ($argument = $identifier.name) #if($identifier.type.primitive) #**##set ($argument = "new ${identifier.type.wrapperName}(${identifier.name})") #else if ($argument == null) { throw new IllegalArgumentException( "${entity.name}.remove - '$identifier.name' can not be null"); } #end #set ($loadCall = "this.load($identifier.name)") #if ($entity.generalization) #**##set ($loadCall = "($entity.fullyQualifiedEntityName)${loadCall}") #end try { final $entity.fullyQualifiedEntityName entity = $loadCall; if (entity != null) { this.remove(entity); } } catch (Exception ex) { throw new ${entity.fullyQualifiedDaoDefaultExceptionName}(ex); } } /** * @see ${rootDaoType}#remove($entityCollectionType) */ public void remove($entityCollectionType entities) throws ${entity.fullyQualifiedDaoDefaultExceptionName} { if (entities == null) { throw new IllegalArgumentException( "${entity.name}.remove - 'entities' can not be null"); } try { for (final java.util.Iterator entityIterator = entities.iterator(); entityIterator.hasNext();) { remove(($entity.fullyQualifiedEntityName)entityIterator.next()); } } catch (Exception ex) { throw new ${entity.fullyQualifiedDaoDefaultExceptionName}(ex); } } #foreach ($finder in $entity.getQueryOperations(true)) #**##set ($returnType = $finder.returnType.fullyQualifiedName) /** * @see ${entity.fullyQualifiedDaoName}#$finder.getSignature(false) */ $finder.visibility $returnType $finder.signature #**##if ($finder.exceptionsPresent) throws $finder.exceptionList, ${entity.fullyQualifiedDaoDefaultExceptionName} #**##else throws ${entity.fullyQualifiedDaoDefaultExceptionName} #**##end { #**##set ($finderCall = "this.${finder.name}($entity.daoNoTransformationConstantName#if(!$finder.arguments.empty), ${finder.argumentNames}#end);") #**##if (!$finder.returnType.collectionType) #* *##set ($finderCall = "($returnType)$finderCall") #**##end return $finderCall } /** * @see ${entity.fullyQualifiedDaoName}#${finder.name}(java.lang.String#if(!$finder.arguments.empty), ${finder.argumentTypeNames}#end) */ $finder.visibility $returnType ${finder.name}(final java.lang.String queryString#if(!$finder.arguments.empty), ${finder.getTypedArgumentList('final')}#end) #**##if ($finder.exceptionsPresent) throws $finder.exceptionList, ${entity.fullyQualifiedDaoDefaultExceptionName} #**##else throws ${entity.fullyQualifiedDaoDefaultExceptionName} #**##end { #**##set ($finderCall = "this.${finder.name}($entity.daoNoTransformationConstantName, queryString#if(!$finder.arguments.empty), ${finder.argumentNames}#end);") #**##if (!$finder.returnType.collectionType) #* *##set ($finderCall = "($returnType)$finderCall") #**##end return $finderCall } #**##if (!$finder.returnType.collectionType) #* *##set ($returnType = "Object") #**##end /** * @see ${entity.fullyQualifiedDaoName}#${finder.name}(int#if(!$finder.arguments.empty), ${finder.argumentTypeNames}#end) */ $finder.visibility $returnType ${finder.name}(final int transform#if(!$finder.arguments.empty), ${finder.getTypedArgumentList('final')}#end) #**##if ($finder.exceptionsPresent) throws $finder.exceptionList, ${entity.fullyQualifiedDaoDefaultExceptionName} #**##else throws ${entity.fullyQualifiedDaoDefaultExceptionName} #**##end { return this.${finder.name}(transform, "$finder.getQuery($entity)"#if(!$finder.arguments.empty), ${finder.argumentNames}#end); } /** * @see ${entity.fullyQualifiedDaoName}#${finder.name}(int, java.lang.String#if(!$finder.arguments.empty), ${finder.argumentTypeNames}#end) */ $finder.visibility $returnType ${finder.name}(final int transform, final java.lang.String queryString#if(!$finder.arguments.empty), ${finder.getTypedArgumentList('final')}#end) #**##if ($finder.exceptionsPresent) throws ${finder.exceptionList}, ${entity.fullyQualifiedDaoDefaultExceptionName} #**##else throws ${entity.fullyQualifiedDaoDefaultExceptionName} #**##end { try { javax.persistence.Query queryObject = emanager.createQuery(queryString); #**##foreach($argument in $finder.arguments) #* *##set ($count = $velocityCount - 1) #* *##set ($argumentValue = $argument.name) #* *##if($argument.type.primitive) #* *##set ($argumentValue = "new ${argument.type.wrapperName}($argument.name)") #* *##elseif ($argument.type.enumeration) #* *##set ($argumentValue = "${argument.name}.getValue()") #* *##end #* *##set ($setParameterOperation = "setParameter") #* *##if ($argument.type.collectionType || $argument.type.arrayType) #* *##set ($setParameterOperation = "${setParameterOperation}List") #* *##end #* *##if ($finder.useNamedParameters) queryObject.${setParameterOperation}("$argument.name", $argumentValue); #* *##else queryObject.${setParameterOperation}($count, $argumentValue); #* *##end #**##end #**##if ($finder.returnType.setType || !$finder.returnType.collectionType) java.util.Set results = new java.util.LinkedHashSet(queryObject.getResultList()); #**##else java.util.List results = queryObject.getResultList(); #**##end #**##if (!$finder.returnType.collectionType) Object result = null; if (results != null) { if (results.size() > 1) { throw new ${entity.fullyQualifiedDaoDefaultExceptionName}( "More than one instance of '${finder.returnType.fullyQualifiedName}" + "' was found when executing query --> '" + queryString + "'"); } else if (results.size() == 1) { result = ($entity.fullyQualifiedName)results.iterator().next(); } } result = transformEntity(transform, ($entity.fullyQualifiedName)result); return result; #**##else transformEntities(transform, results); return results; #**##end } catch (Exception ex) { throw new ${entity.fullyQualifiedDaoDefaultExceptionName}(ex); } } #end #foreach ($operation in $entity.daoBusinessOperations) #**##set ($returnType = $operation.returnType) #**##set ($signature = $operation.signature) /** * @see ${entity.fullyQualifiedDaoName}#${operation.getSignature(false)} */ $operation.visibility $returnType.fullyQualifiedName ${operation.name}(${operation.getTypedArgumentList('final')}) #**##if ($operation.exceptionsPresent) throws $operation.exceptionList #**##end { #**##if ($requiredCheckEnabled) #* *##foreach ($argument in $operation.arguments) #* *##if ($argument.required && !$argument.type.primitive) if ($argument.name == null) { throw new IllegalArgumentException( "${entity.fullyQualifiedDaoName}.${operation.signature} - '${argument.name}' can not be null"); } #* *##end #* *##end #**##end try { #**##set ($call = "this.${operation.implementationCall};") #**##if ($operation.returnTypePresent) return $call #**##else $call #**##end } #**##foreach($exception in $operation.exceptions) catch ($exception.fullyQualifiedName ex) { throw ex; } #**##end catch (Throwable th) { throw new java.lang.RuntimeException( "Error performing '${entity.fullyQualifiedDaoName}.${operation.signature}' --> " + th, th); } } /** * Performs the core logic for {@link #${operation.getSignature(false)}} */ protected abstract $operation.returnType.fullyQualifiedName $operation.implementationSignature throws java.lang.Exception; #end /** * Allows transformation of entities into value objects * (or something else for that matter), when the <code>transform</code> * flag is set to one of the constants defined in <code>$entity.fullyQualifiedDaoName</code>, please note * that the {@link #$entity.daoNoTransformationConstantName} constant denotes no transformation, so the entity itself * will be returned. #if (!$entity.valueObjectReferences.empty) * <p/> * This method will return instances of these types: * <ul> * <li>{@link $entity.fullyQualifiedName} - {@link #$entity.daoNoTransformationConstantName}</li> #**##foreach ($valueObjectRef in $entity.valueObjectReferences) #* *##set ($targetElement = $valueObjectRef.targetElement) * <li>{@link $targetElement.fullyQualifiedName} - {@link ${valueObjectRef.transformationConstantName}}</li> #**##end * </ul> #end * * If the integer argument value is unknown {@link #${entity.daoNoTransformationConstantName}} is assumed. * * @param transform one of the constants declared in {@link $entity.fullyQualifiedDaoName} * @param entity an entity that was found * @return the transformed entity (i.e. new value object, etc) * @see #transformEntities(int,java.util.Collection) */ protected Object transformEntity(final int transform, final $entity.fullyQualifiedName entity) { Object target = null; if (entity != null) { switch (transform) { #foreach ($valueObjectRef in $entity.allValueObjectReferences) case ${valueObjectRef.sourceElement.fullyQualifiedDaoName}.${valueObjectRef.transformationConstantName} : target = ${valueObjectRef.transformationMethodName}(entity); break; #end case $entity.daoNoTransformationConstantName : // fall-through default: target = entity; } } return target; } /** * Transforms a collection of entities using the * {@link #transformEntity(int,$entity.fullyQualifiedName)} * method. This method does not instantiate a new collection. * <p/> * This method is to be used internally only. * * @param transform one of the constants declared in <code>$entity.fullyQualifiedDaoName</code> * @param entities the collection of entities to transform * @return the same collection as the argument, but this time containing the transformed entities * @see #transformEntity(int,$entity.fullyQualifiedName) */ protected void transformEntities(final int transform, final java.util.Collection entities) { switch (transform) { #foreach ($valueObjectRef in $entity.allValueObjectReferences) case ${valueObjectRef.sourceElement.fullyQualifiedDaoName}.${valueObjectRef.transformationConstantName} : ${valueObjectRef.transformationToCollectionMethodName}(entities); break; #end case $entity.daoNoTransformationConstantName : // fall-through default: // do nothing; } } #foreach ($valueObjectRef in $entity.valueObjectReferences) /** * @see ${entity.fullyQualifiedDaoName}#${valueObjectRef.transformationToCollectionMethodName}(java.util.Collection) */ public final void ${valueObjectRef.transformationToCollectionMethodName}(java.util.Collection entities) { if (entities != null) { org.apache.commons.collections.CollectionUtils.transform(entities, ${valueObjectRef.transformationAnonymousName}); } } /** * Default implementation for transforming the results of a report query into a value object. This * implementation exists for convenience reasons only. It needs only be overridden in the * {@link $entity.daoImplementationName} class if you intend to use reporting queries. * @see ${entity.fullyQualifiedDaoName}#${valueObjectRef.transformationMethodName}($entity.fullyQualifiedName) */ protected $valueObjectRef.targetElement.fullyQualifiedName ${valueObjectRef.transformationMethodName}(Object[] row) { $valueObjectRef.targetElement.fullyQualifiedName target = null; if (row != null) { final int numberOfObjects = row.length; for (int ctr = 0; ctr < numberOfObjects; ctr++) { final Object object = row[ctr]; if (object instanceof $entity.fullyQualifiedEntityName) { target = this.${valueObjectRef.transformationMethodName}(($entity.fullyQualifiedEntityName)object); break; } } } return target; } /** * This anonymous transformer is designed to transform entities or report query results * (which result in an array of objects) to {@link ${valueObjectRef.targetElement.fullyQualifiedName}} * using the Jakarta Commons-Collections Transformation API. */ private org.apache.commons.collections.Transformer $valueObjectRef.transformationAnonymousName = new org.apache.commons.collections.Transformer() { public Object transform(Object input) { Object result = null; if (input instanceof $entity.fullyQualifiedEntityName) { result = ${valueObjectRef.transformationMethodName}(($entity.fullyQualifiedEntityName)input); } else if (input instanceof Object[]) { result = ${valueObjectRef.transformationMethodName}((Object[])input); } return result; } }; /** * @see ${entity.fullyQualifiedDaoName}#${valueObjectRef.transformationToEntityCollectionMethodName}(java.util.Collection) */ public final void ${valueObjectRef.transformationToEntityCollectionMethodName}(java.util.Collection instances) { if (instances != null) { for (final java.util.Iterator iterator = instances.iterator(); iterator.hasNext();) { // - remove an objects that are null or not of the correct instance if (!(iterator.next() instanceof $valueObjectRef.targetElement.fullyQualifiedName)) { iterator.remove(); } } org.apache.commons.collections.CollectionUtils.transform(instances, $valueObjectRef.valueObjectToEntityTransformerName); } } private final org.apache.commons.collections.Transformer $valueObjectRef.valueObjectToEntityTransformerName = new org.apache.commons.collections.Transformer() { public Object transform(Object input) { return ${valueObjectRef.transformationToEntityMethodName}(($valueObjectRef.targetElement.fullyQualifiedName)input); } }; /** * @see ${entity.fullyQualifiedDaoName}#${valueObjectRef.transformationMethodName}($entity.fullyQualifiedEntityName, $valueObjectRef.targetElement.fullyQualifiedName) */ public void ${valueObjectRef.transformationMethodName}( $entity.fullyQualifiedEntityName source, $valueObjectRef.targetElement.fullyQualifiedName target) { #set ($entityProperties = $entity.allProperties) #foreach ($property in $valueObjectRef.targetElement.allProperties) #* *##foreach ($entityProperty in $entityProperties) #* *##if ($property.name.equals($entityProperty.name)) #* *##set ($entityPropertyGetterValue = false) #* *##set ($entityPropertyGetterValue = $converter.typeConvert($entityProperty.type.fullyQualifiedName, "source.${entityProperty.getterName}()", $property.type.fullyQualifiedName)) #* *##if ($entityPropertyGetterValue) target.${property.setterName}($entityPropertyGetterValue); #* *##else // No conversion for target.${property.name} (can't convert source.${entityProperty.getterName}():${entityProperty.type.fullyQualifiedName} to $property.type.fullyQualifiedName) #* *##end #* *##end #* *##end #end } /** * @see ${entity.fullyQualifiedDaoName}#${valueObjectRef.transformationMethodName}($entity.fullyQualifiedName) */ public $valueObjectRef.targetElement.fullyQualifiedName ${valueObjectRef.transformationMethodName}(final $entity.fullyQualifiedName entity) { final $valueObjectRef.targetElement.fullyQualifiedName target = new ${valueObjectRef.targetElement.fullyQualifiedName}(); this.${valueObjectRef.transformationMethodName}(entity, target); return target; } /** * @see ${entity.fullyQualifiedDaoName}#${valueObjectRef.transformationToEntityMethodName}($valueObjectRef.targetElement.fullyQualifiedName, $entity.fullyQualifiedEntityName) */ public void ${valueObjectRef.transformationToEntityMethodName}( $valueObjectRef.targetElement.fullyQualifiedName source, $entity.fullyQualifiedEntityName target, boolean copyIfNull) { #set ($entityAttributes = $entity.getAttributes(true, $entity.usingAssignedIdentifier)) #foreach ($entityProperty in $entityAttributes) #* *##if (!$entityProperty.readOnly) #* *##foreach ($property in $valueObjectRef.targetElement.allProperties) #* *##if ($property.name.equals($entityProperty.name)) #* *##set ($propertyGetterValue = false) #* *##set ($propertyGetterValue = $converter.typeConvert($property.type.fullyQualifiedName, "source.${property.getterName}()", $entityProperty.type.fullyQualifiedName)) #* *##if ($propertyGetterValue) if (copyIfNull || source.${property.getterName}() != $property.type.javaNullString) { target.${entityProperty.setterName}($propertyGetterValue); } #* *##else // No conversion for target.${entityProperty.name} (can't convert source.${property.getterName}():${property.type.fullyQualifiedName} to $entityProperty.type.fullyQualifiedName) #* *##end #* *##end #* *##end #**##end #end } #end } 1.1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/DaoLocal.vsl Index: DaoLocal.vsl =================================================================== // license-header java merge-point // // Attention: Generated code! Do not modify by hand! // Generated by: SessionDaoLocal.vsl in andromda-ejb3-cartridge. // #set ($generatedFile = "${entity.packagePath}/${entity.daoName}.java") #if ($enableTemplating) #**##set ($entityCollectionType = "java.util.Collection<${entity.fullyQualifiedEntityName}>") #else #**##set ($entityCollectionType = "java.util.Collection") #end #if ($stringUtils.isNotBlank($entity.packageName)) package $entity.packageName; #end #set ($superclass = $entity.generalization) #set ($daoInheritance = $superclass && $daoInheritanceEnabled) #if ($daoInheritance) #**##set ($rootEntityType = $entity.root.fullyQualifiedEntityName) #else #**##set ($rootEntityType = $entity.fullyQualifiedEntityName) #end /** * @see $entity.fullyQualifiedEntityName */ public interface $entity.daoName #if ($daoInheritance) extends $superclass.fullyQualifiedDaoName #end { #if (!$daoInheritance) /** * This constant is used as a transformation flag; entities can be converted automatically into value objects * or other types, different methods in a class implementing this interface support this feature: look for * an <code>int</code> parameter called <code>transform</code>. * <p/> * This specific flag denotes no transformation will occur. */ public final static int $entity.daoNoTransformationConstantName = 0; #end #foreach ($valueObjectRef in $entity.valueObjectReferences) /** * This constant is used as a transformation flag; entities can be converted automatically into value objects * or other types, different methods in a class implementing this interface support this feature: look for * an <code>int</code> parameter called <code>transform</code>. * <p/> * This specific flag denotes entities must be transformed into objects of type * {@link $valueObjectRef.targetElement.fullyQualifiedName}. */ public final static int $valueObjectRef.transformationConstantName = $valueObjectRef.transformationConstantValue; /** * Copies the fields of the specified entity to the target value object. This method is similar to * ${valueObjectRef.transformationMethodName}(), but it does not handle any attributes in the target * value object that are "read-only" (as those do not have setter methods exposed). */ public void ${valueObjectRef.transformationMethodName}( $entity.fullyQualifiedEntityName sourceEntity, $valueObjectRef.targetElement.fullyQualifiedName targetVO); /** * Converts this DAO's entity to an object of type {@link $valueObjectRef.targetElement.fullyQualifiedName}. */ public $valueObjectRef.targetElement.fullyQualifiedName ${valueObjectRef.transformationMethodName}($entity.fullyQualifiedEntityName entity); /** * Converts this DAO's entity to a Collection of instances of type {@link $valueObjectRef.targetElement.fullyQualifiedName}. */ public void ${valueObjectRef.transformationToCollectionMethodName}(java.util.Collection entities); /** * Copies the fields of {@link $valueObjectRef.targetElement.fullyQualifiedName} to the specified entity. * @param copyIfNull If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, * it will be copied regardless of its value. */ public void ${valueObjectRef.transformationToEntityMethodName}( $valueObjectRef.targetElement.fullyQualifiedName sourceVO, $entity.fullyQualifiedEntityName targetEntity, boolean copyIfNull); /** * Converts an instance of type {@link $valueObjectRef.targetElement.fullyQualifiedName} to this DAO's entity. */ public $entity.fullyQualifiedEntityName ${valueObjectRef.transformationToEntityMethodName}($valueObjectRef.targetElement.fullyQualifiedName $stringUtils.uncapitalize($valueObjectRef.name)); /** * Converts a Collection of instances of type {@link $valueObjectRef.targetElement.fullyQualifiedName} to this * DAO's entity. */ public void ${valueObjectRef.transformationToEntityCollectionMethodName}(java.util.Collection instances); #end #set ($identifier = $entity.identifiers.iterator().next()) #set ($argumentName = $stringUtils.uncapitalize($entity.name)) /** * Loads an instance of $entity.fullyQualifiedEntityName from the persistent store. * @throws ${entity.fullyQualifiedDaoDefaultExceptionName} */ public $rootEntityType load($identifier.type.fullyQualifiedName $identifier.name) throws ${entity.fullyQualifiedDaoDefaultExceptionName}; /** * <p> * Does the same thing as {@link #load($identifier.type.fullyQualifiedName)} with an * additional flag called <code>transform</code>. If this flag is set to <code>$entity.daoNoTransformationConstantName</code> then * the returned entity will <strong>NOT</strong> be transformed. If this flag is any of the other constants * defined in this class then the result <strong>WILL BE</strong> passed through an operation which can * optionally transform the entity (into a value object for example). By default, transformation does * not occur. * </p> * * @param $identifier.name the identifier of the entity to load. * @return either the entity or the object transformed from the entity. * @throws ${entity.fullyQualifiedDaoDefaultExceptionName} */ public Object load(int transform, $identifier.type.fullyQualifiedName $identifier.name) throws ${entity.fullyQualifiedDaoDefaultExceptionName}; /** * Loads all entities of type {@link ${entity.fullyQualifiedEntityName}}. * * @return the loaded entities. * @throws ${entity.fullyQualifiedDaoDefaultExceptionName} */ public $entityCollectionType loadAll() throws ${entity.fullyQualifiedDaoDefaultExceptionName}; /** * <p> * Does the same thing as {@link #loadAll()} with an * additional flag called <code>transform</code>. If this flag is set to <code>$entity.daoNoTransformationConstantName</code> then * the returned entity will <strong>NOT</strong> be transformed. If this flag is any of the other constants * defined here then the result <strong>WILL BE</strong> passed through an operation which can optionally * transform the entity (into a value object for example). By default, transformation does * not occur. * </p> * * @param transform the flag indicating what transformation to use. * @return the loaded entities. * @throws ${entity.fullyQualifiedDaoDefaultExceptionName} */ public java.util.Collection loadAll(final int transform) throws ${entity.fullyQualifiedDaoDefaultExceptionName}; ## Only add these methods if the entity isn't abstract #if (!$entity.abstract) /** * Creates an instance of $entity.fullyQualifiedEntityName and adds it to the persistent store. * @throws ${entity.fullyQualifiedDaoDefaultExceptionName} */ public $rootEntityType create($entity.fullyQualifiedEntityName $argumentName) throws ${entity.fullyQualifiedDaoDefaultExceptionName}; /** * <p> * Does the same thing as {@link #create($entity.fullyQualifiedEntityName)} with an * additional flag called <code>transform</code>. If this flag is set to <code>$entity.daoNoTransformationConstantName</code> then * the returned entity will <strong>NOT</strong> be transformed. If this flag is any of the other constants * defined here then the result <strong>WILL BE</strong> passed through an operation which can optionally * transform the entity (into a value object for example). By default, transformation does * not occur. * </p> * * @throws ${entity.fullyQualifiedDaoDefaultExceptionName} */ public Object create(int transform, $entity.fullyQualifiedEntityName $argumentName) throws ${entity.fullyQualifiedDaoDefaultExceptionName}; /** * Creates a new instance of $entity.fullyQualifiedEntityName and adds * from the passed in <code>entities</code> collection * * @param entities the collection of $entity.fullyQualifiedEntityName * instances to create. * * @return the created instances. * @throws ${entity.fullyQualifiedDaoDefaultExceptionName} */ public $entityCollectionType create($entityCollectionType entities) throws ${entity.fullyQualifiedDaoDefaultExceptionName}; /** * <p> * Does the same thing as {@link #create($entity.fullyQualifiedEntityName)} with an * additional flag called <code>transform</code>. If this flag is set to <code>$entity.daoNoTransformationConstantName</code> then * the returned entity will <strong>NOT</strong> be transformed. If this flag is any of the other constants * defined here then the result <strong>WILL BE</strong> passed through an operation which can optionally * transform the entities (into value objects for example). By default, transformation does * not occur. * </p> * * @throws ${entity.fullyQualifiedDaoDefaultExceptionName} */ public java.util.Collection create(int transform, $entityCollectionType entities) throws ${entity.fullyQualifiedDaoDefaultExceptionName}; #**##if ($enableDaoPropertiesCreateMethod.equalsIgnoreCase('true')) #* *##set ($attributes = $entity.getAttributes(true, $entity.usingAssignedIdentifier)) #* *##if (!$attributes.empty) /** * <p> * Creates a new <code>$entity.fullyQualifiedEntityName</code> * instance from <strong>all</strong> attributes and adds it to * the persistent store. * </p> */ public $rootEntityType create( #* *##foreach($attribute in $attributes) $attribute.type.fullyQualifiedName $attribute.name#if($velocityCount != $attributes.size()),#else) throws ${entity.fullyQualifiedDaoDefaultExceptionName};#end #* *##end /** * <p> * Does the same thing as {@link #create($entity.getAttributeTypeList(true,false))} with an * additional flag called <code>transform</code>. If this flag is set to <code>$entity.daoNoTransformationConstantName</code> then * the returned entity will <strong>NOT</strong> be transformed. If this flag is any of the other constants * defined here then the result <strong>WILL BE</strong> passed through an operation which can optionally * transform the entity (into a value object for example). By default, transformation does * not occur. * </p> * * @throws ${entity.fullyQualifiedDaoDefaultExceptionName} */ public Object create( int transform, #* *##foreach($attribute in $attributes) $attribute.type.fullyQualifiedName $attribute.name#if($velocityCount != $attributes.size()),#else) throws ${entity.fullyQualifiedDaoDefaultExceptionName};#end #* *##end #* *##end #* *##set ($requiredProperties = $entity.getRequiredProperties(true,false)) #* *##if (!$requiredProperties.empty && $entity.getRequiredAttributes(true,false).size() != $requiredProperties.size()) /** * <p> * Creates a new <code>$entity.fullyQualifiedEntityName</code> * instance from only <strong>required</strong> properties (attributes * and association ends) and adds it to the persistent store. * </p> * * @throws ${entity.fullyQualifiedDaoDefaultExceptionName} */ public $rootEntityType create( #* *##foreach($property in $requiredProperties) $property.getterSetterTypeName $property.name#if($velocityCount != $requiredProperties.size()),#else) throws ${entity.fullyQualifiedDaoDefaultExceptionName};#end #* *##end /** * <p> * Does the same thing as {@link #create($entity.getRequiredAttributeTypeList(true,false))} with an * additional flag called <code>transform</code>. If this flag is set to <code>$entity.daoNoTransformationConstantName</code> then * the returned entity will <strong>NOT</strong be transformed. If this flag is any of the other constants * defined here then the result <strong>WILL BE</strong> passed through an operation which can optionally * transform the entity (into a value object for example). By default, transformation does * not occur. * </p> * * @throws ${entity.fullyQualifiedDaoDefaultExceptionName} */ public Object create( int transform, #* *##foreach($property in $requiredProperties) $property.getterSetterTypeName $property.name#if($velocityCount != $requiredProperties.size()),#else) throws ${entity.fullyQualifiedDaoDefaultExceptionName};#end #* *##end #* *##end #**##end #end /** * Updates the <code>$argumentName</code> instance in the persistent store. * @throws ${entity.fullyQualifiedDaoDefaultExceptionName} */ public void update($entity.fullyQualifiedEntityName $argumentName) throws ${entity.fullyQualifiedDaoDefaultExceptionName}; /** * Updates all instances in the <code>entities</code> collection in the persistent store. * @throws ${entity.fullyQualifiedDaoDefaultExceptionName} */ public void update($entityCollectionType entities) throws ${entity.fullyQualifiedDaoDefaultExceptionName}; /** * Removes the instance of $entity.fullyQualifiedEntityName from the persistent store. * @throws ${entity.fullyQualifiedDaoDefaultExceptionName} */ public void remove($entity.fullyQualifiedEntityName $argumentName) throws ${entity.fullyQualifiedDaoDefaultExceptionName}; /** * Removes the instance of $entity.fullyQualifiedEntityName having the given * <code>identifier</code> from the persistent store. * @throws ${entity.fullyQualifiedDaoDefaultExceptionName} */ public void remove($identifier.type.fullyQualifiedName $identifier.name) throws ${entity.fullyQualifiedDaoDefaultExceptionName}; /** * Removes all entities in the given <code>entities<code> collection. * @throws ${entity.fullyQualifiedDaoDefaultExceptionName} */ public void remove($entityCollectionType entities) throws ${entity.fullyQualifiedDaoDefaultExceptionName}; #foreach ($operation in $entity.queryOperations) #**##set ($returnType = $operation.returnType.fullyQualifiedName) /** $operation.getDocumentation(" * ") */ #**##if ($operation.exceptionsPresent) $operation.visibility $returnType $operation.signature throws $operation.exceptionList, ${entity.fullyQualifiedDaoDefaultExceptionName}; #**##else $operation.visibility $returnType $operation.signature throws ${entity.fullyQualifiedDaoDefaultExceptionName}; #**##end /** * <p> * Does the same thing as {@link #${operation.getSignature(false)}} with an * additional argument called <code>queryString</code>. This <code>queryString</code> * argument allows you to override the query string defined in {@link #${operation.getSignature(false)}}. * </p> */ #**##if ($operation.exceptionsPresent) $operation.visibility $returnType ${operation.name}(String queryString#if(!$operation.arguments.empty), ${operation.typedArgumentList}#end) throws $operation.exceptionList, ${entity.fullyQualifiedDaoDefaultExceptionName}; #**##else $operation.visibility $returnType ${operation.name}(String queryString#if(!$operation.arguments.empty), ${operation.typedArgumentList}#end) throws ${entity.fullyQualifiedDaoDefaultExceptionName}; #**##end #**##if ($operation.query && !$operation.returnType.collectionType) #set ($returnType = "Object") #**##end /** * <p> * Does the same thing as {@link #${operation.getSignature(false)}} with an * additional flag called <code>transform</code>. If this flag is set to <code>$entity.daoNoTransformationConstantName</code> then * finder results will <strong>NOT</strong> be transformed during retrieval. * If this flag is any of the other constants defined here * then finder results <strong>WILL BE</strong> passed through an operation which can optionally * transform the entities (into value objects for example). By default, transformation does * not occur. * </p> */ #**##if ($operation.exceptionsPresent) $operation.visibility $returnType ${operation.name}(int transform#if(!$operation.arguments.empty), ${operation.typedArgumentList}#end) throws $operation.exceptionList, ${entity.fullyQualifiedDaoDefaultExceptionName}; #**##else $operation.visibility $returnType ${operation.name}(int transform#if(!$operation.arguments.empty), ${operation.typedArgumentList}#end) throws ${entity.fullyQualifiedDaoDefaultExceptionName}; #**##end /** * <p> * Does the same thing as {@link #${operation.name}(boolean#if(!$operation.arguments.empty), ${operation.argumentTypeNames}#end)} with an * additional argument called <code>queryString</code>. This <code>queryString</code> * argument allows you to override the query string defined in {@link #${operation.name}(int#if(!$operation.arguments.empty), ${operation.typedArgumentList}#end)}. * </p> */ #**##if ($operation.exceptionsPresent) $operation.visibility $returnType ${operation.name}(int transform, String queryString#if(!$operation.arguments.empty), ${operation.typedArgumentList}#end) throws $operation.exceptionList, ${entity.fullyQualifiedDaoDefaultExceptionName}; #**##else $operation.visibility $returnType ${operation.name}(int transform, String queryString#if(!$operation.arguments.empty), ${operation.typedArgumentList}#end) throws ${entity.fullyQualifiedDaoDefaultExceptionName}; #**##end #end #foreach ($operation in $entity.daoBusinessOperations) #**##set ($returnType = $operation.returnType.fullyQualifiedName) /** $operation.getDocumentation(" * ") */ #**##if ($operation.exceptionsPresent) $operation.visibility $returnType $operation.signature throws $operation.exceptionList; #**##else $operation.visibility $returnType $operation.signature; #**##end #end } 1.1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/DaoDefaultException.vsl Index: DaoDefaultException.vsl =================================================================== // license-header java merge-point // // Attention: Generated code! Do not modify by hand!! // Generated by: DaoDefaultException.vsl in andromda-java-cartridge. // #set ($generatedFile = "${stringUtils.replace($entity.fullyQualifiedDaoDefaultExceptionName,'.','/')}.java") #if ($stringUtils.isNotBlank($entity.packageName)) package $entity.packageName; #end import org.apache.commons.beanutils.PropertyUtils; /** $entity.getDocumentation(" * ") */ public class ${entity.daoDefaultExceptionName} extends java.lang.Exception { /** * The default constructor. */ public ${entity.daoDefaultExceptionName}() {} /** * Constructs a new instance of ${entity.daoDefaultExceptionName} * * @param throwable the parent Throwable */ public ${entity.daoDefaultExceptionName}(Throwable throwable) { super(f... [truncated message content] |
From: Naresh B. <nb...@us...> - 2006-04-19 23:31:29
|
User: nbhatia Date: 06/04/19 16:31:29 Modified: etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn AssemblyInfo.cs etc/andromda-dotnet/AndroMDA.VS80AddIn Readme.doc Log: Prepared for release 1.0.1.0 Revision Changes Path 1.3 +1 -1 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/AssemblyInfo.cs Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/AssemblyInfo.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- AssemblyInfo.cs 18 Apr 2006 17:18:51 -0000 1.2 +++ AssemblyInfo.cs 19 Apr 2006 23:31:29 -0000 1.3 @@ -34,7 +34,7 @@ // You can specify all the value or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyVersion("1.0.1.0")] // // In order to sign your assembly you must specify a key to use. Refer to the 1.2 +25 -43 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/Readme.doc <<Binary file>> |
From: Naresh B. <nb...@us...> - 2006-04-19 23:30:54
|
User: nbhatia Date: 06/04/19 16:30:53 Modified: etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn AndroMDA.VS80AddIn.csproj Log: Changed output locations to bin directory. Removed reference to Microsoft.ApplicationBlocks.UIProcess.dll Revision Changes Path 1.3 +2 -3 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn.csproj Index: AndroMDA.VS80AddIn.csproj =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn.csproj,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- AndroMDA.VS80AddIn.csproj 18 Apr 2006 17:18:51 -0000 1.2 +++ AndroMDA.VS80AddIn.csproj 19 Apr 2006 23:30:52 -0000 1.3 @@ -15,7 +15,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> <Optimize>false</Optimize> - <OutputPath>C:\Documents and Settings\cmical\My Documents\Visual Studio 2005\Addins\</OutputPath> + <OutputPath>bin\Debug\</OutputPath> <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging> <DefineConstants>DEBUG;TRACE</DefineConstants> <WarningLevel>4</WarningLevel> @@ -24,7 +24,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugSymbols>false</DebugSymbols> <Optimize>true</Optimize> - <OutputPath>C:\Documents and Settings\cmical\My Documents\Visual Studio 2005\Addins\</OutputPath> + <OutputPath>bin\Release\</OutputPath> <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging> <DefineConstants>TRACE</DefineConstants> <WarningLevel>4</WarningLevel> @@ -279,7 +279,6 @@ <None Include="Resources\Lib\HashCodeProvider.dll" /> <None Include="Resources\Lib\Iesi.Collections.dll" /> <None Include="Resources\Lib\log4net.dll" /> - <None Include="Resources\Lib\Microsoft.ApplicationBlocks.UIProcess.dll" /> <None Include="Resources\Lib\NHibernate.Caches.Prevalence.dll" /> <None Include="Resources\Lib\NHibernate.Caches.SysCache.dll" /> <None Include="Resources\Lib\NHibernate.dll" /> |
From: Naresh B. <nb...@us...> - 2006-04-19 22:49:46
|
User: nbhatia Date: 06/04/19 15:49:46 Modified: etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/Lib AndroMDA.NHibernateSupport.dll Castle.DynamicProxy.dll HashCodeProvider.dll Iesi.Collections.dll NHibernate.Caches.Prevalence.dll NHibernate.Caches.SysCache.dll NHibernate.Nullables2.dll NHibernate.dll Log: Upgrades to NHibernate 1.0.2.0 and all dependent dlls. Revision Changes Path 1.2 +8 -6 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/Lib/AndroMDA.NHibernateSupport.dll <<Binary file>> 1.2 +1165 -973 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/Lib/Castle.DynamicProxy.dll <<Binary file>> 1.2 +6 -5 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/Lib/HashCodeProvider.dll <<Binary file>> 1.2 +4 -4 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/Lib/Iesi.Collections.dll <<Binary file>> 1.2 +57 -51 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/Lib/NHibernate.Caches.Prevalence.dll <<Binary file>> 1.2 +91 -84 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/Lib/NHibernate.Caches.SysCache.dll <<Binary file>> 1.2 +154 -152 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/Lib/NHibernate.Nullables2.dll <<Binary file>> 1.2 +14082 -13090plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/Lib/NHibernate.dll <<Binary file>> |
From: Chris M. <cm...@us...> - 2006-04-19 04:23:48
|
User: cmicali Date: 06/04/18 21:23:44 Modified: etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/mda/conf andromda.xml Log: Revision Changes Path 1.2 +3 -0 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/mda/conf/andromda.xml Index: andromda.xml =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/mda/conf/andromda.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- andromda.xml 18 Apr 2006 16:14:45 -0000 1.1 +++ andromda.xml 19 Apr 2006 04:23:44 -0000 1.2 @@ -95,6 +95,9 @@ <property name="springTypesPackage">${application.package}.Domain</property> <property name="daos">${maven.andromda.core.generated.dir}</property> <property name="dao-impls">${maven.andromda.core.manual.dir}</property> + <property name="services">${maven.andromda.core.generated.dir}</property> + <property name="service-interfaces">${maven.andromda.core.generated.dir}</property> + <property name="service-impls">${maven.andromda.core.manual.dir}</property> </properties> </namespace> </namespaces> |
From: Chris M. <cm...@us...> - 2006-04-18 17:18:53
|
User: cmicali Date: 06/04/18 10:18:51 Modified: etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn AddInSettings.cs AndroMDA.VS80AddIn.AddIn AndroMDA.VS80AddIn.csproj AssemblyInfo.cs MDASolutionProcessor.cs Resource1.Designer.cs Resource1.resx etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Commands OpenModelCommand.cs etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs AboutOptionsPage.designer.cs Added: etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs ExternalToolsOptionsPage.cs ExternalToolsOptionsPage.designer.cs ExternalToolsOptionsPage.resx GeneralOptionsPage.Designer.cs GeneralOptionsPage.cs GeneralOptionsPage.resx MDAOptionPageProperties.cs Removed: etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs MDAOptionsPage.cs MDAOptionsPage.designer.cs MDAOptionsPage.resx etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/Lib Microsoft.ApplicationBlocks.UIProcess.dll Log: - Split the options page into 2 pages - Added show open model button option - Added make model file writable option - Removed UI process DLL from the resources Revision Changes Path 1.2 +15 -3 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/AddInSettings.cs Index: AddInSettings.cs =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/AddInSettings.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- AddInSettings.cs 18 Apr 2006 16:14:43 -0000 1.1 +++ AddInSettings.cs 18 Apr 2006 17:18:50 -0000 1.2 @@ -22,7 +22,7 @@ public class AddInSettings { - public const int ADDIN_BUILD = 6; + public const int ADDIN_SETTINGS_VERSION = 7; #region Member variables @@ -36,10 +36,10 @@ m_applicationObject = applicationObject; m_settings = new SettingsManager(m_applicationObject); //FirstRun = true; - if (FirstRun || AddInBuild < ADDIN_BUILD) + if (FirstRun || AddInBuild < ADDIN_SETTINGS_VERSION) { FirstRun = false; - AddInBuild = ADDIN_BUILD; + AddInBuild = ADDIN_SETTINGS_VERSION; ResyncIgnoreList = "CVS;.cvsignore;.svn;.svnignore"; string mavenHome = System.Environment.GetEnvironmentVariable("MAVEN_HOME"); if (mavenHome != string.Empty) @@ -97,6 +97,12 @@ set { m_settings["AMDAMgcDrawPth"] = value; } } + public bool AutoMakeModelFileWritable + { + get { return m_settings.GetBool("AMDAMdlWritbl", false); } + set { m_settings.SetBool("AMDAMdlWritbl", value); } + } + #endregion #region Maven settings @@ -189,6 +195,12 @@ set { m_settings.SetBool("ADMAShowAbout", value); } } + public bool ShowOpenModelButton + { + get { return m_settings.GetBool("ADMAShowOMdl", true); } + set { m_settings.SetBool("ADMAShowOMdl", value); } + } + /* private string GetCommandSetting(AddInCommandBase command, string setting) { 1.2 +5 -7 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn.AddIn Index: AndroMDA.VS80AddIn.AddIn =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn.AddIn,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- AndroMDA.VS80AddIn.AddIn 18 Apr 2006 16:14:43 -0000 1.1 +++ AndroMDA.VS80AddIn.AddIn 18 Apr 2006 17:18:50 -0000 1.2 @@ -18,16 +18,14 @@ <ToolsOptionsPage> <Category Name="AndroMDA"> - <SubCategory Name="Settings"> + <SubCategory Name="External Tools"> <Assembly>AndroMDA.VS80AddIn.dll</Assembly> - <FullClassName>AndroMDA.VS80AddIn.Dialogs.MDAOptionsPage</FullClassName> + <FullClassName>AndroMDA.VS80AddIn.Dialogs.ExternalToolsOptionsPage</FullClassName> </SubCategory> -<!-- - <SubCategory Name="About" > + <SubCategory Name="General"> <Assembly>AndroMDA.VS80AddIn.dll</Assembly> - <FullClassName>AndroMDA.VS80AddIn.Dialogs.AboutOptionsPage</FullClassName> + <FullClassName>AndroMDA.VS80AddIn.Dialogs.GeneralOptionsPage</FullClassName> </SubCategory> ---> </Category> </ToolsOptionsPage> 1.2 +17 -6 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn.csproj Index: AndroMDA.VS80AddIn.csproj =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn.csproj,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- AndroMDA.VS80AddIn.csproj 18 Apr 2006 16:14:43 -0000 1.1 +++ AndroMDA.VS80AddIn.csproj 18 Apr 2006 17:18:51 -0000 1.2 @@ -1,4 +1,4 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> @@ -71,11 +71,18 @@ <Compile Include="Dialogs\AddInWelcome.Designer.cs"> <DependentUpon>AddInWelcome.cs</DependentUpon> </Compile> - <Compile Include="Dialogs\MDAOptionsPage.cs"> + <Compile Include="Dialogs\GeneralOptionsPage.cs"> <SubType>UserControl</SubType> </Compile> - <Compile Include="Dialogs\MDAOptionsPage.designer.cs"> - <DependentUpon>MDAOptionsPage.cs</DependentUpon> + <Compile Include="Dialogs\GeneralOptionsPage.Designer.cs"> + <DependentUpon>GeneralOptionsPage.cs</DependentUpon> + </Compile> + <Compile Include="Dialogs\MDAOptionPageProperties.cs" /> + <Compile Include="Dialogs\ExternalToolsOptionsPage.cs"> + <SubType>UserControl</SubType> + </Compile> + <Compile Include="Dialogs\ExternalToolsOptionsPage.designer.cs"> + <DependentUpon>ExternalToolsOptionsPage.cs</DependentUpon> </Compile> <Compile Include="Dialogs\MDAProjectSetupControl.cs"> <SubType>UserControl</SubType> @@ -207,8 +214,12 @@ <SubType>Designer</SubType> <DependentUpon>AddInWelcome.cs</DependentUpon> </EmbeddedResource> - <EmbeddedResource Include="Dialogs\MDAOptionsPage.resx"> - <DependentUpon>MDAOptionsPage.cs</DependentUpon> + <EmbeddedResource Include="Dialogs\GeneralOptionsPage.resx"> + <SubType>Designer</SubType> + <DependentUpon>GeneralOptionsPage.cs</DependentUpon> + </EmbeddedResource> + <EmbeddedResource Include="Dialogs\ExternalToolsOptionsPage.resx"> + <DependentUpon>ExternalToolsOptionsPage.cs</DependentUpon> <SubType>Designer</SubType> </EmbeddedResource> <EmbeddedResource Include="Dialogs\MDAProjectSetupControl.resx"> 1.2 +1 -1 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/AssemblyInfo.cs Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/AssemblyInfo.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- AssemblyInfo.cs 18 Apr 2006 16:14:43 -0000 1.1 +++ AssemblyInfo.cs 18 Apr 2006 17:18:51 -0000 1.2 @@ -34,7 +34,7 @@ // You can specify all the value or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] // // In order to sign your assembly you must specify a key to use. Refer to the 1.2 +0 -1 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/MDASolutionProcessor.cs Index: MDASolutionProcessor.cs =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/MDASolutionProcessor.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- MDASolutionProcessor.cs 18 Apr 2006 16:14:43 -0000 1.1 +++ MDASolutionProcessor.cs 18 Apr 2006 17:18:51 -0000 1.2 @@ -201,7 +201,6 @@ WriteFile(basePath + "\\Lib\\HashCodeProvider.dll", Resource1.lib_HashCodeProvider_dll); WriteFile(basePath + "\\Lib\\Iesi.Collections.dll", Resource1.lib_Iesi_Collections_dll); WriteFile(basePath + "\\Lib\\log4net.dll", Resource1.lib_log4net_dll); - WriteFile(basePath + "\\Lib\\Microsoft.ApplicationBlocks.UIProcess.dll", Resource1.lib_Microsoft_ApplicationBlocks_UIProcess_dll); WriteFile(basePath + "\\Lib\\NHibernate.Caches.Prevalence.dll", Resource1.lib_NHibernate_Caches_Prevalence_dll); WriteFile(basePath + "\\Lib\\NHibernate.Caches.SysCache.dll", Resource1.lib_NHibernate_Caches_SysCache_dll); WriteFile(basePath + "\\Lib\\NHibernate.dll", Resource1.lib_NHibernate_dll); 1.2 +2 -10 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resource1.Designer.cs Index: Resource1.Designer.cs =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resource1.Designer.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- Resource1.Designer.cs 18 Apr 2006 16:14:43 -0000 1.1 +++ Resource1.Designer.cs 18 Apr 2006 17:18:51 -0000 1.2 @@ -140,13 +140,6 @@ } } - internal static byte[] lib_Microsoft_ApplicationBlocks_UIProcess_dll { - get { - object obj = ResourceManager.GetObject("lib_Microsoft_ApplicationBlocks_UIProcess_dll", resourceCulture); - return ((byte[])(obj)); - } - } - internal static byte[] lib_NHibernate_Caches_Prevalence_dll { get { object obj = ResourceManager.GetObject("lib_NHibernate_Caches_Prevalence_dll", resourceCulture); @@ -389,7 +382,7 @@ ///using NHibernate; ///using AndroMDA.NHibernateSupport; /// - ///namespace SchemaExport + ///namespace ${wizard.solution.name}.SchemaExport ///{ /// class Program /// { @@ -400,8 +393,7 @@ /// Console.WriteLine("Usage:"); /// Console.WriteLine(" SchemaExport [script] [export]"); /// Console.WriteLine(" script=t outputs DDL to the console"); - /// Console.WriteLine(" export=t exports schema to the database"); - /// [rest of string was truncated]";. + /// Console.WriteLine(" export=t exports schema [rest of string was truncated]";. /// </summary> internal static string SchemaExport_Program_cs { get { 1.2 +0 -3 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resource1.resx Index: Resource1.resx =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resource1.resx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- Resource1.resx 18 Apr 2006 16:14:43 -0000 1.1 +++ Resource1.resx 18 Apr 2006 17:18:51 -0000 1.2 @@ -142,9 +142,6 @@ <data name="lib_log4net_dll" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>Resources\Lib\log4net.dll;System.Byte[], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </data> - <data name="lib_Microsoft_ApplicationBlocks_UIProcess_dll" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>Resources\Lib\Microsoft.ApplicationBlocks.UIProcess.dll;System.Byte[], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> - </data> <data name="lib_NHibernate_Caches_Prevalence_dll" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>Resources\Lib\NHibernate.Caches.Prevalence.dll;System.Byte[], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </data> 1.2 +16 -5 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Commands/OpenModelCommand.cs Index: OpenModelCommand.cs =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Commands/OpenModelCommand.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- OpenModelCommand.cs 18 Apr 2006 16:14:44 -0000 1.1 +++ OpenModelCommand.cs 18 Apr 2006 17:18:51 -0000 1.2 @@ -9,6 +9,7 @@ using System.Text; using EnvDTE; +using Microsoft.VisualStudio.CommandBars; #endregion @@ -28,13 +29,15 @@ { try { + if (m_addInSettings.AutoMakeModelFileWritable) + { System.IO.FileAttributes attr = System.IO.File.GetAttributes(m_solutionManager.ModelFilePath); - if ((attr & System.IO.FileAttributes.ReadOnly) != 0) { attr -= System.IO.FileAttributes.ReadOnly; System.IO.File.SetAttributes(m_solutionManager.ModelFilePath, attr); } + } System.Diagnostics.Process.Start(magicDrawPath, m_solutionManager.ModelFilePath); } catch (Exception e) @@ -48,5 +51,13 @@ } } + public override void AddToToolbar(CommandBar toolbar, int position) + { + if (m_addInSettings.ShowOpenModelButton) + { + base.AddToToolbar(toolbar, position); + } + } + } } 1.2 +2 -2 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs/AboutOptionsPage.designer.cs Index: AboutOptionsPage.designer.cs =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs/AboutOptionsPage.designer.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- AboutOptionsPage.designer.cs 18 Apr 2006 16:14:44 -0000 1.1 +++ AboutOptionsPage.designer.cs 18 Apr 2006 17:18:51 -0000 1.2 @@ -212,7 +212,6 @@ // // label8 // - this.label8.AutoSize = true; this.label8.BackColor = System.Drawing.Color.Black; this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label8.ForeColor = System.Drawing.Color.LightGray; @@ -220,7 +219,8 @@ this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(73, 13); this.label8.TabIndex = 0; - this.label8.Text = "v1.0 Beta 3"; + this.label8.Text = "v1.0"; + this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // AboutOptionsPage // 1.1 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs/ExternalToolsOptionsPage.cs Index: ExternalToolsOptionsPage.cs =================================================================== // AndroMDA Visual Studio 2005 Add-In // (c)2006 Sapient Corporation #region Using statements using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Text; using System.Windows.Forms; using EnvDTE; using EnvDTE80; #endregion namespace AndroMDA.VS80AddIn.Dialogs { public partial class ExternalToolsOptionsPage : UserControl, EnvDTE.IDTToolsOptionsPage { static MDAOptionPageProperties m_properties = new MDAOptionPageProperties(); static AddInSettings m_settings = null; public ExternalToolsOptionsPage() { InitializeComponent(); } #region IDTToolsOptionsPage Members public void GetProperties(ref object PropertiesObject) { PropertiesObject = m_properties; System.Windows.Forms.MessageBox.Show("GetProperties"); } public void OnAfterCreated(DTE DTEObject) { m_settings = new AddInSettings(DTEObject); txtMavenExecutable.Text = m_settings.MavenExecutablePath; cbUseOfflineMode.Checked = m_settings.MavenUseOfflineMode; cbUseClean.Checked = m_settings.MavenCleanFirst; cbUseCustomCommandLine.Checked = m_settings.MavenUseCustomCommandLine; txtCustomCommandLine.Text = m_settings.MavenCustomCommandLine; txtMagicDrawPath.Text = m_settings.MagicDrawPath; cbMakeModelWritable.Checked = m_settings.AutoMakeModelFileWritable; UpdateState(); } protected void UpdateState() { cbUseClean.Enabled = !cbUseCustomCommandLine.Checked; cbUseOfflineMode.Enabled = !cbUseCustomCommandLine.Checked; txtCustomCommandLine.Enabled = cbUseCustomCommandLine.Checked; } protected override void OnEnter(EventArgs e) { base.OnEnter(e); } protected override void OnVisibleChanged(EventArgs e) { base.OnVisibleChanged(e); } public void OnEnter() { } public void OnCancel() { } public void OnHelp() { } public void OnOK() { m_settings.MavenExecutablePath = txtMavenExecutable.Text; m_settings.MavenUseOfflineMode = cbUseOfflineMode.Checked; m_settings.MavenCleanFirst = cbUseClean.Checked; m_settings.MavenUseCustomCommandLine = cbUseCustomCommandLine.Checked; m_settings.MavenCustomCommandLine = txtCustomCommandLine.Text; m_settings.MagicDrawPath = txtMagicDrawPath.Text; m_settings.AutoMakeModelFileWritable = cbMakeModelWritable.Checked; } #endregion private void cbUseCustomCommandLine_CheckedChanged(object sender, EventArgs e) { UpdateState(); } private void button1_Click(object sender, EventArgs e) { string fileName = FileUtils.GetFilename(txtMavenExecutable.Text); string initialPath = FileUtils.GetPathFromFilename(txtMavenExecutable.Text); if (initialPath != string.Empty) { openFileDialog1.InitialDirectory = initialPath; } else { string mavenHome = System.Environment.GetEnvironmentVariable("MAVEN_HOME"); if (mavenHome != string.Empty) { openFileDialog1.InitialDirectory = mavenHome + "\\bin"; } else { openFileDialog1.InitialDirectory = string.Empty; } } openFileDialog1.FileName = fileName; if (openFileDialog1.ShowDialog() == DialogResult.OK) { txtMavenExecutable.Text = openFileDialog1.FileName; } } private void button2_Click(object sender, EventArgs e) { string fileName = FileUtils.GetFilename(txtMagicDrawPath.Text); string initialPath = FileUtils.GetPathFromFilename(txtMagicDrawPath.Text); openFileDialog1.InitialDirectory = initialPath; openFileDialog1.FileName = fileName; if (openFileDialog1.ShowDialog() == DialogResult.OK) { txtMagicDrawPath.Text = openFileDialog1.FileName; } } } } 1.1 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs/ExternalToolsOptionsPage.designer.cs Index: ExternalToolsOptionsPage.designer.cs =================================================================== namespace AndroMDA.VS80AddIn.Dialogs { partial class ExternalToolsOptionsPage { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Component Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ExternalToolsOptionsPage)); this.label1 = new System.Windows.Forms.Label(); this.txtMavenExecutable = new System.Windows.Forms.TextBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.button1 = new System.Windows.Forms.Button(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.cbUseClean = new System.Windows.Forms.CheckBox(); this.cbUseCustomCommandLine = new System.Windows.Forms.CheckBox(); this.cbUseOfflineMode = new System.Windows.Forms.CheckBox(); this.txtCustomCommandLine = new System.Windows.Forms.TextBox(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.button2 = new System.Windows.Forms.Button(); this.label3 = new System.Windows.Forms.Label(); this.txtMagicDrawPath = new System.Windows.Forms.TextBox(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.cbMakeModelWritable = new System.Windows.Forms.CheckBox(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(8, 18); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(132, 13); this.label1.TabIndex = 1; this.label1.Text = "Path to Maven executable"; // // txtMavenExecutable // this.txtMavenExecutable.Location = new System.Drawing.Point(11, 34); this.txtMavenExecutable.Name = "txtMavenExecutable"; this.txtMavenExecutable.Size = new System.Drawing.Size(340, 20); this.txtMavenExecutable.TabIndex = 0; // // groupBox2 // this.groupBox2.Controls.Add(this.button1); this.groupBox2.Controls.Add(this.cbUseClean); this.groupBox2.Controls.Add(this.cbUseCustomCommandLine); this.groupBox2.Controls.Add(this.cbUseOfflineMode); this.groupBox2.Controls.Add(this.label1); this.groupBox2.Controls.Add(this.txtCustomCommandLine); this.groupBox2.Controls.Add(this.txtMavenExecutable); this.groupBox2.Location = new System.Drawing.Point(0, 0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(395, 114); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; this.groupBox2.Text = "Maven"; // // button1 // this.button1.ImageIndex = 0; this.button1.ImageList = this.imageList1; this.button1.Location = new System.Drawing.Point(357, 34); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(27, 20); this.button1.TabIndex = 3; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, "search.ico"); // // cbUseClean // this.cbUseClean.AutoSize = true; this.cbUseClean.Location = new System.Drawing.Point(168, 60); this.cbUseClean.Name = "cbUseClean"; this.cbUseClean.Size = new System.Drawing.Size(166, 17); this.cbUseClean.TabIndex = 2; this.cbUseClean.Text = "&Clean before generate (clean)"; this.cbUseClean.UseVisualStyleBackColor = true; // // cbUseCustomCommandLine // this.cbUseCustomCommandLine.AutoSize = true; this.cbUseCustomCommandLine.Location = new System.Drawing.Point(11, 83); this.cbUseCustomCommandLine.Name = "cbUseCustomCommandLine"; this.cbUseCustomCommandLine.Size = new System.Drawing.Size(153, 17); this.cbUseCustomCommandLine.TabIndex = 3; this.cbUseCustomCommandLine.Text = "Use custom c&ommand line:"; this.cbUseCustomCommandLine.UseVisualStyleBackColor = true; this.cbUseCustomCommandLine.CheckedChanged += new System.EventHandler(this.cbUseCustomCommandLine_CheckedChanged); // // cbUseOfflineMode // this.cbUseOfflineMode.AutoSize = true; this.cbUseOfflineMode.Location = new System.Drawing.Point(11, 60); this.cbUseOfflineMode.Name = "cbUseOfflineMode"; this.cbUseOfflineMode.Size = new System.Drawing.Size(123, 17); this.cbUseOfflineMode.TabIndex = 1; this.cbUseOfflineMode.Text = "Use &offline mode (-o)"; this.cbUseOfflineMode.UseVisualStyleBackColor = true; // // txtCustomCommandLine // this.txtCustomCommandLine.Location = new System.Drawing.Point(168, 81); this.txtCustomCommandLine.Name = "txtCustomCommandLine"; this.txtCustomCommandLine.Size = new System.Drawing.Size(216, 20); this.txtCustomCommandLine.TabIndex = 4; // // groupBox3 // this.groupBox3.Controls.Add(this.button2); this.groupBox3.Controls.Add(this.label3); this.groupBox3.Controls.Add(this.txtMagicDrawPath); this.groupBox3.Controls.Add(this.cbMakeModelWritable); this.groupBox3.Location = new System.Drawing.Point(0, 120); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(395, 87); this.groupBox3.TabIndex = 1; this.groupBox3.TabStop = false; this.groupBox3.Text = "UML Modeling Tool"; // // button2 // this.button2.ImageIndex = 0; this.button2.ImageList = this.imageList1; this.button2.Location = new System.Drawing.Point(357, 34); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(27, 20); this.button2.TabIndex = 3; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(8, 18); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(172, 13); this.label3.TabIndex = 1; this.label3.Text = "Path to external UML modeling tool"; // // txtMagicDrawPath // this.txtMagicDrawPath.Location = new System.Drawing.Point(11, 34); this.txtMagicDrawPath.Name = "txtMagicDrawPath"; this.txtMagicDrawPath.Size = new System.Drawing.Size(340, 20); this.txtMagicDrawPath.TabIndex = 0; // // openFileDialog1 // this.openFileDialog1.FileName = "openFileDialog1"; this.openFileDialog1.Filter = "Executables (*.exe; *.bat)|*.exe;*.bat"; // // cbMakeModelWritable // this.cbMakeModelWritable.AutoSize = true; this.cbMakeModelWritable.Location = new System.Drawing.Point(11, 60); this.cbMakeModelWritable.Name = "cbMakeModelWritable"; this.cbMakeModelWritable.Size = new System.Drawing.Size(266, 17); this.cbMakeModelWritable.TabIndex = 1; this.cbMakeModelWritable.Text = "Make model file writable when Open Model clicked"; this.cbMakeModelWritable.UseVisualStyleBackColor = true; // // ExternalToolsOptionsPage // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox2); this.Name = "ExternalToolsOptionsPage"; this.Size = new System.Drawing.Size(395, 289); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.ResumeLayout(false); } #endregion private System.Windows.Forms.Label label1; private System.Windows.Forms.TextBox txtMavenExecutable; private System.Windows.Forms.GroupBox groupBox2; private System.Windows.Forms.CheckBox cbUseOfflineMode; private System.Windows.Forms.CheckBox cbUseClean; private System.Windows.Forms.CheckBox cbUseCustomCommandLine; private System.Windows.Forms.TextBox txtCustomCommandLine; private System.Windows.Forms.GroupBox groupBox3; private System.Windows.Forms.Label label3; private System.Windows.Forms.TextBox txtMagicDrawPath; private System.Windows.Forms.Button button1; private System.Windows.Forms.ImageList imageList1; private System.Windows.Forms.Button button2; private System.Windows.Forms.OpenFileDialog openFileDialog1; private System.Windows.Forms.CheckBox cbMakeModelWritable; } } 1.1 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs/ExternalToolsOptionsPage.resx Index: ExternalToolsOptionsPage.resx =================================================================== <?xml version="1.0" encoding="utf-8"?> <root> <!-- Microsoft ResX Schema Version 2.0 The primary goals of this format is to allow a simple XML format that is mostly human readable. The generation and parsing of the various data types are done through the TypeConverter classes associated with the data types. Example: ... ado.net/XML headers & schema ... <resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="version">2.0</resheader> <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> <value>[base64 mime encoded serialized .NET Framework object]</value> </data> <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <comment>This is a comment</comment> </data> There are any number of "resheader" rows that contain simple name/value pairs. Each data row contains a name, and value. The row also contains a type or mimetype. Type corresponds to a .NET class that support text/value conversion through the TypeConverter architecture. Classes that don't support this are serialized and stored with the mimetype set. The mimetype is used for serialized objects, and tells the ResXResourceReader how to depersist the object. This is currently not extensible. For a given mimetype the value must be set accordingly: Note - application/x-microsoft.net.object.binary.base64 is the format that the ResXResourceWriter will generate, however the reader can read any of the formats listed below. mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Soap.SoapFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.bytearray.base64 value : The object must be serialized into a byte array : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> <xsd:element name="root" msdata:IsDataSet="true"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element name="metadata"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" /> </xsd:sequence> <xsd:attribute name="name" use="required" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="assembly"> <xsd:complexType> <xsd:attribute name="alias" type="xsd:string" /> <xsd:attribute name="name" type="xsd:string" /> </xsd:complexType> </xsd:element> <xsd:element name="data"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="resheader"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" /> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:complexType> </xsd:element> </xsd:schema> <resheader name="resmimetype"> <value>text/microsoft-resx</value> </resheader> <resheader name="version"> <value>2.0</value> </resheader> <resheader name="reader"> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <metadata name="imageList1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>17, 17</value> </metadata> <data name="imageList1.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64"> <value> AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABO BAAAAk1TRnQBSQFMAwEBAAEEAQABBAEAARABAAEQAQAE/wEhAQAI/wFCAU0BNgcAATYDAAEoAwABQAMA ARADAAEBAQABIAYAARASAAEGAgEBBgE7AgEBYQFJAgIBiAEzAgEBTwEEAgEBBOwAAUUCAQF6AWUBbwF+ Af8BiwGBAaMB/wFgAhIB0wE2AgEBVgEEAgEBBOgAAT0CAQFlAU0BrwL/AUkBdwHDAf8BiwGBAaMB/wFg AhIB0wE2AgEBVgEEAgEBBOgAAVQBcAGcAfABTQGvAv8BSAF5AcYB/wGLAYEBowH/AWACEgHTATYCAQFW AQQCAQEE6AABVAFwAZwB8AFNAa8C/wFIAXkBxgH/AYsBgQGjAf8BYAISAdMBMAIBAUkEAAECAwEBAgMB AQIDAQECAwHYAAFUAXABnAHwAU0BrwL/AUgBeQHGAf8BiwGBAaMB/wFDAgEBdAEdAgEBJwE/AgEBaQFN AgIBkgFOAgIBlQFEAgEBdwEiAgEBMAEEAgEBBNQAAVQBcAGcAfABTQGvAv8DggH/AY0CZwHyAbYBhQGB Af8B7QHSAagC/wH6AccB/wH8AfgBzAH/AdYBtgGlAf8BXgITAdcBPgIBAWcBBgIBAQbUAAEDAgEBAgHA ArYB/wHkAbQBlAL/AfUBygL/Af0BygP/AdYD/wHgA/8B6QH/AfoB9wHsAf8BbQIkAeUBMgIBAU7UAAEC AwEB0gGiAZUC/wH4Ac4C/wHpAbYD/wHOA/8B3wP/Ae8J/wHoAdsBvgH/AVECAgGh1AABHwIBASoB/wHb AagC/wHnAbQC/wHqAbcD/wHQA/8B4AP/AfED/wH4A/8B6AP/AdgB/wFsAiUB6dQAAUwCAwGJAf8B7gHE Av8B1gGjAv8B5AGxAv8B/QHKA/8B2gP/AeQD/wHmA/8B3wP/AdEB/wGaAmsB/9QAAS0CAQFEAf8B7AG/ Av8B3gGtAv8B7wHCAv8B9QHCAv8B/gHMA/8B1AP/AdUD/wHQAv8B+AHKAf8BeQI3AfDYAAHwAdYBsAL/ AfwB5wL/AfIB2wL/AdsBrAL/AfMBwAL/AfABvQL/AfABvQL/AfABvQL/AeMBsAH/AVYCBQGw2AABcgId AdEC/wH5Bv8B5gG7Av8B3wGvAv8B2gGnAv8B6AG1Av8B7wHFAf8BtQGEAX4B/wEYAgEBH9wAAZUCTwHw Af8B9wHYAv8B/AHYAv8B/AHPAv8B+wHPAv8B2wGrAf8BvwGPAYUB/wEaAgEBIuQAASQCAQEyAXoCKQHi AawCfgH/AcoClwH/AUgCAgGBAQYCAQEGyAABQgFNAT4HAAE+AwABKAMAAUADAAEQAwABAQEAAQEFAAGA FwAD/wEAAQcB/wYAAQMB/wYAAQEB/wYAAYAB/wYAAcABhwYAAeABAQYAAfAHAAH4BwAB+AcAAfgHAAH4 BwAB+AcAAfwHAAH8BwAB/gEBBgAB/wEDBgAL </value> </data> <metadata name="openFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>122, 17</value> </metadata> </root> 1.1 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs/GeneralOptionsPage.Designer.cs Index: GeneralOptionsPage.Designer.cs =================================================================== namespace AndroMDA.VS80AddIn.Dialogs { partial class GeneralOptionsPage { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Component Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label2 = new System.Windows.Forms.Label(); this.txtResyncIgnoreList = new System.Windows.Forms.TextBox(); this.cbShowAboutButton = new System.Windows.Forms.CheckBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.cbShowOpenModelButton = new System.Windows.Forms.CheckBox(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.cbShowOpenModelButton); this.groupBox1.Controls.Add(this.cbShowAboutButton); this.groupBox1.Location = new System.Drawing.Point(0, 72); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(395, 68); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "Appearance"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(8, 18); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(339, 13); this.label2.TabIndex = 1; this.label2.Text = "Files to ignore in solution explorer (separate each file with a semi-colon)"; // // txtResyncIgnoreList // this.txtResyncIgnoreList.Location = new System.Drawing.Point(12, 34); this.txtResyncIgnoreList.Name = "txtResyncIgnoreList"; this.txtResyncIgnoreList.Size = new System.Drawing.Size(359, 20); this.txtResyncIgnoreList.TabIndex = 1; // // cbShowAboutButton // this.cbShowAboutButton.AutoSize = true; this.cbShowAboutButton.Location = new System.Drawing.Point(11, 19); this.cbShowAboutButton.Name = "cbShowAboutButton"; this.cbShowAboutButton.Size = new System.Drawing.Size(166, 17); this.cbShowAboutButton.TabIndex = 0; this.cbShowAboutButton.Text = "&Show about button on toolbar"; this.cbShowAboutButton.UseVisualStyleBackColor = true; // // groupBox2 // this.groupBox2.Controls.Add(this.label2); this.groupBox2.Controls.Add(this.txtResyncIgnoreList); this.groupBox2.Location = new System.Drawing.Point(0, 0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(395, 66); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "General"; // // cbShowOpenModelButton // this.cbShowOpenModelButton.AutoSize = true; this.cbShowOpenModelButton.Location = new System.Drawing.Point(11, 42); this.cbShowOpenModelButton.Name = "cbShowOpenModelButton"; this.cbShowOpenModelButton.Size = new System.Drawing.Size(194, 17); this.cbShowOpenModelButton.TabIndex = 0; this.cbShowOpenModelButton.Text = "Show &open model button on toolbar"; this.cbShowOpenModelButton.UseVisualStyleBackColor = true; // // GeneralOptionsPage // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Name = "GeneralOptionsPage"; this.Size = new System.Drawing.Size(395, 289); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.ResumeLayout(false); } #endregion private System.Windows.Forms.GroupBox groupBox1; private System.Windows.Forms.Label label2; private System.Windows.Forms.TextBox txtResyncIgnoreList; private System.Windows.Forms.CheckBox cbShowAboutButton; private System.Windows.Forms.CheckBox cbShowOpenModelButton; private System.Windows.Forms.GroupBox groupBox2; } } 1.1 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs/GeneralOptionsPage.cs Index: GeneralOptionsPage.cs =================================================================== // AndroMDA Visual Studio 2005 Add-In // (c)2006 Sapient Corporation #region Using statements using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Text; using System.Windows.Forms; using EnvDTE; using EnvDTE80; #endregion namespace AndroMDA.VS80AddIn.Dialogs { public partial class GeneralOptionsPage : UserControl, EnvDTE.IDTToolsOptionsPage { static MDAOptionPageProperties m_properties = new MDAOptionPageProperties(); static AddInSettings m_settings = null; public GeneralOptionsPage() { InitializeComponent(); } #region IDTToolsOptionsPage Members public void GetProperties(ref object PropertiesObject) { PropertiesObject = m_properties; } public void OnAfterCreated(DTE DTEObject) { m_settings = new AddInSettings(DTEObject); cbShowAboutButton.Checked = m_settings.ShowAboutButton; cbShowOpenModelButton.Checked = m_settings.ShowOpenModelButton; txtResyncIgnoreList.Text = m_settings.ResyncIgnoreList; UpdateState(); } protected void UpdateState() { } protected override void OnEnter(EventArgs e) { base.OnEnter(e); } protected override void OnVisibleChanged(EventArgs e) { base.OnVisibleChanged(e); } public void OnEnter() { } public void OnCancel() { } public void OnHelp() { } public void OnOK() { m_settings.ShowAboutButton = cbShowAboutButton.Checked; m_settings.ShowOpenModelButton = cbShowOpenModelButton.Checked; m_settings.ResyncIgnoreList = txtResyncIgnoreList.Text; } #endregion } } 1.1 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs/GeneralOptionsPage.resx Index: GeneralOptionsPage.resx =================================================================== <?xml version="1.0" encoding="utf-8"?> <root> <!-- Microsoft ResX Schema Version 2.0 The primary goals of this format is to allow a simple XML format that is mostly human readable. The generation and parsing of the various data types are done through the TypeConverter classes associated with the data types. Example: ... ado.net/XML headers & schema ... <resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="version">2.0</resheader> <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> <value>[base64 mime encoded serialized .NET Framework object]</value> </data> <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <comment>This is a comment</comment> </data> There are any number of "resheader" rows that contain simple name/value pairs. Each data row contains a name, and value. The row also contains a type or mimetype. Type corresponds to a .NET class that support text/value conversion through the TypeConverter architecture. Classes that don't support this are serialized and stored with the mimetype set. The mimetype is used for serialized objects, and tells the ResXResourceReader how to depersist the object. This is currently not extensible. For a given mimetype the value must be set accordingly: Note - application/x-microsoft.net.object.binary.base64 is the format that the ResXResourceWriter will generate, however the reader can read any of the formats listed below. mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Soap.SoapFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.bytearray.base64 value : The object must be serialized into a byte array : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> <xsd:element name="root" msdata:IsDataSet="true"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element name="metadata"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" /> </xsd:sequence> <xsd:attribute name="name" use="required" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="assembly"> <xsd:complexType> <xsd:attribute name="alias" type="xsd:string" /> <xsd:attribute name="name" type="xsd:string" /> </xsd:complexType> </xsd:element> <xsd:element name="data"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="resheader"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" /> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:complexType> </xsd:element> </xsd:schema> <resheader name="resmimetype"> <value>text/microsoft-resx</value> </resheader> <resheader name="version"> <value>2.0</value> </resheader> <resheader name="reader"> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> </root> 1.1 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs/MDAOptionPageProperties.cs Index: MDAOptionPageProperties.cs =================================================================== // AndroMDA Visual Studio 2005 Add-In // (c)2006 Sapient Corporation #region Using statements using System; using System.Collections.Generic; using System.Text; #endregion namespace AndroMDA.VS80AddIn.Dialogs { [System.Runtime.InteropServices.ComVisible(true)] [System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDual)] public class MDAOptionPageProperties { } } |
From: Chris M. <cm...@us...> - 2006-04-18 16:11:58
|
User: cmicali Date: 06/04/18 09:11:56 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/SharpZipLib/Zip/Compression/Streams - New directory |
From: Chris M. <cm...@us...> - 2006-04-18 16:11:52
|
User: cmicali Date: 06/04/18 09:11:50 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/SharpZipLib/Zip/Compression - New directory |
From: Chris M. <cm...@us...> - 2006-04-18 16:11:46
|
User: cmicali Date: 06/04/18 09:11:34 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/SharpZipLib/Encryption - New directory |
From: Chris M. <cm...@us...> - 2006-04-18 16:11:38
|
User: cmicali Date: 06/04/18 09:11:34 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/SharpZipLib/Checksums - New directory |
From: Chris M. <cm...@us...> - 2006-04-18 16:11:37
|
User: cmicali Date: 06/04/18 09:11:34 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/SharpZipLib/Zip - New directory |
From: Chris M. <cm...@us...> - 2006-04-18 16:11:37
|
User: cmicali Date: 06/04/18 09:11:34 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/SharpZipLib/Core - New directory |
From: Chris M. <cm...@us...> - 2006-04-18 16:11:25
|
User: cmicali Date: 06/04/18 09:11:22 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/mda/src/uml - New directory |
From: Chris M. <cm...@us...> - 2006-04-18 16:11:17
|
User: cmicali Date: 06/04/18 09:11:14 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/mda/src - New directory |
From: Chris M. <cm...@us...> - 2006-04-18 16:11:16
|
User: cmicali Date: 06/04/18 09:11:14 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/mda/conf - New directory |
From: Chris M. <cm...@us...> - 2006-04-18 16:10:56
|
User: cmicali Date: 06/04/18 09:10:49 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/SchemaExport - New directory |
From: Chris M. <cm...@us...> - 2006-04-18 16:10:56
|
User: cmicali Date: 06/04/18 09:10:49 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/Lib - New directory |
From: Chris M. <cm...@us...> - 2006-04-18 16:10:56
|
User: cmicali Date: 06/04/18 09:10:49 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/Common - New directory |
From: Chris M. <cm...@us...> - 2006-04-18 16:10:56
|
User: cmicali Date: 06/04/18 09:10:49 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/mda - New directory |
From: Chris M. <cm...@us...> - 2006-04-18 16:10:56
|
User: cmicali Date: 06/04/18 09:10:49 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/Core - New directory |
From: Chris M. <cm...@us...> - 2006-04-18 16:10:39
|
User: cmicali Date: 06/04/18 09:10:33 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources - New directory |