[ 
http://jira.andromda.org/browse/UMLMETA-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16182#action_16182
 ] 

Bob Fields commented on UMLMETA-105:
------------------------------------

The only way I see to fix this issue is to capture the list of models to be 
processed through the repository facade, and populate a static list in a class 
in a metafacade (i.e. UMLUtilities) such that the list can be referenced by 
other classes at the metafacade layer during further processing. The current 
API uses EMF .getModel() which simply returns the model containing the current 
element being processed, but there is no way I can find to get all of the 
referenced models since theoretically there may be no relationship between the 
contents of the models.

We would have to get the list before processing all of the models, since the 
list would have to be available during the processing. Also, we would probably 
want to exclude the modules such as UML Standard Profile and other dependent 
profiles, for performance reasons, so we don't loop through all of those 
contents looking for UseCases or other user content.

A year ago, multiple model processing was not even supported for UML2 models :)

> FrontEndUseCase.getAllUseCases returns only the use cases of the current model
> ------------------------------------------------------------------------------
>
>                 Key: UMLMETA-105
>                 URL: http://jira.andromda.org/browse/UMLMETA-105
>             Project: UML Metafacades
>          Issue Type: Bug
>            Reporter: Walter Itamar MourĂ£o
>            Assignee: Bob Fields
>
> Andromda supports multiple models but the method getAllUseCases of the 
> FrontEndUseCase class returns only use cases of the current model

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------

Reply via email to