Edit in GitHubLog an issue

Plugin

Plugin object receveied in the PluginManager.getPlugins list, used for IPC(Inter Plugin Communication)

id ⇒ String

Get plugin id

Returns: String

version ⇒ String

Get plugin version

Returns: String

name ⇒ String

Get plugin name

Returns: String

manifest ⇒ JSON

Get plugin manifest

Returns: JSON

enabled ⇒ Boolean

Get plugin enabled/disabled state

Returns: Boolean

showPanel(panelId)

Show panel with the given ID. This api may be routed to the host app which can chose to disallow it. Used for commmunicating with other plugins (IPC : Inter Plugin Communication)

Note: There isn't an API to hide a panel. Panels can be shown but can not be hid.

Returns: Promise

ParamTypeDescription
panelId
String
id of the panel to be shown

invokeCommand(commandId, ...params)

Invoke command with given ID. This api may be routed to the host app which can chose to disallow it. Used for commmunicating with other plugins (IPC : Inter Plugin Communication)

Returns: Promise

ParamTypeDescription
commandId
String
id of the command to be invoked
...params
command arguments to be passed to invokeCommand
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.