| [news.eclipse.modeling.mdt.uml2] Re: How to deal with uml model fragments? |
Hi Steve,
Hope that helps, Tas
Hi Tas
I see, I wasn't sure if fragment was a UML2 feature or an RSM feature,
I don't have access to RSM myself as I'm on OS X. The work I'm doing is
developing a DSL based soln as part of some standards work. Having a
common uml format between different tool vendors was a hope. The model
is split into fragments since it quite large but it seems to have issues
occasionally. I appreciate the quick answer, I guess that means I need to consider my own workarounds to this problem. Most fragments do in
fact work with uml2tools - just that some have bombs in them!
By the way, is there any way of filtering out various uml2 artefacts
from Project Explorer when I select a uml file, ideally just showing
package, class, attribute? (ie not stereotypes, profiles, documentation etc) If I could do thins I could be reasonably happy ;-)
regards Steve
Tas Frangoullides wrote:Hi Steve,
You don't mention if you are trying to use RSM or Eclipse to work with the models. Fragmets not really a feature of the UML2 project and you are probably better off working with them from RSM. I'd try laoding all the models in RSM which has facilities for validting and fixing problems with resoruces.
Hope that helps, Tas
"Bill Hinge" <steve.orobec@xxxxxxxxxxxxxxx> wrote in message news:h4cjb3$id0$1@xxxxxxxxxxxxxxxxxxxxBill Hinge wrote:
I originally posted this to the uml2tools but I'm told it would be better posted here, I was told it had been forwarded but it doesn't seem to have appeared, hence reposting
regards Steve
Hi
I have been given a folder full of RSM model fragments which were created from a very large class model.
Other editors have created new model fragments in RSM with a view to integrating this back into the collective model.
I am using uml2 and tools as part of my hybrid DSL (uml2 being another
DSL). However, while I can load the uml fragments which were part of
the original large class model, I get problems loading the the new uml
fragment in that it errors with Resource:/long%20path%20name/blah%20.efx' does not exist.
I get this error using load resource and the uml2 tree editor.
Is there a workaround or do I need to create my own custom module to to
handle this? I'm happy just to load the new fragment for manipulation
and ignore any links to external packages. I get similar issues in other
areas with bad links (the original model being an auto migration from RR)
Also is it possible to write filters to strip out unwanted items being shown visually in the tree editor, load resource window etc ie just see
packages, classes, attributes
regards Steve