diff options
Diffstat (limited to 'scripting/examples/beanshell/InteractiveBeanShell')
-rwxr-xr-x | scripting/examples/beanshell/InteractiveBeanShell/interactive.bsh | 4 | ||||
-rw-r--r-- | scripting/examples/beanshell/InteractiveBeanShell/parcel-descriptor.xml | 16 |
2 files changed, 20 insertions, 0 deletions
diff --git a/scripting/examples/beanshell/InteractiveBeanShell/interactive.bsh b/scripting/examples/beanshell/InteractiveBeanShell/interactive.bsh new file mode 100755 index 000000000000..5311882c1be3 --- /dev/null +++ b/scripting/examples/beanshell/InteractiveBeanShell/interactive.bsh @@ -0,0 +1,4 @@ +//Pops up a window into which you can type BeanShell code and run it +//against the current document +editor(); +return 0; diff --git a/scripting/examples/beanshell/InteractiveBeanShell/parcel-descriptor.xml b/scripting/examples/beanshell/InteractiveBeanShell/parcel-descriptor.xml new file mode 100644 index 000000000000..5c2ff6c182c8 --- /dev/null +++ b/scripting/examples/beanshell/InteractiveBeanShell/parcel-descriptor.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<parcel language="BeanShell" xmlns:parcel="scripting.dtd"> + + <script language="BeanShell"> + <locale lang="en"> + <displayname value="Interactive BeanShell"/> + <description> + Pops up a window into which you can type BeanShell code and run it against the current document + </description> + </locale> + <functionname value="interactive.bsh"/> + <logicalname value="Interactive.BeanShell"/> + </script> + +</parcel> |