summaryrefslogtreecommitdiff
path: root/scripting/examples/beanshell
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/examples/beanshell')
-rwxr-xr-xscripting/examples/beanshell/Highlight/parcel-descriptor.xml33
1 files changed, 21 insertions, 12 deletions
diff --git a/scripting/examples/beanshell/Highlight/parcel-descriptor.xml b/scripting/examples/beanshell/Highlight/parcel-descriptor.xml
index a7bf9d25b00f..dad8560db8ea 100755
--- a/scripting/examples/beanshell/Highlight/parcel-descriptor.xml
+++ b/scripting/examples/beanshell/Highlight/parcel-descriptor.xml
@@ -1,16 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<parcel language="BeanShell" xmlns:parcel="scripting.dtd">
-
- <script language="BeanShell">
- <locale lang="en">
- <displayname value="Highlighter"/>
- <description>
- Text highlighting
- </description>
- </locale>
- <functionname value="highlighter.bsh"/>
- <logicalname value="Highlighter.BeanShell"/>
- </script>
-
+ <script language="BeanShell">
+ <locale lang="en">
+ <displayname value="ShowDialog" />
+ <description>
+ Example of how to show a dialog from BeanShell
+ </description>
+ </locale>
+ <functionname value="ShowDialog.bsh" />
+ <logicalname value="ShowDialog.BeanShell" />
+ </script>
+ <script language="BeanShell">
+ <locale lang="en">
+ <displayname value="ButtonPressHandler" />
+ <description>
+ Example of handle button press events for the Dialog
+ </description>
+ </locale>
+ <functionname value="ButtonPressHandler.bsh" />
+ <logicalname value="ButtonPressHandler.BeanShell" />
+ </script>
</parcel>
+