X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/JavaModelStatus.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/JavaModelStatus.java index 90d60e9..c1d7cd7 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/JavaModelStatus.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/JavaModelStatus.java @@ -193,7 +193,7 @@ public class JavaModelStatus return Util.bind("status.JDOMError"); //$NON-NLS-1$ // case ELEMENT_DOES_NOT_EXIST: -// return Util.bind("element.doesNotExist",((JavaElement)fElements[0]).toStringWithAncestors()); //$NON-NLS-1$ +// return ProjectPrefUtil.bind("element.doesNotExist",((JavaElement)fElements[0]).toStringWithAncestors()); //$NON-NLS-1$ case EVALUATION_ERROR : return Util.bind("status.evaluationError", fString); //$NON-NLS-1$ @@ -205,10 +205,10 @@ public class JavaModelStatus return Util.bind("status.invalidContents"); //$NON-NLS-1$ // case INVALID_DESTINATION: - // return Util.bind("status.invalidDestination", ((JavaElement)fElements[0]).toStringWithAncestors()); //$NON-NLS-1$ + // return ProjectPrefUtil.bind("status.invalidDestination", ((JavaElement)fElements[0]).toStringWithAncestors()); //$NON-NLS-1$ // // case INVALID_ELEMENT_TYPES: - // StringBuffer buff= new StringBuffer(Util.bind("operation.notSupported")); //$NON-NLS-1$ + // StringBuffer buff= new StringBuffer(ProjectPrefUtil.bind("operation.notSupported")); //$NON-NLS-1$ // for (int i= 0; i < fElements.length; i++) { // if (i > 0) { // buff.append(", "); //$NON-NLS-1$ @@ -241,9 +241,9 @@ public class JavaModelStatus // case INVALID_SIBLING: // if (fString != null) { - // return Util.bind("status.invalidSibling", fString); //$NON-NLS-1$ + // return ProjectPrefUtil.bind("status.invalidSibling", fString); //$NON-NLS-1$ // } else { - // return Util.bind("status.invalidSibling", ((JavaElement)fElements[0]).toStringWithAncestors()); //$NON-NLS-1$ + // return ProjectPrefUtil.bind("status.invalidSibling", ((JavaElement)fElements[0]).toStringWithAncestors()); //$NON-NLS-1$ // } case IO_EXCEPTION : @@ -254,13 +254,13 @@ public class JavaModelStatus // IJavaElement element = fElements[0]; // String name = element.getElementName(); // if (element instanceof IPackageFragment && name.equals(IPackageFragment.DEFAULT_PACKAGE_NAME)) { - // return Util.bind("operation.cannotRenameDefaultPackage"); //$NON-NLS-1$ + // return ProjectPrefUtil.bind("operation.cannotRenameDefaultPackage"); //$NON-NLS-1$ // } // } // if (fString != null) { // return fString; // } else { - // return Util.bind("status.nameCollision", ""); //$NON-NLS-1$ //$NON-NLS-2$ + // return ProjectPrefUtil.bind("status.nameCollision", ""); //$NON-NLS-1$ //$NON-NLS-2$ // } case NO_ELEMENTS_TO_PROCESS : return Util.bind("operation.needElements"); //$NON-NLS-1$ @@ -275,15 +275,15 @@ public class JavaModelStatus return Util.bind("operation.needString"); //$NON-NLS-1$ // case PATH_OUTSIDE_PROJECT: - // return Util.bind("operation.pathOutsideProject", fString, ((JavaElement)fElements[0]).toStringWithAncestors()); //$NON-NLS-1$ + // return ProjectPrefUtil.bind("operation.pathOutsideProject", fString, ((JavaElement)fElements[0]).toStringWithAncestors()); //$NON-NLS-1$ // // case READ_ONLY: // IJavaElement element = fElements[0]; // String name = element.getElementName(); // if (element instanceof IPackageFragment && name.equals(IPackageFragment.DEFAULT_PACKAGE_NAME)) { - // return Util.bind("status.defaultPackageReadOnly"); //$NON-NLS-1$ + // return ProjectPrefUtil.bind("status.defaultPackageReadOnly"); //$NON-NLS-1$ // } - // return Util.bind("status.readOnly", name); //$NON-NLS-1$ + // return ProjectPrefUtil.bind("status.readOnly", name); //$NON-NLS-1$ case RELATIVE_PATH : return Util.bind("operation.needAbsolutePath", getPath().toString()); //$NON-NLS-1$ @@ -304,7 +304,7 @@ public class JavaModelStatus // String description = null; // if (initializer != null) description = initializer.getDescription(path, javaProject); // if (description == null) description = path.makeRelative().toString(); - // return Util.bind("classpath.unboundContainerPath", description); //$NON-NLS-1$ + // return ProjectPrefUtil.bind("classpath.unboundContainerPath", description); //$NON-NLS-1$ // // case INVALID_CP_CONTAINER_ENTRY: // path = this.fPath; @@ -322,23 +322,23 @@ public class JavaModelStatus // description = container.getDescription(); // } // if (description == null) description = path.makeRelative().toString(); - // return Util.bind("classpath.invalidContainer", description); //$NON-NLS-1$ + // return ProjectPrefUtil.bind("classpath.invalidContainer", description); //$NON-NLS-1$ // // case CP_VARIABLE_PATH_UNBOUND: // path = this.fPath; - // return Util.bind("classpath.unboundVariablePath", path.makeRelative().toString()); //$NON-NLS-1$ + // return ProjectPrefUtil.bind("classpath.unboundVariablePath", path.makeRelative().toString()); //$NON-NLS-1$ // // case CLASSPATH_CYCLE: // javaProject = (IJavaProject)fElements[0]; - // return Util.bind("classpath.cycle", javaProject.getElementName()); //$NON-NLS-1$ + // return ProjectPrefUtil.bind("classpath.cycle", javaProject.getElementName()); //$NON-NLS-1$ // case DISABLED_CP_EXCLUSION_PATTERNS: // path = this.fPath; - // return Util.bind("classpath.disabledExclusionPatterns", path.makeRelative().toString()); //$NON-NLS-1$ + // return ProjectPrefUtil.bind("classpath.disabledExclusionPatterns", path.makeRelative().toString()); //$NON-NLS-1$ // // case DISABLED_CP_MULTIPLE_OUTPUT_LOCATIONS: // path = this.fPath; - // return Util.bind("classpath.disabledMultipleOutputLocations", path.makeRelative().toString()); //$NON-NLS-1$ + // return ProjectPrefUtil.bind("classpath.disabledMultipleOutputLocations", path.makeRelative().toString()); //$NON-NLS-1$ } if (fString != null) { return fString;