Book a Demo

Author Topic: Copying/saving a diagram to the clipboard  (Read 6502 times)

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Copying/saving a diagram to the clipboard
« on: April 14, 2015, 12:58:16 am »
If I have a diagram call foo and save it to the clipboard, when it gets pasted into another document it has a box at the top reading "class foo". Is there a way to customise this through a stereotype and make it read "SADM foo"?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Copying/saving a diagram to the clipboard
« Reply #1 on: April 14, 2015, 02:05:20 am »
IIRC you can do that with a MDG. But it's quite a time since I worked with that.

q.

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Copying/saving a diagram to the clipboard
« Reply #2 on: April 14, 2015, 10:05:41 am »
You would need to create a Diagram Profile which defines your own custom diagram type, then include this in an MDG Technology.  See:
http://www.sparxsystems.com/enterprise_architect_user_guide/12.0/extending_uml_models/create_diagram_profiles_using_.html

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Re: Copying/saving a diagram to the clipboard
« Reply #3 on: April 14, 2015, 11:48:51 pm »
Thanks for this, MDG technology gets mentioned again I should give a try. Is the MDG creation wizard capable of generating an MDG file based on a project?

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Copying/saving a diagram to the clipboard
« Reply #4 on: April 15, 2015, 10:45:13 am »
Not if you are including profiles.  You need to export each of your profiles (Stereotypes, Diagrams, Toolboxes) as XML files first, which can then be included in the MDG Technology.

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Re: Copying/saving a diagram to the clipboard
« Reply #5 on: April 15, 2015, 06:57:48 pm »
Quote
Not if you are including profiles.  You need to export each of your profiles (Stereotypes, Diagrams, Toolboxes) as XML files first, which can then be included in the MDG Technology.
How can I establish beyond doubt all the profiles used in a project, including those inherited?

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Copying/saving a diagram to the clipboard
« Reply #6 on: April 22, 2015, 11:04:49 am »
Alternatively
Tools > Options > Diagram
See "Diagram frames"
you can turn them off when copied to the clipboard, so the problem goes away.
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Re: Copying/saving a diagram to the clipboard
« Reply #7 on: April 24, 2015, 05:59:19 pm »
Quote
Alternatively
Tools > Options > Diagram
See "Diagram frames"
you can turn them off when copied to the clipboard, so the problem goes away.
It certainly does the trick; thank you very much, much appreciated.