OpenSite/Reference/Workbenches/Native sample: Difference between revisions
Jump to navigation
Jump to search
BathAfrica (talk | contribs) Use BathAfrica sidebar contents without duplicate inline contents box |
BathAfrica (talk | contribs) Link adjacent OpenSite reference pages in reading order |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{OpenSite scope}} | |||
{{BathAfrica Workbench | {{BathAfrica Workbench | ||
|id=sample_native | |id=sample_native | ||
|summary=The sample native provider lists ping and span as one tool collection. | |summary=The sample native provider lists ping and span as one tool collection. | ||
| Line 18: | Line 18: | ||
[[OpenSite|OpenSite overview]] · [[OpenSite/Reference|Reference]] · [[OpenSite/Guides|Guides]] | [[OpenSite|OpenSite overview]] · [[OpenSite/Reference|Reference]] · [[OpenSite/Guides|Guides]] | ||
[[Category:OpenSite documentation]] | [[Category:OpenSite documentation]] | ||
<div class="os-page-nav">{{Docnav|OpenSite/Reference|OpenSite/Examples|OpenSite/Guides|All guides}}</div> | |||
Latest revision as of 14:15, 29 October 2026
The sample native provider lists ping and span as one tool collection.
- Stable identifier
sample_native
Tools
Ping returns a fixed text value. Span creates a document object, stores a length, and recomputes a doubled length.
Commands
sample_native.tool.ping, sample_native.tool.span
Limitations
The workbench is a stored command list. Selecting it does not create a menu, does not load other providers, and does not decide whether the span object recomputes.
Documentation basis
Source-reviewed against development commit 77c3fee13944bcc4b5d487c77eb1f82fbe4c6ea7, branch feature/phase-13c-properties-python-expressions. This review inspected the implementation and repository evidence; it did not run the Windows application or repeat CTest.
examples/plugins/native/sample_native.cppsrc/plugins/plugin_host.cpp