Class PluginExample

Object
   |
   +--PluginExample

class PluginExample


A plug-in example
Defined in _100-test-plugin.js


Field Summary
 Object km
          
<static>  Object PLUGIN_ACTION
          
 
Constructor Summary
PluginExample(km)
            Create a plug-in instance
 
Method Summary
 Boolean actionListener(<Outline> source, <String> action)
           Handle action triggered from the outline context menu
 void addDeviceContextMenu(<String[]> contextMenu, <Boolean> isInitialized, <Number> authenticationState)
           Add an entry to the context menu associated with the device entry in the outline
 void addKeyContextMenu(<String[]> contextMenu, <Number> authenticationState, <Outline> keynode)
           Add an entry to the context menu associated with a key in the outline
 void addKeyDomainContextMenu(<String[]> contextMenu, <Number> authenticationState, keydomainnode)
           Add an entry to the context menu associated with a key domain in the outline
 void addKeyDomainInformation(<Object> dom)
           Supplement additional key domain infos
 void addKeyInformation(<Outline> keynode)
           Supplement additional key infos
 void deleteKey(node)
           Postprocessing after a key delete
 void deleteKeyDomain(<Object> dom)
           Postprocessing after a key domain delete
 Object toString()
          

Field Detail

km

Object km

PLUGIN_ACTION

<static> Object PLUGIN_ACTION

Constructor Detail

PluginExample

PluginExample(km)

Method Detail

actionListener

Boolean actionListener(<Outline> source, <String> action)

addDeviceContextMenu

void addDeviceContextMenu(<String[]> contextMenu, <Boolean> isInitialized, <Number> authenticationState)

addKeyContextMenu

void addKeyContextMenu(<String[]> contextMenu, <Number> authenticationState, <Outline> keynode)

addKeyDomainContextMenu

void addKeyDomainContextMenu(<String[]> contextMenu, <Number> authenticationState, keydomainnode)

addKeyDomainInformation

void addKeyDomainInformation(<Object> dom)

addKeyInformation

void addKeyInformation(<Outline> keynode)

deleteKey

void deleteKey(node)

deleteKeyDomain

void deleteKeyDomain(<Object> dom)

toString

Object toString()


Documentation generated by JSDoc on Sat Feb 24 15:17:19 2024