mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Bug 561998 - Remove dependency to com.ibm.icu from CDT DSF GDB UI
Switch to JRE implementations: * com.ibm.icu.text.MessageFormat -> java.text.MessageFormat Signed-off-by: Mat Booth <mat.booth@gmail.com> Change-Id: Ib21c4c31cdc28bf70df2688a403afcf25a81cadc
This commit is contained in:
parent
38d45364cf
commit
8db32cb918
3 changed files with 3 additions and 7 deletions
|
@ -51,5 +51,4 @@ Export-Package: org.eclipse.cdt.dsf.gdb.internal.ui;x-friends:="org.eclipse.cdt.
|
|||
org.eclipse.cdt.dsf.gdb.internal.ui.viewmodel.breakpoints;x-internal:=true,
|
||||
org.eclipse.cdt.dsf.gdb.internal.ui.viewmodel.commands;x-internal:=true,
|
||||
org.eclipse.cdt.dsf.gdb.internal.ui.viewmodel.launch;x-internal:=true
|
||||
Import-Package: com.ibm.icu.text
|
||||
Automatic-Module-Name: org.eclipse.cdt.dsf.gdb.ui
|
||||
|
|
|
@ -13,11 +13,10 @@
|
|||
*******************************************************************************/
|
||||
package org.eclipse.cdt.dsf.gdb.internal.ui.launching;
|
||||
|
||||
import java.text.MessageFormat;
|
||||
import java.util.MissingResourceException;
|
||||
import java.util.ResourceBundle;
|
||||
|
||||
import com.ibm.icu.text.MessageFormat;
|
||||
|
||||
public class LaunchUIMessages {
|
||||
|
||||
private static final String BUNDLE_NAME = "org.eclipse.cdt.dsf.gdb.internal.ui.launching.LaunchUIMessages";//$NON-NLS-1$
|
||||
|
|
|
@ -36,8 +36,6 @@ import org.eclipse.swt.graphics.Image;
|
|||
import org.eclipse.swt.widgets.Shell;
|
||||
import org.eclipse.ui.dialogs.ISelectionStatusValidator;
|
||||
|
||||
import com.ibm.icu.text.MessageFormat;
|
||||
|
||||
public class ProcessPrompter implements IStatusHandler {
|
||||
|
||||
public static class PrompterInfo {
|
||||
|
@ -181,8 +179,8 @@ public class ProcessPrompter implements IStatusHandler {
|
|||
for (Object sel : selection) {
|
||||
String pid = Integer.toString(((IProcessExtendedInfo) sel).getPid(), 10);
|
||||
if (prompterInfo.debuggedProcesses.contains(pid)) {
|
||||
return new Status(IStatus.ERROR, GdbUIPlugin.getUniqueIdentifier(), MessageFormat
|
||||
.format(LaunchUIMessages.getString("ProcessPrompter.ErrProcessConected"), pid)); //$NON-NLS-1$
|
||||
return new Status(IStatus.ERROR, GdbUIPlugin.getUniqueIdentifier(),
|
||||
LaunchUIMessages.getFormattedString("ProcessPrompter.ErrProcessConected", pid)); //$NON-NLS-1$
|
||||
}
|
||||
}
|
||||
return new Status(IStatus.OK, GdbUIPlugin.getUniqueIdentifier(), ""); //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue