Skip to main content

Layer1ActionMetadata

Package: velox.api.layer1.actions.annotations

Type: Annotation Interface

@Target(TYPE)
@Retention(RUNTIME)
@Repeatable(Layer1ActionMetadataList.class)
public @interface Layer1ActionMetadata

Description​

Mark your Layer1ExternalAction implementations with this annotation.

Elements​

groups​

String[] groups()

Describes group hierarchy where the action will be located in the Keyboard Shortcuts window.

The root group for all external actions is Addons/strategy_name.

Default: {}

id​

String id()

Action unique identifier. It's a mandatory field.

name​

String name()

The action name you see in Keyboard Shortcuts. If it's not present the id() field will be used instead.

Default: ""