12
« on: January 10, 2013, 04:22:23 am »
I have a model I made some time ago, with EA 9.x. In a certain part of it, I defined several interfaces, which I later used in a component diagram, like this:
1) Add new component.
2) Add new port to component.
3) Add exposed interfaces to component, selecting the required and / or provided interfaces from the previously defined interfaces.
I noticed the following behaviour, which I can still see if I open that old model with EA 10:
a) In the project browser, the provided and required interfaces appear with a name and a type, both equal to the selected (previously defined) interface (such as MyInterface:MyInterface). Fine.
b) If I click with the right button on a provided / required interface (in the diagram), I can select Find --> Locate Classifier in Project Browser. Very useful indeed.
c) If I click with the right button on an interface (in the browser or a diagram), I can select Find --> Find in All Diagrams, and it finds every use of the interface as a provided or required interface. Very useful too.
d) Odd enough, there are a couple of provided / required interfaces that do NOT appear to have a type (in the browser), their classifiers canNOT be located (there is no Locate Classifier option in the Find sub-menu), and they are NOT found when searching the diagrams where their interface types are used.
Moreover, I cannot change those provided / required interfaces in order to reproduce the 'good' behaviour described in a), b), and c), and I cannot create new models with that behaviour (from scratch) with EA 10.
Even now I am not sure if I created the provided / required interfaces in the old model (with EA 9.x) just as I described in steps 1), 2), and 3), or if I did something else or something slightly different.
If I right-click on a port in the old model, and select Structural Elements..., I can see a dialogue like this:
Name Element Type Stereotype Visible Owner
ILocalApp RequiredInterface ILocalApp True app
IRemoteApp ProvidedInterface True app
The second row is what I see for the 'good-behaviour' interfaces; the third row is what I see for the 'bad-behaviour' interfaces: no Type!. And I cannot modify the bad ones, even with the dialogue's 'Modify' button.
How can I set the right Type for these provided / required interfaces?
Is this something that has changed in EA 10?