Book a Demo

Author Topic: adviseAttributeChanged and adviseOperationChanged  (Read 4663 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
adviseAttributeChanged and adviseOperationChanged
« on: September 21, 2009, 07:48:52 pm »
On the Repository there are two functions that work very well in refreshing the gui when you've changed something to the object:
- AdviseElementChanged
- AdviseConnectorChanged

Unfortunately these don't exist for attributes or operations. It would be nice (and Consistent  ;)) to have these type of function to attributes and operations as well.

I did find a workaround however, by first selecting the parent element in the treeview and then selecting the attribute/operation again. But that is not something I should be doing just to refresh the GUI.

Sent to Sparx as feature request.

Geert

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: adviseAttributeChanged and adviseOperationChan
« Reply #1 on: September 21, 2009, 08:25:39 pm »
Actually, IMHO this would better be phrased along the lines of 'all base types' so we don't go around this loop again somewhere down the line.

But I certainly agree. Thanks for making the observation and request.

David
No, you can't have it!