IScriptCodeTemplateHandler
Scriptable object, inherited from ICodeTemplateHandler
Description
Script Code Template Handler interface
Properties
| Property | Description |
|---|---|
| Enabled | Returns if template is active |
| Surrounder | Indicates that template can be used for surrounding |
Event Handlers
| Event Handler | Description |
|---|---|
| onDescription | ICodeTemplateHandler::GetDescription handler (function) |
| onEnabled | ICodeTemplateHandler::Enabled handler (function) |
| onExecute | ICodeTemplateHandler::Execute handler (function) |
| onText | ICodeTemplateHandler::GetText handler (function) |
Methods
| Method | Description |
|---|---|
| equals | Compare, if objects are equal |
| Execute | Execute command |
| GetDescription | Returns Code template description |
| GetText | Returns Code template expanded text. Called if Execute fails |