Toolbar is the part of the action, and make sure you are familiar with Jetpack Compose. To provide a toolbar on action you should implement class top.myrest.myflow.component.ActionKeywordToolbar
, and here we use kotlin to give an example:
To config plugin-spec.yml
, you should config the item toolbar: runflow.KotlinToolbar
to the specific action, like this:
actions:
- keywords:
- kotlin
name-bundle-id: Demo Action
handler: runflow.KotlinActionHandler
toolbar: runflow.KotlinToolbar