From 0b1f41648611ab60683d40203236477b52b40351 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Fri, 11 Jul 2008 13:20:17 +0000 Subject: 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 --- .../Components/dialogcomponent/DialogComponent.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'odk/examples/DevelopersGuide') 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; } -- cgit v1.2.3