Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2016-04-14 15:41:36 -0400
committerAlexander Kurtakov2016-04-14 16:11:41 -0400
commit2dccabbf86cc91b96078c79579cb9c93f49f4131 (patch)
tree03457d1b78d849dcee44523b6a15e85f660804bd /changelog
parente7cad8c7b5f64f6c5ab2d42104b11513ddd9884d (diff)
downloadorg.eclipse.linuxtools-2dccabbf86cc91b96078c79579cb9c93f49f4131.tar.gz
org.eclipse.linuxtools-2dccabbf86cc91b96078c79579cb9c93f49f4131.tar.xz
org.eclipse.linuxtools-2dccabbf86cc91b96078c79579cb9c93f49f4131.zip
changelog: Move to non-deprecated IDE.getEditorDescription.
Change-Id: I388866a0fe05a7bb7b4da557c2bc5a620780b2e3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/70702 Tested-by: Hudson CI
Diffstat (limited to 'changelog')
-rw-r--r--changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/actions/PrepareChangeLogAction.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/actions/PrepareChangeLogAction.java b/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/actions/PrepareChangeLogAction.java
index 0212fe4588..a7574dcc7a 100644
--- a/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/actions/PrepareChangeLogAction.java
+++ b/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/actions/PrepareChangeLogAction.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006-2008, 2011 Red Hat Inc. and others.
+ * Copyright (c) 2006, 2016 Red Hat Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -529,7 +529,7 @@ public class PrepareChangeLogAction extends ChangeLogAction {
try {
IEditorDescriptor ed = org.eclipse.ui.ide.IDE
- .getEditorDescriptor(patchFileInfo.getPath().toOSString());
+ .getEditorDescriptor(patchFileInfo.getPath().toOSString(), true, false);
editorName = ed.getId().substring(ed.getId().lastIndexOf(".") + 1); // $NON-NLS-1$
} catch (PartInitException e1) {
ChangelogPlugin.getDefault().getLog().log(

Back to the top