forked from amazingfate/loongoffice
Add BeanShell equivalents of Java examples.
Fix MemoryUsage example to use AnyConverter instead of just casting.
This commit is contained in:
1
scripting/examples/beanshell/InteractiveBeanShell/interactive.bsh
Executable file
1
scripting/examples/beanshell/InteractiveBeanShell/interactive.bsh
Executable file
@ -0,0 +1 @@
|
||||
editor();
|
||||
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<parcel 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"/>
|
||||
<languagedepprops>
|
||||
</languagedepprops>
|
||||
</script>
|
||||
|
||||
</parcel>
|
||||
Reference in New Issue
Block a user