コード例 #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
  public void requestUpdate() {

    MavenArchetype selectedArch = getSelectedArchetype();
    if (selectedArch == null) {
      selectedArch = myBuilder.getArchetype();
    }
    if (selectedArch != null) myUseArchetypeCheckBox.setSelected(true);

    if (myArchetypesTree.getRowCount() == 0) updateArchetypesList(selectedArch);
  }
コード例 #3
0
 @Override
 public void updateDataModel() {
   MavenArchetype selectedArchetype = getSelectedArchetype();
   myBuilder.setArchetype(selectedArchetype);
 }