diff --git a/source/org/libreoffice/example/comp/StarterProjectImpl.java b/source/org/libreoffice/example/comp/StarterProjectImpl.java index 7aa83ae..e401999 100644 --- a/source/org/libreoffice/example/comp/StarterProjectImpl.java +++ b/source/org/libreoffice/example/comp/StarterProjectImpl.java @@ -59,9 +59,16 @@ public final class StarterProjectImpl extends WeakBase } // com.sun.star.task.XJobExecutor: - public void trigger(String Event) + public void trigger(String action) { - DialogHelper.showInfoMessage(m_xContext, null, "Hello World!"); + switch (action) { + case "actionOne": + DialogHelper.showInfoMessage(m_xContext, null, action); + break; + default: + DialogHelper.showErrorMessage(m_xContext, null, "Unknown action: " + action); + } + } }