This service provides additional methods for IXholon instances.
Most of these methods were originally part of the IXholon interface and Xholon class themselves,
but were moved here when IXholon and Xholon became too bloated.

Copy/Cut/Paste to/from Clipboard

XQuery thru Clipboard

The service methods can be invoked in either of two ways.
If invoked from some other thread, such as when invoked by the XholonGui,
then it should be done in a thread-safe manner by sending a synchronous message.
This will cause the request to be placed on the system queue to be actioned next timestep.
For example:

pasteMerge

Paste a new node or subtree from an XML String,
by merging it with this node.
Existing structure is retained.
New nodes are pasted as the last child of an existing node.
Attributes are replaced with attributes in the XML.

As an example, if the Cellontro Cell model is currently loaded,
you could copy the following XML into the clipboard,
and then right click on the InheritanceHierarchy --> XholonClass node
and select Paste Merge.
This would create a new subtree of XholonClass nodes under the existing SmallMolecule node.