blob: e8ae5ff28831ee44a3d7d4c3c5ef2d1f491cee46 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007, 2018 Borland Software Corporation and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Borland Software Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.m2m.internal.qvt.oml.emf.util.ui.controls;
import java.text.MessageFormat;
import org.eclipse.osgi.util.NLS;
public class Messages {
private Messages() {
}
public static String SelectFileControl_SelectedFile;
public static String SelectFileControl_NewFile;
public static String format(String pattern, Object ... args) {
try {
return MessageFormat.format(pattern, args);
}
catch(Exception e) {
return "!" + pattern + "!"; //$NON-NLS-1$ //$NON-NLS-2$
}
}
private static final String BUNDLE_NAME = "org.eclipse.m2m.internal.qvt.oml.emf.util.ui.controls.messages"; //$NON-NLS-1$
static {
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
}
}