mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +02:00
Move away of deprecated IDE.getEditorDescriptor method.
Change-Id: Id7e61518276a5cf1f9395ada03c8168d1a5a0920 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
This commit is contained in:
parent
dbaf7ae694
commit
7cd94f8f91
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue