setProjectInstance((IProject)resource);
    private Status processProjectNameChanged(Object value) {        String projectName = (String)value;        if(projectName == null || projectName.length() == 0) {            return new Status(Status.TYPE_ERROR,"The project name must not be empty");        }        IResource resource = null;        resource = ResourcesPlugin.getWorkspace().getRoot().findMember(projectName);                // We found a project.        if(resource != null) {            if(resource instanceof IProject) {                setPropertyValue(ID_NEWPROJECTMODEL_PROJECT_TOCONVERT,resource);                return new Status(Status.TYPE_WARNING,"Project exists and will be converted");            }            setPropertyValue(ID_NEWPROJECTMODEL_PROJECT_TOCONVERT,null);            return new Status(Status.TYPE_ERROR,"Resource exists");        }        setPropertyValue(ID_NEWPROJECTMODEL_PROJECT_TOCONVERT,null);        return new Status(Status.TYPE_OK);    }