blob: ed3389d1391b462859e7a2f60c837b7f9aee13a3 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2015 École Polytechnique de Montréal
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License 2.0 which
* accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Geneviève Bastien - Initial API and implementation
*******************************************************************************/
package org.eclipse.tracecompass.incubator.internal.virtual.machine.analysis.core.model.analysis;
import org.eclipse.jdt.annotation.Nullable;
import org.eclipse.osgi.util.NLS;
/**
* Externalized message strings from the Fused VM Analysis
*
* @author Cédric Biancheri
*/
@SuppressWarnings("javadoc")
public class Messages extends NLS {
private static final String BUNDLE_NAME = Messages.class.getPackage().getName() + ".messages"; //$NON-NLS-1$
public static @Nullable String VirtualMachineModelAnalysis_Help;
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
}
private Messages() {
}
/**
* Helper method to expose externalized strings as non-null objects.
*/
public static String getMessage(@Nullable String msg) {
return msg == null ? "" : msg; //$NON-NLS-1$
}
}