fixed bug #1037094 (foreach)
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / externaltools / variable / ResourceComponent.java
index d0ddf4a..143a6e6 100644 (file)
@@ -10,7 +10,7 @@ Contributors:
 **********************************************************************/
 
 import net.sourceforge.phpdt.externaltools.group.IGroupDialogPage;
-import net.sourceforge.phpdt.externaltools.internal.model.ToolMessages;
+import net.sourceforge.phpdt.externaltools.internal.model.ExternalToolsModelMessages;
 import net.sourceforge.phpdt.externaltools.model.ToolUtil;
 
 import org.eclipse.core.resources.IResource;
@@ -111,7 +111,7 @@ public class ResourceComponent implements IVariableComponent {
         */
        protected void createSelectedResourceOption() {
                selectedResourceButton = new Button(mainGroup, SWT.RADIO);
-               selectedResourceButton.setText(ToolMessages.getString("ResourceComponent.selectedResLabel")); //$NON-NLS-1$
+               selectedResourceButton.setText(ExternalToolsModelMessages.getString("ResourceComponent.selectedResLabel")); //$NON-NLS-1$
                GridData data = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
                selectedResourceButton.setLayoutData(data);
                selectedResourceButton.setFont(mainGroup.getFont());
@@ -124,7 +124,7 @@ public class ResourceComponent implements IVariableComponent {
         */
        protected void createSpecificResourceOption() {
                specificResourceButton = new Button(mainGroup, SWT.RADIO);
-               specificResourceButton.setText(ToolMessages.getString("ResourceComponent.specificResLabel")); //$NON-NLS-1$
+               specificResourceButton.setText(ExternalToolsModelMessages.getString("ResourceComponent.specificResLabel")); //$NON-NLS-1$
                GridData data = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
                specificResourceButton.setLayoutData(data);
                specificResourceButton.setFont(mainGroup.getFont());
@@ -255,7 +255,7 @@ public class ResourceComponent implements IVariableComponent {
                        return true;
 
                if (resourceList.getSelection().isEmpty()) {
-                       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;
                }