diff --git a/registry/org/openoffice/Office/Addons.xcu b/registry/org/openoffice/Office/Addons.xcu index 65cc464..6726259 100644 --- a/registry/org/openoffice/Office/Addons.xcu +++ b/registry/org/openoffice/Office/Addons.xcu @@ -6,7 +6,7 @@ - service:org.libreoffice.example.StarterProject?actionOne + service:org.libreoffice.example.StarterProject?openGUI @@ -26,7 +26,7 @@ - service:org.libreoffice.example.StarterProject?actionOne + service:org.libreoffice.example.StarterProject?openGUI _self @@ -41,29 +41,7 @@ - - - - Starter Project - - - com.sun.star.text.TextDocument - - - - - Action One - - - service:org.libreoffice.example.StarterProject?actionOne - - - _self - - - - - + diff --git a/source/org/libreoffice/example/comp/StarterProjectImpl.java b/source/org/libreoffice/example/comp/StarterProjectImpl.java index de058c8..e6320ef 100644 --- a/source/org/libreoffice/example/comp/StarterProjectImpl.java +++ b/source/org/libreoffice/example/comp/StarterProjectImpl.java @@ -85,10 +85,7 @@ public final class StarterProjectImpl extends WeakBase public void trigger(String action) { switch (action) { - case "actionOne": - //ActionOneDialog actionOneDialog = new ActionOneDialog(m_xContext); - //actionOneDialog.show(); - + case "openGUI": Document doc = new Document(context); EditorGUI.runGUI(doc); break;