diff options
author | Sander Vesik <svesik@openoffice.org> | 2004-04-19 22:00:00 +0000 |
---|---|---|
committer | Sander Vesik <svesik@openoffice.org> | 2004-04-19 22:00:00 +0000 |
commit | 8910eacb6d2fcbe034ec035484c2d48846ac1c4d (patch) | |
tree | 8b4a11b0936261eb9a4ab73f8077b2a7e9f60dae /scripting/examples/beanshell | |
parent | e2c494ae09fb5b2eff115568a115e45997d64be5 (diff) |
INTEGRATION: CWS scriptingf5 (1.2.14); FILE MERGED
2004/02/19 17:51:38 toconnor 1.2.14.1: #i25271# Modify BeanShell Highlight example to use DialogProvider
Diffstat (limited to 'scripting/examples/beanshell')
-rwxr-xr-x | scripting/examples/beanshell/Highlight/parcel-descriptor.xml | 33 |
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> + |