Upload/Download of multiple files now possible
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / externaltools / variable / SpecificFileResourceComponent.java
index 7220f57..cdeb292 100644 (file)
@@ -9,13 +9,14 @@ http://www.eclipse.org/legal/cpl-v10.html
 Contributors:
 **********************************************************************/
 
+import net.sourceforge.phpdt.externaltools.internal.model.ExternalToolsModelMessages;
+
 import org.eclipse.core.resources.IResource;
 import org.eclipse.jface.dialogs.IMessageProvider;
 import org.eclipse.jface.viewers.IStructuredSelection;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.layout.GridData;
 import org.eclipse.swt.widgets.Label;
-import net.sourceforge.phpdt.externaltools.internal.model.ToolMessages;
 
 /**
  * Visual component to edit the resource type variable
@@ -49,7 +50,7 @@ public class SpecificFileResourceComponent 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)
@@ -62,7 +63,7 @@ public class SpecificFileResourceComponent 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;
                }