[233468] cdamus - TVT34:TCT511: PLK: "Unzipping Projects" - English string in Wizard window
diff --git a/examples/org.eclipse.emf.ocl.examples/src/org/eclipse/emf/ocl/examples/internal/l10n/Messages.java b/examples/org.eclipse.emf.ocl.examples/src/org/eclipse/emf/ocl/examples/internal/l10n/Messages.java
new file mode 100644
index 0000000..37f9c19
--- /dev/null
+++ b/examples/org.eclipse.emf.ocl.examples/src/org/eclipse/emf/ocl/examples/internal/l10n/Messages.java
@@ -0,0 +1,42 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2008 Zeligsoft 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Zeligsoft - Initial API and implementation
+ *
+ * </copyright>
+ *
+ * $Id: Messages.java,v 1.1 2008/11/26 18:33:55 cdamus Exp $
+ */
+
+package org.eclipse.emf.ocl.examples.internal.l10n;
+
+import org.eclipse.osgi.util.NLS;
+
+/**
+ * Localized messages for the examples plug-in.
+ *
+ * @author Christian W. Damus (cdamus)
+ */
+public class Messages
+ extends NLS {
+
+ private static final String BUNDLE_NAME = "org.eclipse.emf.ocl.examples.internal.l10n.messages"; //$NON-NLS-1$
+
+ public static String AbstractExampleWizard_unzipping;
+
+ static {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages() {
+ super();
+ }
+}
diff --git a/examples/org.eclipse.emf.ocl.examples/src/org/eclipse/emf/ocl/examples/internal/l10n/messages.properties b/examples/org.eclipse.emf.ocl.examples/src/org/eclipse/emf/ocl/examples/internal/l10n/messages.properties
new file mode 100644
index 0000000..011b2be
--- /dev/null
+++ b/examples/org.eclipse.emf.ocl.examples/src/org/eclipse/emf/ocl/examples/internal/l10n/messages.properties
@@ -0,0 +1,15 @@
+###############################################################################
+# Copyright (c) 2008 Zeligsoft 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
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Zeligsoft - Initial API and implementation
+#
+# $Id: messages.properties,v 1.1 2008/11/26 18:33:55 cdamus Exp $
+#
+###############################################################################
+
+AbstractExampleWizard_unzipping=Unzipping Projects
diff --git a/examples/org.eclipse.emf.ocl.examples/src/org/eclipse/emf/ocl/examples/internal/wizard/AbstractExampleWizard.java b/examples/org.eclipse.emf.ocl.examples/src/org/eclipse/emf/ocl/examples/internal/wizard/AbstractExampleWizard.java
index 23f6265..754d5ab 100644
--- a/examples/org.eclipse.emf.ocl.examples/src/org/eclipse/emf/ocl/examples/internal/wizard/AbstractExampleWizard.java
+++ b/examples/org.eclipse.emf.ocl.examples/src/org/eclipse/emf/ocl/examples/internal/wizard/AbstractExampleWizard.java
@@ -36,6 +36,7 @@
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Platform;
+import org.eclipse.emf.ocl.examples.internal.l10n.Messages;
import org.eclipse.jface.operation.IRunnableWithProgress;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.wizard.Wizard;
@@ -126,7 +127,7 @@
protected void execute(IProgressMonitor m)
throws CoreException, InvocationTargetException, InterruptedException {
- m.beginTask("Unzipping Projects", projectDescriptors.size()); //$NON-NLS-1$
+ m.beginTask(Messages.AbstractExampleWizard_unzipping, projectDescriptors.size());
for (Iterator i = projectDescriptors.iterator(); i.hasNext();) {
unzipProject((ProjectDescriptor)i.next(), m);