<?xml version="1.0" encoding="utf-8"?>
<!-- generator="Kunena 1.5.12"> -->
<rss version="0.91">
    <channel>
        <title>Modelio - Forum</title>
        <description>Kunena Site Syndication</description>
        <link>http://www.modeliosoft.com/</link>
        <lastBuildDate>Thu, 09 Sep 2010 23:01:48 +0200</lastBuildDate>
        <generator>Kunena 1.5.12</generator>
        <image>
	        <url>http://www.modeliosoft.com/components/com_kunena/template/modelio_159/images/english/emoticons/rss.gif</url>
	        <title>Powered by Kunena</title>
	        <link>http://www.modeliosoft.com/</link>
	        <description>Kunena Site Syndication</description>
        </image>
        <item>
            <title>Subject: Crashes on Ubuntu 10.4 - by: peter.antoine@miniweb.tv</title>
            <link>http://www.modeliosoft.com/en/support/forum/1-general/397-crashes-on-ubuntu-104.html#399</link>
            <description>That fixed it.

Thanks.</description>
            <pubDate>Wed, 08 Sep 2010 14:51:26 +0200</pubDate>
        </item>
        <item>
            <title>Subject: Add image in template? - by: Herr Brö</title>
            <link>http://www.modeliosoft.com/en/support/forum/1-general/387-add-image-in-template.html#396</link>
            <description>Hi,

Yes, it is possible to use relative pathing in artifacts...

By the way, have a look at this preview post if you plan to use the SVN module :
http://www.modeliosoft.com/en/support/forum/1-general/107-svn-and-mandatory-modules.html

You can use traceability links to link your Requirements to UML model elements... I remember that there is a command available on Requirements to create UML objects linked to the Requirements...

B.</description>
            <pubDate>Fri, 03 Sep 2010 15:39:58 +0200</pubDate>
        </item>
        <item>
            <title>Subject: Issues with document generation - by: support</title>
            <link>http://www.modeliosoft.com/en/support/forum/1-general/389-issues-with-document-generation.html#394</link>
            <description>Workarounds are indeed suggested as temporary solutions.

We are in the process of analyzing the way MSWord 2007 internationalizes the styles so we can make it work in every cases. To this day, we have no working solution. We are confident, however, that we will be able to provide new style sheets soon.

The workaround is to save the modified style sheet with a French version of MS Word 2007. You can do it if you have one at hand, or we can do it for you.

We apologize for the inconvenience caused.

--
The modelio Tech Support Team</description>
            <pubDate>Thu, 02 Sep 2010 16:56:58 +0200</pubDate>
        </item>
        <item>
            <title>Subject: Linux version roadmap - by: support</title>
            <link>http://www.modeliosoft.com/en/support/forum/1-general/380-linux-version-roadmap.html?limit=6&amp;start=6#388</link>
            <description>Dear all,

Thank you for your comments on our product. They are much appreciated.
All comments are forwarded to the Product Management Team for analysis.

Regarding the packaging of Modelio as an Eclipse plug-in, there is no such plan at the moment. Modelio will remain an independent product for the time being.

Best regards,

The Modelio Tech Support Team</description>
            <pubDate>Tue, 31 Aug 2010 14:22:03 +0200</pubDate>
        </item>
        <item>
            <title>Subject: document generator in linux? - by: support</title>
            <link>http://www.modeliosoft.com/en/support/forum/1-general/379-document-generator-in-linux.html#381</link>
            <description>Hi,

Yes, that's a known issue, but on not on our side! :)
Modelio Document Publisher generates proper docx files.

While MS Word opens them all right, OpenOffice does not seem to handle the *.docx files we generate. 

Even the sylesheet, which was created with MS Word, is not properly rendered by OOo Word Processor.
This tends to improve however, because in recent versions of OOo, the stylesheet shows more content than in older versions.

As for now, MS Word will open your documents. You can also generate them in HTML format.

Best regards,

Modelio Tech Support</description>
            <pubDate>Fri, 27 Aug 2010 09:31:50 +0200</pubDate>
        </item>
        <item>
            <title>Subject: Start with Jython - by: modelio_info</title>
            <link>http://www.modeliosoft.com/en/support/forum/automation-scripts-in-jython/378-start-with-jython.html#378</link>
            <description>Hi,

To start using Jython on Modelio, you need to activate Script view (on menu  Views/Script ). Once activated, a Script tab appears near from MDA tab (depending of activated views).

To run a Jython script file, click on &quot; Load and run a script file &quot;.

You can write your own code in the input view.  Warning : If debug mode is not activated, the input view will be cleared after script execution.

In toolbar, there is a &quot; Edit macros catalog &quot;. Launch it and you could use default scripts delivered with Modelio, workspace scripts or specific project scripts. You can add, delete, ... Workspace macros and Project macros. Modelio macros are in read only mode.

http://www.modeliosoft.com/images/fbfiles/images/scriptview.jpg

 Tips: 
- To facilitate your familiarization with Jython and Modelio apis, you can use a Jython plugin for Eclipse. Personally, I used PyDev. Main Modelio apis are available on  //mda/MDADesignerLight/res/lib/  directory so you can add these libraries to a Jython project properties on Eclipse.
Pydev home (http://pydev.org/)
- To get your workspace directory, move mouse over Workspace tab.

http://www.modeliosoft.com/images/fbfiles/images/movemouse.jpg


Have fun with Jython  :)</description>
            <pubDate>Wed, 18 Aug 2010 16:53:47 +0200</pubDate>
        </item>
        <item>
            <title>Subject: Statistics script sample - by: modelio_info</title>
            <link>http://www.modeliosoft.com/en/support/forum/automation-scripts-in-jython/377-statistics-script-sample.html#377</link>
            <description>Hi,

To learn how to use Jython in Modelio and go further with it, this is a script computing statistics on a UML model element.

This script opens a window indicating number of some objects within a namespace.
It uses Eclipse swt to create window and Modelio specific api to navigate through the model. It must be launched on Namespaces.

The attached image shows result of this script which has been launched on a Package.
The results includes statistics for Classes, Interfaces, Actors and UseCases. It is possible to add other element types. The script is easily modifiable.

This is explainations about some parts of this script:
Around line 129:
[code]def htmlResult(element):
	global nbtotalNS
	
	statstring = &quot;nbElements found (It represents percentageElts% 
of namespaces present inside selected element ).&quot;
	# 1 - Classes
	nbElements	= 0
	nbElements = countMetaclass(element, ObClass)
	percentageElts = (nbElements/float(nbtotalNS))*100
	htmlbody = &quot;Classes:&quot;
	statstringupdated = statstring.replace('nbElements', String.valueOf(nbElements))
	statstringupdated = statstringupdated.replace('percentageElts', String.valueOf(percentageElts))
	htmlbody = htmlbody + statstringupdated
[/code]

 countMetaclass  allows to count number of objects of a specific element type. In the code above,  ObClass  is used to designate Classes. Generally Modelio element types is formed with &quot;Ob&quot;+, for example: ObClass, ObActor, ObPackage, ...

Around line 92:
[code]
def countMetaclass(element, metaclass):
if (isinstance(element, metaclass)):
		res2 = 1
		# if the object contains elements
		if (element.getOwnedElement().size() &gt; 0):
			# for each elements on the object
			for e in element.getOwnedElement():
				res2 = res2 + countMetaclass(e, metaclass)
			return res2			
		else :
			return 1
	# if the element is a modeltree
	elif (isinstance(element, ObModelTree)):
[/code]
 isinstance  allows to determine if given  element  is an object of a  metaclass  type. In the screenshot, c1 is an ObClass but it is also an ObNameSpace because ObClass metaclass inherits from ObNameSpace. a1 is not an ObNameSpace (namespace).
 getOwnedElement()  returns a list of owned elements (In Java, this method returns a ObList).

Class  reportGUI  defined in this script allows to create and customize the SWT result window.
You can note that lines 175 (#transaction = modelingSession.createTransaction(&quot;Create object&quot;)) and 181 (#modelingSession.commit(transaction)) are commented out. Actually, these lines are not useful in this script because we do not modify the model. In the case of model modifications, these lines must be used.

If you need more information about this script do not hesitate to reply.

 NB : Script is compatible with Free Edition and Enterprise Edition.  http://www.modeliosoft.com/images/fbfiles/images/StatReporting.jpg http://www.modeliosoft.com/images/fbfiles/files/StatReporting_SWT-20100818.zip</description>
            <pubDate>Wed, 18 Aug 2010 16:22:11 +0200</pubDate>
        </item>
        <item>
            <title>Subject: Comment ça marche? - by: kymrique</title>
            <link>http://www.modeliosoft.com/en/support/forum/developpement-en-java/372-comment-ca-marche.html#376</link>
            <description>Bonjour,

Super, ça marche!
Merci beaucoup pour cette réponse rapide!
Bonne journée à vous!

Cordialement,
Bertrand</description>
            <pubDate>Wed, 18 Aug 2010 10:06:43 +0200</pubDate>
        </item>
        <item>
            <title>Subject: Adding properties to Model Elements - by: medvedm</title>
            <link>http://www.modeliosoft.com/en/support/forum/1-general/369-adding-properties-to-model-elements.html#374</link>
            <description>Perfect!  Thanks!</description>
            <pubDate>Tue, 17 Aug 2010 16:49:06 +0200</pubDate>
        </item>
        <item>
            <title>Subject: Stereotypes, Tagged Values and Formatting - by: modelio_info</title>
            <link>http://www.modeliosoft.com/en/support/forum/1-general/367-stereotypes-tagged-values-and-formatting.html#371</link>
            <description>OK, It is clearer  :P 

From Free Edition, it is not possible to customize documentation generation.

In Modelio Enterprise Edition, it is possible to customize this generation to display elements you want (Table Name, Attribute Persistent, Field Name, ...). In same way, it is possible to change justification of table's content.

In Modelio EE, Document Publisher provides a Template Editor which allows customization of documentation generation. Document Publisher Light provided with Modelio FE is associated with one template only. (When I talk about template, I don't talk about docx templates)
Document Publisher delivers a set of predefined templates. You can create your own template to generate documentation as you want.

I made a simple test (based on your example) to show what is possible to do.

A screenshot shows the template that I created and attached docx is the generated documentation.

I hope this helps. http://www.modeliosoft.com/images/fbfiles/images/templatesample.jpg http://www.modeliosoft.com/images/fbfiles/files/testdocumentation.zip</description>
            <pubDate>Fri, 13 Aug 2010 14:41:25 +0200</pubDate>
        </item>
        <item>
            <title>Subject: Video tutorials - hang in the middle - by: modelio_info</title>
            <link>http://www.modeliosoft.com/en/support/forum/1-general/112-video-tutorials-hang-in-the-middle.html?limit=6&amp;start=12#366</link>
            <description>Hi,

now, all tutorials work!

Best regards.</description>
            <pubDate>Thu, 12 Aug 2010 09:49:33 +0200</pubDate>
        </item>
    </channel>
</rss>
