Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Saul

Pages: [1]
1
Bugs and Issues / Re: Advanced > Make Composite
« on: February 14, 2013, 10:22:27 am »
That's it! Thanks.

2
Bugs and Issues / Advanced > Make Composite
« on: February 13, 2013, 02:31:11 pm »
I've just upgraded to EA10 and when I right-click on an Activity in a UML Activity diagram, I expect to see the menu option Advanced > Make Composite.

I no longer see it...has it gone somewhere else?

Thanks,
Saul

3
Bugs and Issues / Re: How to Get the Requirement Type
« on: May 23, 2011, 02:07:56 pm »
Hi Paolo,

that works!

Thanks,
Saul

4
Bugs and Issues / How to Get the Requirement Type
« on: May 19, 2011, 12:54:09 pm »
I have a Requirement element which has Requirement Type of "Functional" etc.

In the COM API, if I call element.Type then I get "Requirement" - i.e. I get the element type. How can I get the requirement type?

I've searches through the whole object model in te API and this property eludes me.

Following that, how do I reference the Requirement type in an RTF report?

Thanks,
Saul

5
Uml Process / Re: RTF Title Sheet
« on: February 11, 2011, 12:21:39 pm »
It would be really nice to be able to insert a title page with parameterised title, subtitle, version etc from the model.

6
Thanks KP...that works!

7
Automation Interface, Add-Ins and Tools / Re: How to access Action Behaviour
« on: September 25, 2011, 10:49:16 pm »
I'm still having problems with this one....Alex has suggested that I can access the GUID of the referenced method within the Custom Properties of the Action element. When I try this, the only custom properties I see are:

Custom Properties:
Element = 'Action1'      
name: 'kind', value: 'CallOperation'      
name: 'context', value: ''      
name: 'effect', value: ''      
name: 'value', value: ''      

So given that I have an Action element which is a CallOperation, how can I programatically access the method that this Action is calling?

Regards,
Saul

8
Hi Geert,

sorry I was not very explicit in my question...the Action is already a CallOperation and I can see the populated tab/treenode "Call".

My problem is how to access the contents of "Call" using the API?

Regards,
Saul

9
Automation Interface, Add-Ins and Tools / How to access Action Behaviour
« on: August 24, 2011, 10:05:10 pm »
I have dragged a method onto an Activity diagram to create an Action. Within the GUI, I can see a field called Baheviour set to my original method call:

"«request/reply»Services Model::Domain1::Interface1.getFoo"

The question is, how do I get this method string in the Action element? The only fields I can really see are CustomProperties and none of these contain the value I'm looking for.

Thanks,
Saul

10
OK, I've found the solution.

You need to set the connector type to 'Realisation' *not* 'Realization' as described in the API spec (under Connector).

I think this might be a bug - at least a documentation bug.

Regards,
Saul

11
Yes, the source is the use-case and the target is the requirement.

I didn't have direction specified, but I've fixed that now...no change.

The "realization" I create in the UI looks identical to the one created via the API...except for the fact that nothing shows up in the Use-Case External Requirements list.

12
I have an association between a use-case elemnt and a requirement element. I can change the connector type between them from 'Association' to 'Realization' using the COM API, however the requirement doesn't show up in the use-case as an 'External Requirement' as I would hope.

Looking at the API documentation there doesn't seem to be any way to add an existing requirement element as an external requirement to a use-case.

Am I missing something?

Pages: [1]