From 129b8c83b4b112d309d0bcf257d5de1024240c58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Bl=C3=A4sing?= Date: Tue, 20 Aug 2024 21:22:28 +0200 Subject: [PATCH] .c/.h/.hpp files: Register WhereUsedAction and RenameAction in correct mime paths Closes: #7686 --- .../org/netbeans/modules/cpplite/editor/file/CDataObject.java | 4 ++-- .../org/netbeans/modules/cpplite/editor/file/HDataObject.java | 4 ++-- .../netbeans/modules/cpplite/editor/file/HPPDataObject.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/CDataObject.java b/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/CDataObject.java index 654d2232abf6..3f142f3b4d37 100644 --- a/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/CDataObject.java +++ b/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/CDataObject.java @@ -103,12 +103,12 @@ position = 1400 ), @ActionReference( - path = "Editors/" + MIMETypes.CPP + "/Popup", + path = "Editors/" + MIMETypes.C + "/Popup", id = @ActionID(category = "Refactoring", id = "org.netbeans.modules.refactoring.api.ui.WhereUsedAction"), position = 1400 ), @ActionReference( - path = "Editors/" + MIMETypes.CPP + "/Popup", + path = "Editors/" + MIMETypes.C + "/Popup", id = @ActionID(category = "Refactoring", id = "org.netbeans.modules.refactoring.api.ui.RenameAction"), position = 1500, separatorAfter = 1550 diff --git a/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/HDataObject.java b/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/HDataObject.java index c4cc4cfc4fdf..92c78a2c1c2b 100644 --- a/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/HDataObject.java +++ b/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/HDataObject.java @@ -103,12 +103,12 @@ position = 1400 ), @ActionReference( - path = "Editors/" + MIMETypes.CPP + "/Popup", + path = "Editors/" + MIMETypes.H + "/Popup", id = @ActionID(category = "Refactoring", id = "org.netbeans.modules.refactoring.api.ui.WhereUsedAction"), position = 1400 ), @ActionReference( - path = "Editors/" + MIMETypes.CPP + "/Popup", + path = "Editors/" + MIMETypes.H + "/Popup", id = @ActionID(category = "Refactoring", id = "org.netbeans.modules.refactoring.api.ui.RenameAction"), position = 1500, separatorAfter = 1550 diff --git a/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/HPPDataObject.java b/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/HPPDataObject.java index bd870ebe68d6..eaa069555227 100644 --- a/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/HPPDataObject.java +++ b/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/HPPDataObject.java @@ -103,12 +103,12 @@ position = 1400 ), @ActionReference( - path = "Editors/" + MIMETypes.CPP + "/Popup", + path = "Editors/" + MIMETypes.HPP + "/Popup", id = @ActionID(category = "Refactoring", id = "org.netbeans.modules.refactoring.api.ui.WhereUsedAction"), position = 1400 ), @ActionReference( - path = "Editors/" + MIMETypes.CPP + "/Popup", + path = "Editors/" + MIMETypes.HPP + "/Popup", id = @ActionID(category = "Refactoring", id = "org.netbeans.modules.refactoring.api.ui.RenameAction"), position = 1500, separatorAfter = 1550