Skip to content

Fixed Masked Connector End Issue#4

Open
dandunbar23 wants to merge 2 commits into
Open-MBEE:masterfrom
dandunbar23:master
Open

Fixed Masked Connector End Issue#4
dandunbar23 wants to merge 2 commits into
Open-MBEE:masterfrom
dandunbar23:master

Conversation

@dandunbar23
Copy link
Copy Markdown
Collaborator

This PR fixes bug addressed in Issue #2 related to Binding Connectors being masked on the Client side connector. Looking at the code, supplier role and client role were implemented differently. I changed the client role to match the way supplier role was set, and the bug resolved itself.

There may be a reason from other use cases the keep the client side role the way it was. If so, we will need to implement some sort of if statement logic based on the connector type.

Also, I pulled the importXmlSysml action into its own method instead of nesting it in the action listener. This allows other plugins to use the public method.

Daniel Dunbar added 2 commits December 27, 2023 11:15
…ns to use it. Also fixed a bug in Connector.java that masked the client side port on a connector build.
@dandunbar23
Copy link
Copy Markdown
Collaborator Author

This updated PR adds functionality to enable interacting with existing elements by referencing their cameo ids (Reference Issue #5). Specifically, it looks at the parent relationship and checks whether the ID in the parent relationship refers to an existing element in Cameo. If so, it returns that element. Otherwise, it behaves as before. This enables things like adding stereotypes to an existing profile or adding value properties to an existing block.

@danielsiegl
Copy link
Copy Markdown
Collaborator

@dandunbar23 are you on openmbee slack?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants