Author: sflanigan
Date: 2009-06-26 03:21:07 -0400 (Fri, 26 Jun 2009)
New Revision: 16217
Added:
trunk/labs/plugins/org.jboss.tools.labs.pde.sourceprovider/.settings/
trunk/labs/plugins/org.jboss.tools.labs.pde.sourceprovider/.settings/org.eclipse.jdt.core.prefs
Modified:
trunk/labs/plugins/org.jboss.tools.labs.pde.sourceprovider/src/org/jboss/tools/labs/pde/sourceprovider/Activator.java
trunk/labs/plugins/org.jboss.tools.labs.pde.sourceprovider/src/org/jboss/tools/labs/pde/sourceprovider/EclipseSourceContainerType.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3557 Externalize English strings
Added:
trunk/labs/plugins/org.jboss.tools.labs.pde.sourceprovider/.settings/org.eclipse.jdt.core.prefs
===================================================================
---
trunk/labs/plugins/org.jboss.tools.labs.pde.sourceprovider/.settings/org.eclipse.jdt.core.prefs
(rev 0)
+++
trunk/labs/plugins/org.jboss.tools.labs.pde.sourceprovider/.settings/org.eclipse.jdt.core.prefs 2009-06-26
07:21:07 UTC (rev 16217)
@@ -0,0 +1 @@
+org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning
Modified:
trunk/labs/plugins/org.jboss.tools.labs.pde.sourceprovider/src/org/jboss/tools/labs/pde/sourceprovider/Activator.java
===================================================================
---
trunk/labs/plugins/org.jboss.tools.labs.pde.sourceprovider/src/org/jboss/tools/labs/pde/sourceprovider/Activator.java 2009-06-26
07:16:16 UTC (rev 16216)
+++
trunk/labs/plugins/org.jboss.tools.labs.pde.sourceprovider/src/org/jboss/tools/labs/pde/sourceprovider/Activator.java 2009-06-26
07:21:07 UTC (rev 16217)
@@ -9,7 +9,7 @@
public class Activator extends AbstractUIPlugin {
// The plug-in ID
- public static final String PLUGIN_ID =
"org.jboss.ide.eclipse.labs.pde.sourceprovider";
+ public static final String PLUGIN_ID =
"org.jboss.ide.eclipse.labs.pde.sourceprovider"; //$NON-NLS-1$
// The shared instance
private static Activator plugin;
Modified:
trunk/labs/plugins/org.jboss.tools.labs.pde.sourceprovider/src/org/jboss/tools/labs/pde/sourceprovider/EclipseSourceContainerType.java
===================================================================
---
trunk/labs/plugins/org.jboss.tools.labs.pde.sourceprovider/src/org/jboss/tools/labs/pde/sourceprovider/EclipseSourceContainerType.java 2009-06-26
07:16:16 UTC (rev 16216)
+++
trunk/labs/plugins/org.jboss.tools.labs.pde.sourceprovider/src/org/jboss/tools/labs/pde/sourceprovider/EclipseSourceContainerType.java 2009-06-26
07:21:07 UTC (rev 16217)
@@ -51,7 +51,7 @@
}
public static class EclipseSourceContainer extends AbstractSourceContainer {
- public static final String TYPE_ID =
"org.jboss.tools.labs.pde.sourceprovider.eclipseSourceContainerType";
+ public static final String TYPE_ID =
"org.jboss.tools.labs.pde.sourceprovider.eclipseSourceContainerType";
//$NON-NLS-1$
protected File root;
protected HashMap<String,ExternalArchiveSourceContainer> pathToContainer;
public EclipseSourceContainer(File f) {
@@ -66,7 +66,7 @@
for( int i = 0; i < kids.length; i++ ) {
if( kids[i].isDirectory()) {
search(kids[i]);
- } else if( kids[i].getName().endsWith("src.zip")) {
+ } else if( kids[i].getName().endsWith("src.zip")) { //$NON-NLS-1$
// add the match
pathToContainer.put(kids[i].toString(), new
ExternalArchiveSourceContainer(kids[i].getAbsolutePath(), true));
}
@@ -108,7 +108,7 @@
String s = d.open();
if( s != null ) {
IPath p = new Path(s);
- if( p.append("plugins").toFile().exists()) {
+ if( p.append("plugins").toFile().exists()) { //$NON-NLS-1$
return new ISourceContainer[] {new EclipseSourceContainer(p.toFile())};
}
}