Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Problems generating a state machine diagram from a xmi file
Problems generating a state machine diagram from a xmi file [message #1016088] Mon, 04 March 2013 22:24 Go to next message
Jesus Zambrano is currently offline Jesus ZambranoFriend
Messages: 2
Registered: March 2013
Junior Member
Hello everyone,

I'm new to papyrus and i was wondering if you could help me.

Given a xmi papyrus file, I want to generate its equivalent state machine diagram.

I've tried pasting the xmi in model.uml and see if model.di changes accordingly
but it does not work.

I also did the following:
-Created a new papyrus model.
-Drew a very simple state machine diagram.
-Copied the uml generated for the diagram i drew.
-Created another papyrus model and replaced the empty uml file with a copy of the uml generated for my previous model.

My expectation was to see the same simple state machine diagram i had drawn but it did not render properly.

I'm using the indigo version of Eclipse modeling tools.

Your help is very much appreciated!
Re: Problems generating a state machine diagram from a xmi file [message #1017344 is a reply to message #1016088] Mon, 11 March 2013 16:16 Go to previous messageGo to next message
Simon Schwichtenberg is currently offline Simon SchwichtenbergFriend
Messages: 126
Registered: September 2011
Senior Member
Quote:
Given a xmi papyrus file
what for a xmi papyrus file?

Quote:
I've tried pasting the xmi in model.uml and see if model.di changes accordingly
but it does not work.
never copy contents from the files manually. these files must be consistent and you will break them. same holds for the following statement:

Quote:
Created another papyrus model and replaced the empty uml file with a copy of the uml generated for my previous model.


try the diagram generation component for Papyrus (you must install it via help> install papyrus additional components)
Re: Problems generating a state machine diagram from a xmi file [message #1018292 is a reply to message #1017344] Wed, 13 March 2013 15:10 Go to previous message
Jesus Zambrano is currently offline Jesus ZambranoFriend
Messages: 2
Registered: March 2013
Junior Member
Hi, thanks for your reply!

Allow me to explain myself a little better.

I'm writing software that generates simple papyrus state machines from another modeling language.

So my goal is to understand the structure of .notation and .uml that i'd have to build in order to properly import my generated papyrus project.

That's why i was doing comparisons between files of different papyrus project.
Previous Topic:Using ports for state machine interactions
Next Topic:Information of the Diagram Generation Component
Goto Forum:
  


Current Time: Fri Dec 19 21:05:30 GMT 2014

Powered by FUDForum. Page generated in 0.02029 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software