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
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)
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;
}