This mixin is auto-loaded by the scripting plugin and mixed into the native java class OsmDataLayer.
Name | Description |
---|---|
Methods | |
apply | Apply commands |
This mixin provides additional properties and methods for the native Java class
OsmDataLayer, whose native public methods are available
for scripting, too. If a native method name is hidden by a property name in the mixin,
then prefix the native name with $
.
apply
Applies one or more undoable/redoable commands to the data layer. Signature
apply(cmd,cmd,...)
cmd
is either an instance of Command
or an object with a method createJOSMCommand(OsmDataLayer)
.