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

[docs] : add 'guidelines' in 'plugins/interfaces' #1721

Merged
merged 13 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/assets/AsyncInterfaceExample.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/ExampleStaticDynamic1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/ExampleStaticDynamic2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions docs/assets/umlsources.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
plantuml

@startuml

skin rose

participant Plugin order 30

Client1 -> Plugin: SetA(10)
CLient2 -> Plugin: GetA()
CLient2 -> Plugin: GetB()
Client1 -> Plugin: SetB(20)


@enduml


@startuml

skin rose

participant Plugin order 30

Client1 -> Plugin: SetA(10)
Activate Plugin
Plugin -> Client3: AChanged()
Activate Client3
Client2 -> Plugin: SetA(20)
Client3 -> Plugin: GetA()
Deactivate Client3
Plugin --> Client1
Deactivate Plugin

@enduml

@startuml

skin rose

participant Plugin order 30
participant PinProvider order 40

Client -> Plugin: GetPin(Callback)
Plugin --> Client
Plugin -> Plugin: GetPin
Activate Plugin
Plugin -> PinProvider: RetrievePin
Activate PinProvider
PinProvider --> Plugin: pin
Deactivate PinProvider
Plugin -> Client: Callback(pin)
Deactivate Plugin


@enduml
Loading