|
|
|
Re: BUGs - External References .uml files [message #642656 is a reply to message #642347] |
Thu, 02 December 2010 08:43 |
|
Hi Bruno,
you can use in Papyrus Model explorer (present by default when you select the papyrus perpective) a menu action called "Import Package from file". This can be done on any package in the model, the easiest would be to select the root element of your model.
With this action, you can select a .uml file in the workspace, and select it to import the package you want. Papyrus will create itself the ElementImport and load the required resource.
HTH,
Rémi
Remi Schnekenburger
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
|
|
|
Re: BUGs - External References .uml files [message #645164 is a reply to message #642656] |
Wed, 15 December 2010 18:26 |
Bruno Mattos Messages: 17 Registered: November 2010 |
Junior Member |
|
|
hi, you're helping me a lot. However, I still have a doubt.
Let me describe the situation:
I first create 2 papyrus projects (project1 and Project2).
In Project1 I've got model1, and in model1 I've got Class1.
In Project2 have Model2, in Model2 have Package2, and in Package2 have Class2. Model1 has a PackageImport importing Package2 from project2.
In a diagram of model1, I display Class1 and Class2 (imported).
Through the diagram, create a property to Class2, and this change is not manifested in Model2. (Just have the property in model1)
If I close the enviromment and open it again, the property appears as null in the diagram from model1, and nothing appears in Model2. I can not edit or delete the property.
Analyzing the .di, .notations, and .uml files into workspace, I can not see anywhere the property that I created. I wonder where is the information that makes the editor present the property as null.
I think that i shouldn't be allowed to create the property under these conditions.
thanks for the help,
Bruno.
|
|
|
Powered by
FUDForum. Page generated in 0.03511 seconds