Book a Demo

Author Topic: Undoing Component Instance  (Read 4693 times)

jthillmn

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Undoing Component Instance
« on: January 21, 2014, 06:20:03 am »
While drawing an association from a component to a component instance, I was prompted with a dialog I wasn't familiar with; "Choose an Association Connector".  I could choose <anonymous> or <none>.  I choose <anonymous>, to my misfortune.  Now the source component was changed to a "component instance" with no ability to UNDO.  How do I convert it back to being a simple "public component"?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Undoing Component Instance
« Reply #1 on: January 21, 2014, 08:13:00 am »
I just tried that, but there was no conversion done. I have seen the dialogue (it was new to me). Are you sure about the conversion? Try than with an empty EAP as sandbox and see what happens.

q.

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Undoing Component Instance
« Reply #2 on: January 21, 2014, 09:33:53 am »
You can find out about this dialog in these two topics:

http://www.sparxsystems.com/enterprise_architect_user_guide/10/modeling_basics/usingclassifiers.html

http://www.sparxsystems.com/enterprise_architect_user_guide/10/modeling_basics/classify_object_via_associatio.html

The Component on the diagram is a reprepresentation of the Component in the model/parent Package. You have changed the representation to an instance, but the Component itself must still be in the parent Package. You should be able to drag it onto the diagram, paste as Link and re-establish its previous role in the diagram.
Best Regards, Roy

jthillmn

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Undoing Component Instance
« Reply #3 on: January 23, 2014, 01:41:22 am »
Thanks for the information.  Unfortunately, I could no longer find the component from which the instance had been derived, which made this so odd.

Between the time when I posted the question on this and receiving your very prompt responses, I had gone in and created a new component to replace the old and went thru all of the diagrams to do the swap.

I will attempt to re-create and lay out the steps for further discussion, here, as soon as my workload allows.

Thanks so much for the links, as I am reading thru them, as well.

Regards...Jim