**********************************************************************/
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;
*/
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());
*/
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());
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;
}