Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » UML repository instance
UML repository instance [message #621877] Thu, 21 June 2007 21:00
Krzysztof Kaczmarski is currently offline Krzysztof KaczmarskiFriend
Messages: 88
Registered: July 2009
Member
Hi All,

I have a question concerning RSA behavior with object instance diagrams.
I programmed a tool which for a given uml model creates a model that
is a representation of UML repository for that model. It contains
instance specification objects that refer to UML metaclasses.
The goal is to illustrate how certain models look like from internal
UML's point of view.

So, I have an instance model (uml file) which is
correctly imported into RSA project. It recognizes that
InstanceSpecifications inside refer to metaclasses, which is right.
Then, it automatically opens UML metamodel to keep my model
consistent, which is just right again. The problem begins when I try
to visualize this model on an object diagram. It looks like RSA cannot
correctly draw this diagram when InstanceSpecification objects refer
to metaclasses. It draws a "class box" for a link instead of a line
between two instance objects.
Funny thing is that if my instance model does not refer to metaclasses
then RSA can draw its diagram without any problems.

The question is how can I visualize uml model that is refering to UML
metamodel as a model.

It seems to me that the solution could be to remove from UML metamodel
information that it is a metamodel and force RSA to treat it as a
normal model and get instance specifications correctly drawn.
Unfortunately I don't know how to do that... I opened
UML.metamodel.emx files but it looks like there is no information
inside that it is a metamodel... here I stuck.

I am not sure if I sketched the problem clearly. If anyone has any
ideas, please help.

I also considered conversion of uml file to svg file but it seems that
there are no tools that can do that for InstanceSpecification
objects... are there?

Thanks,
Krzysztof
Previous Topic:Topcased - refreshing problems and more
Next Topic:how to save a model with applied stereotypes and tag values
Goto Forum:
  


Current Time: Sun Mar 29 22:38:53 GMT 2020

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

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

Back to the top