void () { if (myArchetypes != null && myArchetypes.isSkipUpdateUI()) return; if (isMavenizedProject()) { MavenProject parent = findPotentialParentProject(myProjectOrNull); myAggregator = parent; myParent = parent; } MavenId projectId = myBuilder.getProjectId(); if (projectId == null) { setTextIfEmpty(myArtifactIdField, myBuilder.getName()); setTextIfEmpty(myGroupIdField, myParent == null ? myBuilder.getName() : myParent.getMavenId().getGroupId()); setTextIfEmpty(myVersionField, myParent == null ? "1.0-SNAPSHOT" : myParent.getMavenId().getVersion()); } else { setTextIfEmpty(myArtifactIdField, projectId.getArtifactId()); setTextIfEmpty(myGroupIdField, projectId.getGroupId()); setTextIfEmpty(myVersionField, projectId.getVersion()); } myInheritGroupIdCheckBox.setSelected(myBuilder.isInheritGroupId()); myInheritVersionCheckBox.setSelected(myBuilder.isInheritVersion()); if (myArchetypes != null) { myArchetypes.requestUpdate(); } updateComponents(); }