i have some problems to create a view/diagram to a given uml file.
Papyrus created for storing 3 files (uml., .di, .notation).
It is possible to take only this .uml File and make a diagram?
I can import the file, it shows me the Objects if i double click on it but i cant create a view/diagram.
I've tried different things from the internet, but but without success.
Perhaps important to notice on camille's answer: if you have one model (A) and create+import the second model (B), then created diagrams on the imported B in model A won't be visible when opening+working in model B.
The other way around works neighter (created diagrams in model B aren't available in imported model B in model A).
Importing model_B.di in model A isn't possible. BUT: I've noticed the following solution works:
-Open both model A and model B .di-files in text/xml editor
-Add the <availablePage> ... </availablePage> to the <pageList> of the .di file of the model on which the diagram is missing.
-That's it...
This has only been tested on models stored as in (.di/.notation/.uml) format. Don't know what it would give when using CDO repository.
Should this be noted as a bug (allow import of .di-files)?
Should this be noted as a bug (allow import of .di-files)?
This currently isn't supported in Papyrus (Although you may achieve this with some kind of workaround as you said). But an enhancement has already been requested in Bug 394873