code: protected static String getPathLabel(IPath path, boolean isOSPath) {
  		String label;
  		if (isOSPath) {
  			label= path.toOSString();
  		} else {
  			label= path.makeRelative().toString();
  		}
  		return label;
  	}
docs: Returns the label of a path.
  
  @param path the path
  @param isOSPath if <code>true</code>, the path represents an OS path, if <code>false</code> it is a workspace path.
  @return the label of the path to be used in the UI.