[Esbox-commits] r851 - in trunk/common/com.nokia.carbide.templatewizard: . src/com/nokia/carbide/internal/api/template/engine src/com/nokia/carbide/internal/api/templatewizard/ui src/com/nokia/carbide/internal/templatewizard/process src/com/nokia/carbide/templatewizard/processes
eswartz at garage.maemo.org
eswartz at garage.maemo.org
Thu Oct 9 18:06:09 EEST 2008
Author: eswartz
Date: 2008-10-09 18:06:08 +0300 (Thu, 09 Oct 2008)
New Revision: 851
Removed:
trunk/common/com.nokia.carbide.templatewizard/doc/
Modified:
trunk/common/com.nokia.carbide.templatewizard/src/com/nokia/carbide/internal/api/template/engine/Template.java
trunk/common/com.nokia.carbide.templatewizard/src/com/nokia/carbide/internal/api/templatewizard/ui/TemplateWizardPage.java
trunk/common/com.nokia.carbide.templatewizard/src/com/nokia/carbide/internal/templatewizard/process/Parameter.java
trunk/common/com.nokia.carbide.templatewizard/src/com/nokia/carbide/templatewizard/processes/CopyFiles.java
Log:
Remove obsolete doc, fix license, and externalize strings.
Modified: trunk/common/com.nokia.carbide.templatewizard/src/com/nokia/carbide/internal/api/template/engine/Template.java
===================================================================
--- trunk/common/com.nokia.carbide.templatewizard/src/com/nokia/carbide/internal/api/template/engine/Template.java 2008-10-09 14:56:27 UTC (rev 850)
+++ trunk/common/com.nokia.carbide.templatewizard/src/com/nokia/carbide/internal/api/template/engine/Template.java 2008-10-09 15:06:08 UTC (rev 851)
@@ -90,13 +90,13 @@
name = getLoadedTemplate().getLabel();
Logging.log(TemplateWizardPlugin.getDefault(),
Logging.newStatus(TemplateWizardPlugin.getDefault(), IStatus.WARNING,
- MessageFormat.format("No ''displayName'' attribute defined on <wizardTemplate> extension ''{0}'', forcing a load of XML",
+ MessageFormat.format("No ''displayName'' attribute defined on <wizardTemplate> extension ''{0}'', forcing a load of XML", //$NON-NLS-1$
templateId)));
return name;
} catch (CoreException e) {
Logging.log(TemplateWizardPlugin.getDefault(),
Logging.newStatus(TemplateWizardPlugin.getDefault(), IStatus.WARNING,
- MessageFormat.format("Failed to load template.xml for extension ''{0}''",
+ MessageFormat.format("Failed to load template.xml for extension ''{0}''", //$NON-NLS-1$
templateId), e));
return null;
}
Modified: trunk/common/com.nokia.carbide.templatewizard/src/com/nokia/carbide/internal/api/templatewizard/ui/TemplateWizardPage.java
===================================================================
--- trunk/common/com.nokia.carbide.templatewizard/src/com/nokia/carbide/internal/api/templatewizard/ui/TemplateWizardPage.java 2008-10-09 14:56:27 UTC (rev 850)
+++ trunk/common/com.nokia.carbide.templatewizard/src/com/nokia/carbide/internal/api/templatewizard/ui/TemplateWizardPage.java 2008-10-09 15:06:08 UTC (rev 851)
@@ -100,7 +100,7 @@
/** Get the current value, for use in a text */
public String getValue() {
Object obj = values.get(type.getId());
- return (obj != null) ? obj.toString() : "";
+ return (obj != null) ? obj.toString() : ""; //$NON-NLS-1$
}
/** Set the current value */
Modified: trunk/common/com.nokia.carbide.templatewizard/src/com/nokia/carbide/internal/templatewizard/process/Parameter.java
===================================================================
--- trunk/common/com.nokia.carbide.templatewizard/src/com/nokia/carbide/internal/templatewizard/process/Parameter.java 2008-10-09 14:56:27 UTC (rev 850)
+++ trunk/common/com.nokia.carbide.templatewizard/src/com/nokia/carbide/internal/templatewizard/process/Parameter.java 2008-10-09 15:06:08 UTC (rev 851)
@@ -1,5 +1,9 @@
/*******************************************************************************
- * Copyright (c) 2006 Nokia.
+ * Copyright (c) 2006, 2008 Nokia Corporation
+ * 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
* Author:
* David Dubrow (Nokia) - initial API and implementation
*******************************************************************************/
@@ -13,7 +17,6 @@
import org.eclipse.emf.ecore.util.FeatureMap;
-import java.net.URL;
import java.util.*;
/**
Modified: trunk/common/com.nokia.carbide.templatewizard/src/com/nokia/carbide/templatewizard/processes/CopyFiles.java
===================================================================
--- trunk/common/com.nokia.carbide.templatewizard/src/com/nokia/carbide/templatewizard/processes/CopyFiles.java 2008-10-09 14:56:27 UTC (rev 850)
+++ trunk/common/com.nokia.carbide.templatewizard/src/com/nokia/carbide/templatewizard/processes/CopyFiles.java 2008-10-09 15:06:08 UTC (rev 851)
@@ -45,7 +45,7 @@
private static final String TARGET_FILE_EXISTS_ERROR =
Messages.getString("CopyFiles.TargetFileExistsError"); //$NON-NLS-1$
private static final String COPY_FILE_ERROR = Messages.getString("CopyFiles.CopyFileError"); //$NON-NLS-1$
- private static final String OVERWRITE_ATTRIBUTE = "overwrite";
+ private static final String OVERWRITE_ATTRIBUTE = "overwrite"; //$NON-NLS-1$
protected IProject project;
protected URL baseSourceUrl;
More information about the Esbox-commits
mailing list