MyEclipse: Reuse the objects

aucpmsp - Aug 16, 2011 - 08:30 PM
Post subject: Reuse the objects
We would to create the common objects such us actors, classes, components, ....
and reuse them.
This because we should't recreate in every project or in every diagram.

This functionnality exists in Borland Togetther but we would to migrate to MyEclipse.

So how to reuse the objects created?
support-joy - Aug 18, 2011 - 07:20 AM
Post subject:
aucpmsp,

Quote:

We would to create the common objects such us actors, classes, components, ....
and reuse them.
This because we should't recreate in every project or in every diagram

Above functionality is project architecture related, meaning how you design various components so that they could be re-used. You should be able to do the same in MyEclipse too.

You cannot directly migrate your projects from Borland Togetther to MyEclipse. You need to create appropriate MyEclipse UML project and copy the project related files to your new MyEclipse project. I would recommend you go through our tutorials here - http://www.myeclipseide.com/module-htmlpages-display-pid-7.html
aucpmsp - Aug 18, 2011 - 07:44 PM
Post subject:
How to reuse the UML components in MyEclipse? Do you have a tutorial or Example?
Please explain how?

Regards,
support-joy - Aug 19, 2011 - 12:30 PM
Post subject:
aucpmsp,

I am afraid, we do not have an exact tutorial, but you could refer our tutorials here - http://www.myeclipseide.com/module-htmlpages-display-pid-7.html - look for UML. You can go through introduction to UMl, UML1 and UML2 overview, and the case studies available.
aucpmsp - Aug 19, 2011 - 01:47 PM
Post subject:
Hi Joy,

I read this tutorial http://www.myeclipseide.com/module-htmlpages-display-pid-7.html .
It don't show how to reuse the UML objects.

I give you the case and please explain me how to do this in MyEclipse:

I have 3 models : A, B , C . Each model contains the use cases, the activity diagrams, the classes, the collaboration, component and deployment diagrams. Each model can content the common UML objects.
The model A contains the commons objects only.
Situation1: In B we would use the common the UML Objects that are in B. How???
Situation2: In B and C we would use the common the UML Objects that are in A. How???

Please explain me how. This is very important for our projects.

Regards,

Alex.
support-tony - Aug 22, 2011 - 11:12 AM
Post subject:
Alex,

I'm sorry but we don't have that capability, at present. Exporting the common model to an XMI file and importing it into a new model is the only way to reuse those objects but that is not full reuse and likely not what you want as changes to the common model will not be reflected in the reusing models.

We have an enhancement request to add this feature but I'm afraid it isn't scheduled for any particular release.
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits