org.glassmaker.eclipse/org.glassmaker.ui.editor/src/main/java/org/glassmaker/ui/editor/wizards/NewCardFileWizardPage.java
protected void initialPopulateContainerNameField() {
		super.initialPopulateContainerNameField();

		IPath fullPath = getContainerFullPath();
		IProject project = getProjectFromPath(fullPath);
		IPath root = ProjectUtils.getRootContainerForPath(project, fullPath);
		if (root != null) {
			return;
		}
		root = ProjectUtils.getDefaultRootContainer(project);
		if (root != null) {
			setContainerFullPath(root);
			return;
		}
	}
protected void initialPopulateContainerNameField() {
		super.initialPopulateContainerNameField();

		IPath fullPath = getContainerFullPath();
		IProject project = getProjectFromPath(fullPath);
		IPath root = ProjectUtils.getRootContainerForPath(project, fullPath);
		if (root != null) {
			return;
		}
		root = ProjectUtils.getDefaultRootContainer(project);
		if (root != null) {
			setContainerFullPath(root);
			return;
		}
	}
protected void initialPopulateContainerNameField ( ) { super . initialPopulateContainerNameField ( ) ; IPath fullPath = getContainerFullPath ( ) ; IProject project = getProjectFromPath ( fullPath ) ; IPath root = ProjectUtils . getRootContainerForPath ( project , fullPath ) ; if ( root != null ) { return ; } root = ProjectUtils . getDefaultRootContainer ( project ) ; if ( root != null ) { setContainerFullPath ( root ) ; return ; } }
This method is overridden to set the selected folder to web contents
folder if the current selection is outside the web contents folder.
This method is overridden to set the selected folder to web contents folder if the current selection is outside the web contents folder .