Book a Demo

Author Topic: Display an empty class compartment?  (Read 2888 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Display an empty class compartment?
« on: June 27, 2013, 08:06:29 pm »
Hi

If I create a new class, it is displayed as a box with no compartment.
Is there a way to force showing an empty attributes and/or operations compartment?

Thanks
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Display an empty class compartment?
« Reply #1 on: June 28, 2013, 09:44:55 am »
Not directly, but here is a work around:

1)  Right-click on the element.
2)  Select the Feature and Compartment Visibility context menu option.
3)  Select the Structure Compartment checkbox ONLY.

This leaves a clean, separated Class element shape. If you select any other checkboxes AND give the element the corresponding properties (such as attributes, operations or notes), they will also display in the element shape. And if you add anything that normally displays in the Structure Compartment, such as Ports and Parts, they will appear too.
« Last Edit: June 28, 2013, 09:45:48 am by RoyC »
Best Regards, Roy

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Display an empty class compartment?
« Reply #2 on: June 28, 2013, 04:52:03 pm »
Brilliant, that's exactly what I was looking for !

thanks Roy  :)
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com