private void initialize() {
		// TODO: Add preferences for a+g+v + parent-a+g+v!
		IPreferenceStore prefs = Activator.getDefault().getPreferenceStore();
		artifactIdText.setText("sample1");
		groupIdText.setText("org.sample");
		versionText.setText("1.0.0-SNAPSHOT");
		rootFolderText.setText(prefs.getString(P_DEFAULT_ROOT_FOLDER));
		mavenHomeText.setText(prefs.getString(P_MAVEN_HOME));
		customGroovyModelImplText.setText(prefs.getString(P_GROOVY_MODEL));

		// Moving away from eclipse:m2eclipse
//		String eclipseGoal = prefs.getString(P_ECLIPSE_GOAL);
//		mavenEclipseGoalText.setText(eclipseGoal);
//		if (eclipseGoal.equals("eclipse:m2eclipse")) {
//			mavenEclipseGoalType.value = MavenEclipseGoalEnum.ECLIPSE_M2ECLIPSE.ordinal();
//		} else {
//			mavenEclipseGoalType.value = MavenEclipseGoalEnum.ECLIPSE_ECLIPSE.ordinal();
//		}
		mavenEclipseGoalType.value = MavenEclipseGoalEnum.ECLIPSE_ECLIPSE.ordinal();
	}
private void initialize ( ) { IPreferenceStore prefs = Activator . getDefault ( ) . getPreferenceStore ( ) ; artifactIdText . setText ( "sample1" ) ; groupIdText . setText ( "org.sample" ) ; versionText . setText ( "1.0.0-SNAPSHOT" ) ; rootFolderText . setText ( prefs . getString ( P_DEFAULT_ROOT_FOLDER ) ) ; mavenHomeText . setText ( prefs . getString ( P_MAVEN_HOME ) ) ; customGroovyModelImplText . setText ( prefs . getString ( P_GROOVY_MODEL ) ) ; mavenEclipseGoalType . value = MavenEclipseGoalEnum . ECLIPSE_ECLIPSE . ordinal ( ) ; }
Tests if the current workbench selection is a suitable container to use.