@Override public String getMemento() throws CoreException { Document doc = DebugPlugin.newDocument(); Element node = doc.createElement("archiveSourceLocation"); //$NON-NLS-1$ doc.appendChild(node); node.setAttribute("archivePath", getName()); //$NON-NLS-1$ if (getRootPath() != null) { node.setAttribute("rootPath", getRootPath().toString()); //$NON-NLS-1$ } return DebugPlugin.serializeDocument(doc); }
@Override public String getMemento() throws CoreException { Document doc = DebugPlugin.newDocument(); Element node = doc.createElement("archiveSourceLocation"); //$NON-NLS-1$ doc.appendChild(node); node.setAttribute("archivePath", getName()); //$NON-NLS-1$ if (getRootPath() != null) { node.setAttribute("rootPath", getRootPath().toString()); //$NON-NLS-1$ } return DebugPlugin.serializeDocument(doc); }
IPath entryPath = new Path(typeName + ".java"); //$NON-NLS-1$ autoDetectRoot(entryPath); if (getRootPath() != null) { entryPath = getRootPath().append(entryPath);
IPath entryPath = new Path(typeName + ".java"); //$NON-NLS-1$ autoDetectRoot(entryPath); if (getRootPath() != null) { entryPath = getRootPath().append(entryPath);