[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.mdt.uml2] Re: How to deal with uml model fragments?

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@xxxxxxxxxxxxxxxxxxxx
Bill 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