private void archetypeMayBeChanged() {
   MavenArchetype selectedArchetype = getSelectedArchetype();
   if (((myBuilder.getArchetype() == null) != (selectedArchetype == null))) {
     myBuilder.setArchetype(selectedArchetype);
     skipUpdateUI = true;
     try {
       if (myStep != null) {
         myStep.fireStateChanged();
       }
     } finally {
       skipUpdateUI = false;
     }
   }
 }
 @Override
 public void updateDataModel() {
   MavenArchetype selectedArchetype = getSelectedArchetype();
   myBuilder.setArchetype(selectedArchetype);
 }