summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-07-11 13:20:17 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-07-11 13:20:17 +0000
commit0b1f41648611ab60683d40203236477b52b40351 (patch)
treea3377117aff9e4097b6b6f2d7c93111a31dd096b /odk/examples/DevelopersGuide
parent683518268c8346a0205948d8cd037bcc4d05548e (diff)
INTEGRATION: CWS jsc21 (1.3.74); FILE MERGED
2008/02/13 12:58:33 jsc 1.3.74.1: #i83415# add doit3 to handled methods
Diffstat (limited to 'odk/examples/DevelopersGuide')
-rw-r--r--odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java13
1 files changed, 7 insertions, 6 deletions
diff --git a/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java b/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
index f7bdab0006c9..af8d346f4a61 100644
--- a/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
+++ b/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
@@ -2,9 +2,9 @@
*
* $RCSfile: DialogComponent.java,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: obo $ $Date: 2007-01-25 11:05:22 $
+ * last change: $Author: rt $ $Date: 2008-07-11 14:20:17 $
*
* The Contents of this file are made available subject to the terms of
* the BSD license.
@@ -177,9 +177,9 @@ public class DialogComponent {
"Event Object = " + aEventObject );
}
- private String aHandlerMethod1 = "doit1";
- private String aHandlerMethod2 = "doit2";
- private String aHandlerMethod3 = "doit3";
+ private final String aHandlerMethod1 = "doit1";
+ private final String aHandlerMethod2 = "doit2";
+ private final String aHandlerMethod3 = "doit3";
//XDialogEventHandler
public boolean callHandlerMethod( /*IN*/XDialog xDialog, /*IN*/Object EventObject, /*IN*/String MethodName ) {
@@ -202,9 +202,10 @@ public class DialogComponent {
}
public String[] getSupportedMethodNames() {
- String[] retValue= new String[1];
+ String[] retValue= new String[3];
retValue[0]= aHandlerMethod1;
retValue[1]= aHandlerMethod2;
+ retValue[2]= aHandlerMethod3;
return retValue;
}