ToolEditPlugin module

filename:ToolEditPlugin.py
author:roar@tordivel.no
requirements:Scorpion 9.0.0.494 or higher

Scorpion sample plugin for hosting controls inside a PluginManager hosted panel/page

1.0.0.4, 11nov2015, RL: modified for autodoc
1.0.0.3, 10aug2012, RL:
  removed accessControl
  halign and valign replaces hcenter and vcenter
1.0.0.2, 06aug2012, RL:
  added hcenter and vcenter
1.0.0.1, 29sep2011, RL:
  created
class ToolEditPlugin.ToolEditPlugin(cntr, name)[source]

Bases: object

__str__()[source]

return a unique persistance name for host application storage

init()[source]

reset all content and add the description label

positionControls()[source]

set button positions

addBttn(caption, tool, tab, context)[source]

add a button to the plugin

getConfig()[source]

returns plugin configuration as xml

setConfig(value)[source]

set plugin configuration from the string ‘value’

configure()[source]

launch an input dialog for editing tool

cntrResize(sender, args)[source]

reposition controls

bttnClick(sender, args)[source]

callback when user clicks the configure button

ToolEditPlugin.CreatePlugin(hWnd, name='')[source]

Scorpion Plugin Stub - Required