Layer1ApiShowShortcutPanelMessage
Package: velox.api.layer1.messages
Type: Class
Inheritance: java.lang.Object รขโ โ Layer1ApiShowShortcutPanelMessage
All Implemented Interfaces: Layer1ApiStrategiesEchoMessagesLayer.StrategyEchoMessageFromLayer
Descriptionโ
Show shortcut panel to user if it's currently not shown.
Fieldsโ
groupsโ
public final String[] groups
Constructorsโ
Layer1ApiShowShortcutPanelMessageโ
public Layer1ApiShowShortcutPanelMessage(String[] groups)
Parameters:
groups- Describes group hierarchy that will be expanded when the shortcut panel is shown. To open your addon menu use following path: first level isActionInfo#ADDONS_TRANSLATION_KEY(addons group), second level is your addon name (localized name if your addon have it). For further path use the same names for your addon internal actions as you use when create an action inLayer1ActionMetadata.groups()(if you use localization keys, use them here as well). Example:new String[]{ActionConstants.ADDONS_TRANSLATION_KEY, localizedBundle.getString("LocalizedStrategy.Name"), "LocalizedStrategy.ActionGroup"}
Layer1ApiShowShortcutPanelMessageโ
public Layer1ApiShowShortcutPanelMessage()