Revision cb89f4f7
Added by Andreas Müller almost 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/databaseAdmin/wizard/DatabaseRepairUpdateSortIndicesWizard.java | ||
---|---|---|
25 | 25 |
/** |
26 | 26 |
* @author k.luther |
27 | 27 |
* @date 06.12.2016 |
28 |
* |
|
29 | 28 |
*/ |
30 | 29 |
public class DatabaseRepairUpdateSortIndicesWizard extends Wizard implements IPostMoniteredOperationEnabled{ |
31 | 30 |
// private final DatabaseRepairSortIndexPage repairSortIndexPage; |
... | ... | |
51 | 50 |
if (config == null){ |
52 | 51 |
ICdmSource source= CdmStore.getActiveCdmSource(); |
53 | 52 |
config = SortIndexUpdaterConfigurator.NewInstance(); |
54 |
config.setDoFeatureNode(false);
|
|
53 |
config.setDoTermNode(false);
|
|
55 | 54 |
config.setDoPolytomousKeyNode(false); |
56 |
|
|
57 |
|
|
58 | 55 |
} |
59 |
if (config.isDoFeatureNode() || config.isDoPolytomousKeyNode() || config.isDoTaxonNode()){
|
|
56 |
if (config.isDoTermNode() || config.isDoPolytomousKeyNode() || config.isDoTaxonNode()){
|
|
60 | 57 |
|
61 | 58 |
final UUID uuid = longRunningTaskService.monitLongRunningTask(config); |
62 | 59 |
Display.getDefault().asyncExec(new Runnable() { |
... | ... | |
69 | 66 |
DatabaseRepairUpdateSortIndicesWizard.this, |
70 | 67 |
null, |
71 | 68 |
true); |
72 |
|
|
73 | 69 |
} |
74 |
|
|
75 | 70 |
}); |
76 |
|
|
77 |
|
|
78 | 71 |
} |
79 | 72 |
|
80 |
|
|
81 | 73 |
return true; |
82 | 74 |
} |
83 | 75 |
|
... | ... | |
92 | 84 |
@Override |
93 | 85 |
public void postOperation(IRemotingProgressMonitor monitor) { |
94 | 86 |
// TODO Auto-generated method stub |
95 |
|
|
96 | 87 |
} |
97 |
|
|
98 |
|
|
99 | 88 |
} |
Also available in: Unified diff
ref #6794 adapt TaxEditor to new term structure (rename FeatureNode and FeatureTree)