MagicDraw is a visual UML, SysML, BPMN, and UPDM modeling tool with team collaboration support.
Questions tagged [magic-draw]
51 questions
4
votes
1 answer
How to navigate through association class to create constraints with OCL?
I'm struggling to find a way to navigate through association class to create constraints
I checked on the specification here: https://www.omg.org/spec/OCL/About-OCL/
It's says:
Let say I have this class diagram:
And this object diagram:
As you…

Aliz
- 736
- 1
- 11
- 25
3
votes
1 answer
Running MagicDraw tests with Maven Surefire
I have create a MagicDraw plugin and JUnit tests also. The tests are annotated with
@RunWith (MagicDrawTestRunner.class)
as it is written in the official documentation. When I tun the maven command to package it, I get this…

Kérdezösködő Indián
- 570
- 1
- 5
- 17
3
votes
1 answer
Re-zipping an MDzip file
A client of mine is going through the process of migrating their Magicdraw models to Enterprise Architect.
Because of some issues in transferring the models we wanted to unzip the mdzip files, change the xmi contents, and then rezip them in order to…

Geert Bellekens
- 12,788
- 2
- 23
- 50
3
votes
2 answers
MagicDraw - show Interface with true UML notation
I can't find a way (searching through MagicDraw and its doc as well as Goolge) to make MagicDraw show an Interface as it is defined in UML with the stereotype notation << interface >> instead of just coloring it green and drawing a circle in the…

Holly
- 1,305
- 2
- 15
- 30
2
votes
2 answers
Is it possible to generate complete C/C++/Java code from a State machine in Magic Draw?
I want to generate code from my state machine in Magic Draw. Magic Draw supports code generation for classes but does not include an option for state machine. I tried using SinelaboreRT software. However, it generates limited code. We need to…

hkdhanesha
- 25
- 5
2
votes
1 answer
What element type should I use to model a message and its data elements in SysML?
In SysML, when modeling a message, I'm having trouble understanding what element type should be used to define it, its elements, and a port that it flows through.
I'm assuming it is either:
a raw Block
the more specialized InterfaceBlock
Both can…

LightCC
- 9,804
- 5
- 52
- 92
2
votes
1 answer
MagicDraw plugin of browser with JavaFx
I am writing a Magicdraw plugin with JavaFx Framework to add a new Browser. Following is the code of initialization of a new browser in LibraryBrowser class.
private static final WindowComponentInfo info = new WindowComponentInfo("test_browser",…

Lio Mou
- 91
- 1
- 1
- 5
2
votes
1 answer
Where and How is stored Graphical UML data in MagicDraw
I would like to know where/how is stored Graphical UML Data in MagicDraw, I mean the elements of the different diagrams, their size in the diagram and their location regarding the diagram and the other elements.
Thanks.

David Godoy
- 31
- 10
2
votes
2 answers
How to create abstract class in MagicDraw
I'm newbie in MagicDraw and I'd like to know how to specify a class as {abstract}.
I know about de property "Is abstract" in the Specification of Class, but I'd like that it appears in the header.

Manel
- 40
- 1
- 8
2
votes
1 answer
include & LogIn in UML use case
I have an account based system,it means that every feature of the system can be used only after Log In.Also,as far as I know in use case diagrams we 'include' something in the base case if it is meaningless without the included action.Back to my…

Andre Liberty
- 707
- 1
- 9
- 17
2
votes
1 answer
UML Representation of XACML
I've read many of the XACML questions and answers, which have been remarkably helpful, especially the links provided in many of the answers. But I haven't found what I was looking for, namely UML Class diagrams that represent the various…

Tupelo Thistlehead
- 143
- 5
2
votes
3 answers
How to create an object diagram in Magic Draw?
I want to create an object diagram of an existing class diagram in Magic Draw version 16.0. How can I do that? The official support of Magic Draw wrote in the forum "what do you mean by an object diagram" so I do not expect any help from that site…

strauberry
- 4,189
- 5
- 34
- 50
2
votes
1 answer
Test type of input parameter of a method in OCL
I have a class in UML that looks like this (it's in German, but I think it doesn't matter):
The first method takes an array of 4 "Rohstoffkarte". That's an abstract class and I have 5 concrete sub-classes for it. Now I want to check (with OCL) that…

Thomas Uhrig
- 30,811
- 12
- 60
- 80
2
votes
2 answers
OCL 2.0 Constraints
Hi there we´re currently working with MagicDraw 17.0. and we got the following problem. We would like to validate whether an object in an object diagram has any connected objects.
For example if an object "man" has a link to another object…

user1531879
- 21
- 3
2
votes
3 answers
Association between three classes
I have the following situation/ model:
I have a Player class which has a Color and a Figure. Quite simple. But now I want to give the Figure an association to the Color:
Now I'm looking for a way to force the Figure to have the same Color as the…

Thomas Uhrig
- 30,811
- 12
- 60
- 80