Author Topic: Drag-drop class - features visibility  (Read 2429 times)

plelovsky

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Drag-drop class - features visibility
« on: January 22, 2015, 02:24:27 am »
I use the class diagram to display one class or a few related classes. These main classes have associations to other classes from other packages. I want the main classes to have displayed its features (attributes, operations), while the associated ones to have displayed small empty rectangle without details, with class name only.
When I drag-drop a class onto a class diagram from the Project Browser, it appears with all its features. I have to select "Fetaure and Compartment Visibility ..." from the context menu, uncheck visibility of all features and then change the size of the shape, because it retains its original size.

Is it possible to set hidding details after the drag-drop of class?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Drag-drop class - features visibility
« Reply #1 on: January 22, 2015, 05:11:29 am »
Only with an add-in that subscribes to EAOnPostNewDiagramObject.

I'm not sure if you can use package templates here. Give it a try.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Drag-drop class - features visibility
« Reply #2 on: January 22, 2015, 06:08:30 pm »
For easy re-sizing use Alt-Z

Geert