DE EN EN (Google)

Detail sidebar plugin

Detail sidebar plugins are useful to add new features inside the detail sidebar.

To create a new one, it’s necessary to extends the class DetailSidebarPlugin, implement the following methods and register it.

class MyDetailSidebarPlugin extends DetailSidebarPlugin
    # ... methods implementations

ez5.session_ready =>
    DetailSidebar.plugins.registerPlugin(MyDetailSidebarPlugin)

After the plugin is implemented and registered, a button will appear next to the button of the Asset Browser.

Methods to implement

Optional methods available to implement

Optional methods available to override

Usage of getPane():

# "top"
render: ->
  @_detailSidebar.mainPane.replace(@__pluginMainElement, "top")

# "left"
getPane: ->
  "left"

render: ->
  @_detailSidebar.browserLayout.replace(@__pluginMainElement, "left")

Available attributes