コード例 #1
0
 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;
     }
   }
 }
コード例 #2
0
 @Override
 public void updateDataModel() {
   MavenArchetype selectedArchetype = getSelectedArchetype();
   myBuilder.setArchetype(selectedArchetype);
 }