@Override public void setExternalAnnotationsPath(IPath path) { if (path != null && path.isEmpty()) { path = null; } updateClasspathEntry(getPath(), getSourceAttachmentPath(), getSourceAttachmentRootPath(), path); }
@Override public void setExternalAnnotationsPath(IPath path) { if (path != null && path.isEmpty()) { path = null; } updateClasspathEntry(getPath(), getSourceAttachmentPath(), getSourceAttachmentRootPath(), path); }
/** * @see IRuntimeClasspathEntry#setSourceAttachmentPath(IPath) */ @Override public void setSourceAttachmentPath(IPath path) { if (path != null && path.isEmpty()) { path = null; } updateClasspathEntry(getPath(), path, getSourceAttachmentRootPath(), getExternalAnnotationsPath()); }
/** * @see IRuntimeClasspathEntry#setSourceAttachmentPath(IPath) */ @Override public void setSourceAttachmentPath(IPath path) { if (path != null && path.isEmpty()) { path = null; } updateClasspathEntry(getPath(), path, getSourceAttachmentRootPath(), getExternalAnnotationsPath()); }
node.setAttribute("sourceAttachmentPath", getSourceAttachmentPath().toString()); //$NON-NLS-1$ if (getSourceAttachmentRootPath() != null) { node.setAttribute("sourceRootPath", getSourceAttachmentRootPath().toString()); //$NON-NLS-1$
node.setAttribute("sourceAttachmentPath", getSourceAttachmentPath().toString()); //$NON-NLS-1$ if (getSourceAttachmentRootPath() != null) { node.setAttribute("sourceRootPath", getSourceAttachmentRootPath().toString()); //$NON-NLS-1$
} else if (getPath() != null && getPath().equals(r.getPath())) { IPath sa1 = getSourceAttachmentPath(); IPath root1 = getSourceAttachmentRootPath(); IPath sa2 = r.getSourceAttachmentPath(); IPath root2 = r.getSourceAttachmentRootPath();
} else if (getPath() != null && getPath().equals(r.getPath())) { IPath sa1 = getSourceAttachmentPath(); IPath root1 = getSourceAttachmentRootPath(); IPath sa2 = r.getSourceAttachmentPath(); IPath root2 = r.getSourceAttachmentRootPath();