Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » cross reference to models in other project not resolved
cross reference to models in other project not resolved [message #626255] Tue, 25 March 2008 12:30
Jinhui is currently offline JinhuiFriend
Messages: 42
Registered: July 2009
Hi guys,

I have a problem about inter model references: if the type of a Property
is defined in a model in the same project, the type can be resolved. But
if the type is defined in a model in the other Project(i.e. not in the
same project as the referencing model), then the Type can't be resolved,
it was just an eProxy.

the situation:

I have two projects:
|--Date (uml::Class)

|--myModel.emx (imported "platform:/resource/ProjectA/java.emx")

Now the problem here: if I try to get the type of attr1, it is defined as
a eProxy, so the name of the type of Class1.attr1 is in this case "null".

But interestingly, if I move java.emx into the same Project as the
referencing model, i.e. ProjectB, the the model can be resolved correctly.
I get the name of type of Class1.attr1 == "Date".

Can anyone explain this to me? Does this mean that I have to copy the
referenced Model into every Project that references it???

best Regards!
Previous Topic:Connectors and Provided / Required Interfaces
Next Topic:extension and visualisation
Goto Forum:

Current Time: Sun May 20 16:06:33 GMT 2018

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

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

Back to the top