diff options
author | Alexander Kurtakov | 2019-10-10 21:57:50 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2019-10-10 21:57:50 +0000 |
commit | 7cd94f8f91b4c48e06b11f2520ef30454d7aaddc (patch) | |
tree | dbeb6fd4d16c03f09e30c9952bc62c5185e872f1 | |
parent | dbaf7ae6941ee8691157d1c3995ebfc9ed9340ae (diff) | |
download | org.eclipse.cdt-7cd94f8f91b4c48e06b11f2520ef30454d7aaddc.tar.gz org.eclipse.cdt-7cd94f8f91b4c48e06b11f2520ef30454d7aaddc.tar.xz org.eclipse.cdt-7cd94f8f91b4c48e06b11f2520ef30454d7aaddc.zip |
Move away of deprecated IDE.getEditorDescriptor method.
Change-Id: Id7e61518276a5cf1f9395ada03c8168d1a5a0920
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r-- | core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/util/EditorUtility.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/util/EditorUtility.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/util/EditorUtility.java index 3f7204bedfc..e6afd167317 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/util/EditorUtility.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/util/EditorUtility.java @@ -575,7 +575,7 @@ public class EditorUtility { */ public static String getEditorID(String name) { try { - IEditorDescriptor descriptor = IDE.getEditorDescriptor(name); + IEditorDescriptor descriptor = IDE.getEditorDescriptor(name, true, false); if (descriptor != null) { return descriptor.getId(); } |