How to export a class diagram in StarUML? - uml

I'm modelling a system with other colleagues and we're using StarUML.
Each person has your own .mdj project with a class diagram on it.
Now we want to export each class diagram and import them all in a single project. We've tried to use Export | Fragment (exporting the model folder where the diagram is) and importing it on the main .mdj project but all diagram's objects are corrupted and only some associations appear.
How can we import all the diagrams in a single .mdj project?

Related

Convert StarUML class diagram to MS Visio class diagram

I am working with StarUML and I want to convert my StarUML class diagram to MS Visio 2016 class diagram. I am using MS Visio 2016 Professional.
I exported my class diagram as a .emf file from StarUML and tried to import it into MS Visio but I get an error "The metafile cannot be placed". But when I open this .emf file directly, it opens properly in MS Paint.
Question- How to get rid of the error "The metafile cannot be placed"?
Note: Exporting the class diagram from StarUML in .svg format & importing this .svg file works in Visio but it imports as a graphics image. But it is of no use since, since I cannot treat this image as a class diagram in Visio.
StarUML gives a great facility to reuse the classes in multiple diagrams under a package. It stores reference of the Class (Model Explorer) used in one diagram, that can be reused.
So, When I modify attribute of class in one diagram, it is updated in the other diagrams where this class is reused.
Question- Can I do a similar thing in MS Visio after importing the respective SVG file from StartUML?

modelio does not import overture uml exported file

I want to learn how to use Modelio and Overture together to learn to model programs with UML and VDM. The whole procedure about creating a UML model, exporting it to XMI (uml extension), and importing to Overture is done successfully.
However, when I try to export it back to Modelio, it brings "Failed: file content is not recognized as a valid model". Overture's tutorial tells it's possible to import/export back and forth; however, it seems the feature is broken as of now.
I may be doing something wrong. Maybe I have to set Overture in a certain way for Modelio to understand its exported XMI file. All of my online searches for a solution have been unsuccessful. How may I successfully export/import from Overture to Modelio?
I'm using Modelio 3.4.1 and Overture 2.3.0.
Thank you.

create emf generated model from an uml model

I'm triying to create a graphical editor using eclipse gmf, based on an uml model,
for this I created a .gnemodel file based on my uml model but I do not have the associations in the generated .ecore file
I used eclipse papyrus to create the uml model and I think there is something missing so the associations can be imported to the ecore file.
Edit (Image from comment)
I found the solution, actually in this example the association owns both
of its ends so changing the owner of the end i want to use in my .ecore file into classifier in the properties view of papyrus worked.
This is a screenshot: http://imgur.com/H4UkESU

jdeveloper class diagram to image

I have jdeveloper Studio Edition Version 12.1.2.0.0
I have created a pretty complex UML class diagram, and the only way (that I know of) is to export it which creates an xmi file. Is there some sort of way to create an image of it? I can't do much with the XMI file other than import it back to jdeveloper..
Thanks!
Right click the diagram and choose Publish...

CoreData in a static library only shows objects as NSManagedObject not the class that I specify

I have a static library which uses CoreData. I've copied the .xcdatamodelId in to the IOS application that references the static library, this is so that the .mom file ends up in the main bundle.
I have created core data classes within the static library. If I run the code then the data is retrieved from Core Data correctly but the objects that are generated have the type NSManagedObject.
I've tried copying the generated core data classes in to the main app, this fixes the problem and means that the object is no longer of type NSManagedObject (Since they are in the same bundle.) However the entire static library is based on these Core Data classes and I'd prefer not to move them.
Is there any way that I can tell Core Data to use the classes within the static library?
Thanks,
Joe
I solved this by subclassing my CoreData classes within my main application and then setting my .xcdatamodelId file to use those classes. This works because the classes are now in the main bundle.

Resources