Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Masked Connector End Issue #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dandunbar23
Copy link
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
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
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