@@ -0,0 +1,1391 @@
+/***********************************************************************************************************************%0A * Copyright (c) 2008,2010 TOPCASED consortium.%0A * %0A * All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse%0A * Public License v1.0 which accompanies this distribution, and is available at%0A * http://www.eclipse.org/legal/epl-v10.html%0A * %0A * Contributors: Sebastien GABEL (CS) - initial API and implementation%0A * %0A **********************************************************************************************************************/%0Apackage org.topcased.requirement.export.internal;%0A%0Aimport java.util.MissingResourceException;%0Aimport java.util.ResourceBundle;%0A%0A/**%0A * Handles internationalization of classes%0A * %0A * @author %3Ca href=%22mailto:sebastien.gabel@c-s.fr%22%3ESebastien GABEL%3C/a%3E%0A */%0Apublic final class Messages%0A%7B%0A    private static final String BUNDLE_NAME = %22org.topcased.requirement.export.internal.messages%22; //$NON-NLS-1$%0A%0A    private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);%0A%0A    private Messages()%0A    %7B%0A    %7D%0A%0A    public static String getString(String key)%0A    %7B%0A        try%0A        %7B%0A            return RESOURCE_BUNDLE.getString(key);%0A        %7D%0A        catch (MissingResourceException e)%0A        %7B%0A            return '!' + key + '!';%0A        %7D%0A    %7D%0A%7D%0A

Refactor import/export plug-ins: - externalize strings - add internal package for messages and activator