Added new Option "Wrap PHPdocs and comments at print margin"
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / externaltools / variable / SpecificFileResourceComponent.java
index 010cd13..cdeb292 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.jface.dialogs.IMessageProvider;
@@ -50,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)
@@ -63,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;
                }