sourceforge 1386454 now supporting return values in event handlers. also added visio example of this

This commit is contained in:
clay_shooter
2006-02-12 00:53:11 +00:00
parent da8e6f9985
commit 3a30d03be1
12 changed files with 597 additions and 31 deletions

View File

@@ -74,10 +74,11 @@ public class ExcelEventTest extends InvocationProxy {
}
/**
* override the invoke method to loga ll the events
* override the invoke method to log all the events
*/
public void invoke(String methodName, Variant targetParameter[]) {
public Variant invoke(String methodName, Variant targetParameter[]) {
System.out.println("Received event from Windows program" + methodName);
return null;
}
}

View File

@@ -68,8 +68,9 @@ public class WordEventTest extends InvocationProxy {
/**
* override the invoke method to loga ll the events
*/
public void invoke(String methodName, Variant targetParameter[]) {
public Variant invoke(String methodName, Variant targetParameter[]) {
System.out.println("Received event from Windows program" + methodName);
return null;
}
}