tdf#146150 Use dispatch cmd for the corresponding SID
Change-Id: I0d987a8b10f2c69192d080b534a1d6aa71a6cf4d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157105 Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
This commit is contained in:
parent
fca39498df
commit
31ca96ff30
@ -72,7 +72,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor
|
||||
// entry "Content"
|
||||
XPropertySet xMenuEntry = UnoRuntime.queryInterface(XPropertySet.class, xMenuElementFactory.createInstance("com.sun.star.ui.ActionTrigger"));
|
||||
xMenuEntry.setPropertyValue("Text", "Content");
|
||||
xMenuEntry.setPropertyValue("CommandURL", "slot:5401");
|
||||
xMenuEntry.setPropertyValue("CommandURL", ".uno:HelpIndex");
|
||||
xMenuEntry.setPropertyValue("HelpURL", "5401");
|
||||
|
||||
// insert menu entry to sub menu
|
||||
@ -91,7 +91,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor
|
||||
// entry "Tips"
|
||||
xMenuEntry = UnoRuntime.queryInterface(com.sun.star.beans.XPropertySet.class, xMenuElementFactory.createInstance("com.sun.star.ui.ActionTrigger"));
|
||||
xMenuEntry.setPropertyValue("Text", "Tips");
|
||||
xMenuEntry.setPropertyValue("CommandURL", "slot:5404");
|
||||
xMenuEntry.setPropertyValue("CommandURL", ".uno:HelpTip");
|
||||
xMenuEntry.setPropertyValue("HelpURL", "5404");
|
||||
|
||||
// insert menu entry to sub menu
|
||||
|
@ -67,11 +67,11 @@ public class StatusView extends JPanel
|
||||
* const
|
||||
* These URL's describe available feature states.
|
||||
*/
|
||||
private static final String FEATUREURL_FONT = "slot:10007";
|
||||
private static final String FEATUREURL_SIZE = "slot:10015";
|
||||
private static final String FEATUREURL_BOLD = "slot:10009";
|
||||
private static final String FEATUREURL_ITALIC = "slot:10008";
|
||||
private static final String FEATUREURL_UNDERLINE = "slot:10014";
|
||||
private static final String FEATUREURL_FONT = ".uno:CharFontName";
|
||||
private static final String FEATUREURL_SIZE = ".uno:FontHeight";
|
||||
private static final String FEATUREURL_BOLD = ".uno:Bold";
|
||||
private static final String FEATUREURL_ITALIC = ".uno:Italic";
|
||||
private static final String FEATUREURL_UNDERLINE = ".uno:Underline";
|
||||
|
||||
|
||||
|
||||
|
@ -214,7 +214,7 @@ public class SdUnoDrawView extends TestCase {
|
||||
XController secondController = aModel.getCurrentController();
|
||||
tEnv.addObjRelation("SecondController", secondController);
|
||||
tEnv.addObjRelation("XDispatchProvider.URL",
|
||||
"slot:27009");
|
||||
".uno:DrawingMode");
|
||||
|
||||
//Adding relations for DrawingDocumentDrawView
|
||||
XDrawPage new_page = the_pages.insertNewByIndex(1);
|
||||
|
@ -100,7 +100,7 @@ public class SvxGraphCtrlAccessibleContext extends TestCase{
|
||||
|
||||
//Opening ImageMapDialog
|
||||
try {
|
||||
String aSlotID = "slot:10371";
|
||||
String aSlotID = ".uno:ImageMapDialog";
|
||||
XDispatchProvider xDispProv = UnoRuntime.queryInterface( XDispatchProvider.class, xController );
|
||||
XURLTransformer xParser = UnoRuntime.queryInterface(XURLTransformer.class,
|
||||
Param.getMSF().createInstance("com.sun.star.util.URLTransformer"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user