}//GEN-LAST:event_lstCheckupTypesMouseClicked
private void btCopyActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btCopyActionPerformed
try {
DirectoryCheckupTypeItem checkupType = (DirectoryCheckupTypeItem) tblTypes.getValueAt(tblTypes.getSelectedRowSorted(), 0);
CheckupTypeDetails details = new CheckupTypeDetails();
DirectoryCheckupTypeItem checkupTypeNew = new DirectoryCheckupTypeItem(details);
checkupTypeNew.setTitle(checkupType.getTitle() + " (копия)");
checkupTypeNew.setDescription(checkupType.getDescription());
checkupTypeNew.setMetadata(checkupType.getMetadata());
checkupTypeNew.setIsAnalyse(checkupType.isAnalyse());
directory.getItems().append(checkupTypeNew);
model.setItems(loadItems(isAnalyse));
} catch (ClipsException e) {
MessageBox.showException(e);
}