/* * (non-Javadoc) * @see org.eclipse.core.resources.IStorage#getFullPath() */ public IPath getFullPath() { ISVNRepositoryLocation location = file.getRepository(); SVNUrl repositoryUrl = location.getRepositoryRoot(); String[] segments = repositoryUrl.getPathSegments(); IPath path = new Path(null, "/"); for (int i = 0; i < segments.length; i++) { path = path.append(segments[i]); } path = path.setDevice(repositoryUrl.getHost() + IPath.DEVICE_SEPARATOR); path = path.append(file.getRepositoryRelativePath()); return path; }
/* * (non-Javadoc) * @see org.eclipse.core.resources.IStorage#getName() */ public String getName() { return file.getName(); }