svn commit: r15619 - trunk/src/argouml-app/src/org/argouml/persistence/upgrades/upgrade6.xsl

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: mvw
Date: 2008-08-27 01:41:22-0700
New Revision: 15619

Modified:
   trunk/src/argouml-app/src/org/argouml/persistence/upgrades/upgrade6.xsl

Log:
Improvement of the commit done for issue 535.
Fixes the problem that when you set the default notation to show both arrows, and then load a 0.24 project, it will end up showing both arrows.
Similar to the solution for issue 5231.

Modified: trunk/src/argouml-app/src/org/argouml/persistence/upgrades/upgrade6.xsl
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/persistence/upgrades/upgrade6.xsl?view=diff&rev=15619&p1=trunk/src/argouml-app/src/org/argouml/persistence/upgrades/upgrade6.xsl&p2=trunk/src/argouml-app/src/org/argouml/persistence/upgrades/upgrade6.xsl&r1=15618&r2=15619
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/persistence/upgrades/upgrade6.xsl	(original)
+++ trunk/src/argouml-app/src/org/argouml/persistence/upgrades/upgrade6.xsl	2008-08-27 01:41:22-0700
@@ -53,7 +53,7 @@
  	<xsl:template match="/uml/pgml/group[contains(./private,'LAYER_NULL')]">

 	</xsl:template>

 	

-	<!-- Add defaults for new settings issue 5231 -->

+	<!-- Add defaults for new settings issue 5231 and 535-->

  	<xsl:template match="/uml/argo/settings">

  	   <settings>

 		<xsl:copy-of select="*"/>

@@ -72,6 +72,9 @@
 		<xsl:if test="count(defaultstereotypeview) = 0">

 			<defaultstereotypeview>0</defaultstereotypeview>

 		</xsl:if>

+		<xsl:if test="count(hidebidirectionalarrows) = 0">

+			<hidebidirectionalarrows>true</hidebidirectionalarrows>

+		</xsl:if>

  	   </settings>

 	</xsl:template>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.