<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mobile and gis dev notes &#187; uml</title>
	<atom:link href="http:///wordpress/tag/uml/feed/" rel="self" type="application/rss+xml" />
	<link>/wordpress</link>
	<description>by rupert</description>
	<lastBuildDate>Wed, 08 Feb 2012 22:26:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Writing CFCs using UML with Poseidon</title>
		<link>/wordpress/2007/02/writing-cfcs-using-uml-with-poseidon/</link>
		<comments>/wordpress/2007/02/writing-cfcs-using-uml-with-poseidon/#comments</comments>
		<pubDate>Sun, 04 Feb 2007 11:26:44 +0000</pubDate>
		<dc:creator>rupert</dc:creator>
				<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[cf]]></category>
		<category><![CDATA[uml]]></category>

		<guid isPermaLink="false">/wordpress/?p=33</guid>
		<description><![CDATA[It seems the xmi2cfc tool from cfcxmi.tigris.org works only for Poseidon 2.x versions. The visio works well and poseidon can export the xmi as well but I still encounter problems during the xmi to cfc conversion. I just bought a 1GB ram for my notebook since Poseidon peaks at 200MB. How to create cfc&#8217;s with [...]]]></description>
			<content:encoded><![CDATA[<p>It seems the xmi2cfc tool from cfcxmi.tigris.org works only for Poseidon 2.x versions. The visio works well and poseidon can export the xmi as well but I still encounter problems during the xmi to cfc conversion.</p>
<p>I just bought a 1GB ram for my notebook since Poseidon peaks at 200MB. How to create cfc&#8217;s with Poseidon?</p>
<p>1. Download and install Poseidon. Im using Poseidon 5 Professional.<br />
2. Download the poseidon custom templates from <a href="http://cfcxmi.tigris.org/">http://cfcxmi.tigris.org/</a>.<br />
3. Extract it to Poseidon/lib/. You should have the ff directories:</p>
<p>Poseidon/<br />
lib/<br />
custom/</p>
<p>4. Start poseidon<br />
5. Click on &#8220;Generation&#8221; -&gt; &#8220;Java&#8221;<br />
6. Click on the ellipses tool and point to the custom templates.<br />
7. &#8220;Apply&#8221; the settings.<br />
8. Create your class<br />
9. Click on the source code to view your cfc.</p>
<p>I have made some changes to the templates to reflect the output=&#8221;false&#8221; and required=&#8221;true&#8221;. You can download the templates from <a href="/wordpress/images/custom.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>/wordpress/2007/02/writing-cfcs-using-uml-with-poseidon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UML Explained</title>
		<link>/wordpress/2007/02/uml-explained/</link>
		<comments>/wordpress/2007/02/uml-explained/#comments</comments>
		<pubDate>Thu, 01 Feb 2007 04:58:09 +0000</pubDate>
		<dc:creator>rupert</dc:creator>
				<category><![CDATA[uml]]></category>

		<guid isPermaLink="false">/wordpress/?p=30</guid>
		<description><![CDATA[As Im making some progress in ColdSpring/Reactor, I need some modelling to be able to visualise things much better and to help the team understand. Here is a very good post regarding Use Case Diagrams and Activity Diagrams that Doug wrote. Some UML Tools: ArgoUML - hard to copy and paste objects Poseidon for UML5.0.1 [...]]]></description>
			<content:encoded><![CDATA[<p>As Im making some progress in ColdSpring/Reactor, I need some modelling to be able to visualise things much better and to help the team understand.  Here is a very good post regarding <a href="http://www.doughughes.net/index.cfm?event=viewEntry&amp;entryId=86">Use Case Diagrams</a> and <a href="http://www.doughughes.net/index.cfm?event=viewEntry&amp;entryId=97">Activity Diagrams</a> that Doug wrote.</p>
<p>Some UML Tools:<br />
<strong><a href="http://argouml.tigris.org/">ArgoUML</a></strong><br />
- hard to copy and paste objects</p>
<p><strong><a href="http://www.gentleware.com/downloadcenter.html">Poseidon for UML5.0.1 &#8211; without JRE</a></strong><br />
- cannot save</p>
<p><strong><a href="http://cfcxmi.tigris.org/">cfcxmi convert XML models to CFC</a></strong></p>
<p><a href="http://www.webdevref.com/blog/index.cfm?mode=entry&amp;entry=BF2978A8-FF56-FC82-0879E67AA4DAA062&amp;dv=notable">Visio 2003 UML Class Export Tool</a><br />
<code><br />
1. Open your class diagram at a page with a class you wish to export.<br />
2. Control+click each class you wish to export<br />
3. Open the Visual Basic Editor (Alt+F11)<br />
4. Double click on "ThisDocument" if no script is currently loaded<br />
5. Paste the script below here into  the empty page<br />
6. Edit the "LogFileLocation" string to tell it where you wish to save your file.  (Note: this must exist before the script runs)<br />
7. Hit F5 to run the script<br />
8. Enter a name for the file in the popup box<br />
9. Hit OK<br />
</code></p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #000080;">Sub</span> ExportShapes()
    <span style="color: #000080;">Const</span> LogFileLocation <span style="color: #000080;">As</span> <span style="color: #000080;">String</span> = <span style="color: #800000;">&quot;C:\visioExportFiles\&quot;</span>
    <span style="color: #000080;">Dim</span> selObj <span style="color: #000080;">As</span> Visio.Selection <span style="color: #008000;">'Shapes selection collection
</span>    <span style="color: #000080;">Dim</span> shpObj <span style="color: #000080;">As</span> Visio.Shape <span style="color: #008000;">'A shape instance
</span>    <span style="color: #000080;">Dim</span> i <span style="color: #000080;">As</span> <span style="color: #000080;">Integer</span>
    <span style="color: #000080;">Dim</span> myClassDef <span style="color: #000080;">As</span> <span style="color: #000080;">String</span>
    <span style="color: #000080;">Dim</span> LogFileName <span style="color: #000080;">As</span> <span style="color: #000080;">String</span>
    <span style="color: #000080;">Dim</span> FileNum <span style="color: #000080;">As</span> <span style="color: #000080;">Integer</span>
&nbsp;
    myClassDef = <span style="color: #800000;">&quot;&lt;classes&gt;&quot;</span>
    <span style="color: #000080;">Set</span> selObj = Visio.ActiveWindow.Selection
    <span style="color: #000080;">For</span> i = 1 <span style="color: #000080;">To</span> selObj.Count
        <span style="color: #000080;">Set</span> shpObj = selObj(i)
        myClassDef = myClassDef &amp;amp; <span style="color: #800000;">&quot;&lt;class&gt;&quot;</span>
        myClassDef = myClassDef &amp;amp; <span style="color: #800000;">&quot;
&lt;properties&gt;
&lt;property&gt;&quot;</span> &amp;amp; Replace(shpObj.Shapes.Item(6).Text, Chr(10), <span style="color: #800000;">&quot;&lt;/property&gt;
&lt;property&gt;&quot;</span>) &amp;amp; <span style="color: #800000;">&quot;&lt;/property&gt;&lt;/properties&gt;&quot;</span>
        myClassDef = myClassDef &amp;amp; <span style="color: #800000;">&quot;&lt;methods&gt;&lt;method&gt;&quot;</span> &amp;amp; Replace(shpObj.Shapes.Item(5).Text, Chr(10), <span style="color: #800000;">&quot;&lt;/method&gt;&lt;method&gt;&quot;</span>) &amp;amp; <span style="color: #800000;">&quot;&lt;/method&gt;&lt;/methods&gt;&quot;</span>
        myClassDef = myClassDef &amp;amp; <span style="color: #800000;">&quot;&lt;/class&gt;&quot;</span>
    <span style="color: #000080;">Next</span> i
    myClassDef = myClassDef &amp;amp; <span style="color: #800000;">&quot;&lt;/classes&gt;&quot;</span>
    <span style="color: #008000;">'Begin export
</span>    LogFileName = InputBox(<span style="color: #800000;">&quot;What is the file name you wish to use (exclude the .xml extension)?&quot;</span>, <span style="color: #800000;">&quot;Export Classes&quot;</span>)
    MsgBox (myClassDef)
    <span style="color: #000080;">If</span> Len(LogFileName) <span style="color: #000080;">Then</span>
&nbsp;
        FileNum = FreeFile <span style="color: #008000;">' next file number
</span>        <span style="color: #000080;">Open</span> LogFileLocation &amp;amp; LogFileName &amp;amp; <span style="color: #800000;">&quot;.xml&quot;</span> <span style="color: #000080;">For</span> <span style="color: #000080;">Output</span> <span style="color: #000080;">As</span> #FileNum <span style="color: #008000;">' creates the file if it doesn't exist
</span>        <span style="color: #000080;">Print</span> #FileNum, myClassDef <span style="color: #008000;">' write information at the end of the text file
</span>        <span style="color: #000080;">Close</span> #FileNum <span style="color: #008000;">' close the file
</span>    <span style="color: #000080;">Else</span>
        MsgBox (<span style="color: #800000;">&quot;Bad file name&quot;</span>)
    <span style="color: #000080;">End</span> <span style="color: #000080;">If</span>
&nbsp;
<span style="color: #000080;">End</span> <span style="color: #000080;">Sub</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>/wordpress/2007/02/uml-explained/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

