Author Topic: Interface operation properties not reflected  (Read 3131 times)

g.makulik

  • EA User
  • **
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Interface operation properties not reflected
« on: October 31, 2012, 09:05:23 am »
Can someone explain this strange difference of the operation properties from an interface with the properties showing up in the corresponding Method element from the EA object API:



Of course these properties are implicit for operations appearing in interface elements, though it's pretty strange that this isn't reflected in the EA.Method interface  :o ...

I think this is worth a bug report, anyone else came over this??

Regards,
Günther
Using EA9.3, UML2.3, C++, linux, my brain, http://makulik.github.com/sttcl/

Makulik

  • EA User
  • **
  • Posts: 400
  • Karma: +0/-0
    • View Profile
Re: Interface operation properties not reflected
« Reply #1 on: October 31, 2012, 09:35:13 pm »
I just noticed that it takes a notable amount of time until the image that demonstrates my concern is loaded. Any readers, please be patient ...

Here's a thumbnail
« Last Edit: October 31, 2012, 09:38:24 pm by Makulik »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Interface operation properties not reflected
« Reply #2 on: October 31, 2012, 10:09:10 pm »
That one does not render better than the picture in the first post.

q.

g.makulik

  • EA User
  • **
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Re: Interface operation properties not reflected
« Reply #3 on: November 01, 2012, 05:38:41 am »
submitted a bug report:

Quote
An interface operations properties are not correctly reflected in the corresponding EA.Method class in the EA object API. In particular I'm referring to the 'Abstract' and 'IsPure' properties, both evaluate to 'false' despite the GUI suggests them being 'true'.

I have appended a screen shot of the relevant operation property pages shown in the GUI and the property container shown for this operation in the EnarSpy utility (same behavior if I'm debugging my C# code).

Steps to Reproduction:
1. Create an interface element
2. Add an operation
3a. Select the operation and show element details with EnarSpy
3b. Alternatively create some automation code in C#, refer to the associated EA.Method object and check the Abstract and IsPure properties.

Using EA9.3, UML2.3, C++, linux, my brain, http://makulik.github.com/sttcl/