changed to version 1.1.5 for js.core
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / externaltools / variable / SpecificFolderResourceComponent.java
index 2fd80c0..e0b4aa7 100644 (file)
@@ -9,7 +9,7 @@ http://www.eclipse.org/legal/cpl-v10.html
 Contributors:
 **********************************************************************/
 
-import net.sourceforge.phpdt.externaltools.internal.model.ToolMessages;
+import net.sourceforge.phpdt.externaltools.internal.model.ExternalToolsModelMessages;
 
 import org.eclipse.core.resources.IResource;
 import org.eclipse.core.runtime.IAdaptable;
@@ -62,7 +62,7 @@ public class SpecificFolderResourceComponent extends ResourceComponent {
                GridData data = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
                label.setLayoutData(data);
                label.setFont(mainGroup.getFont());
-               label.setText(ToolMessages.getString("ResourceComponent.specificResLabel")); //$NON-NLS-1$
+               label.setText(ExternalToolsModelMessages.getString("ResourceComponent.specificResLabel")); //$NON-NLS-1$
        }
 
        /* (non-Javadoc)
@@ -75,7 +75,7 @@ public class SpecificFolderResourceComponent extends ResourceComponent {
                IStructuredSelection sel = (IStructuredSelection) resourceList.getSelection();
                IResource resource = (IResource) sel.getFirstElement();
                if (resource == null || resource.getType() == IResource.FILE) {
-                       getPage().setMessage(ToolMessages.getString("ResourceComponent.selectionRequired"), IMessageProvider.WARNING); //$NON-NLS-1$
+                       getPage().setMessage(ExternalToolsModelMessages.getString("ResourceComponent.selectionRequired"), IMessageProvider.WARNING); //$NON-NLS-1$
                        setIsValid(false);
                        return false;
                }