Bug 117466 [build path] Edited linked source can't be reedited
Version: 3.2.0 Build id: I20051116-1332 Java Project -> Configure Build Path Add a link to a source !link can't be edited Now close properties page and reopen properties page for build path Link can be edited Edit link !link can't be edited anymore
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/LinkFolderDialog.java
/* (non-Javadoc)
     * @see org.eclipse.ui.dialogs.SelectionStatusDialog#okPressed()
     */
    protected void okPressed() {
    	if (fCreateLink) {
	        String linkTarget = fDependenciesGroup.getLinkTarget();
	        linkTarget= linkTarget.length() == 0 ? null : linkTarget;
	        fCreatedFolder = createNewFolder(fFolderNameField.getText(), linkTarget);
    	} else {
    		fCreatedFolder = createFolderHandle(fFolderNameField.getText());
    	}
        super.okPressed();
    }
    
    /**
     * Returns the created folder or <code>null</code>
     * if there is none.
     * 
     * @return created folder or <code>null</code>
     */
    public IFolder getCreatedFolder() {
        return fCreatedFolder;
    }
	public IPath getLinkTarget() {
		return Path.fromOSString(fDependenciesGroup.getLinkTarget());
	}
    
}