improved parser keywords abstract, final, public, protected, privatem,..
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / externaltools / variable / SpecificFolderResourceComponent.java
index 437ba7b..e0b4aa7 100644 (file)
@@ -9,6 +9,8 @@ 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.core.runtime.IAdaptable;
 import org.eclipse.jface.dialogs.IMessageProvider;
@@ -18,7 +20,6 @@ import org.eclipse.jface.viewers.ViewerFilter;
 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
@@ -61,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)
@@ -74,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;
                }