Revision c4224185
Added by Patrick Plitzner about 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/vocabulary/TermTranslationWizard.java | ||
---|---|---|
25 | 25 |
|
26 | 26 |
private final TermBase term; |
27 | 27 |
|
28 |
/** |
|
29 |
* <p>Constructor for TranslationWizard.</p> |
|
30 |
* |
|
31 |
* @param multilanguageText a {@link java.util.Map} object. |
|
32 |
*/ |
|
33 | 28 |
public TermTranslationWizard(TermBase term) { |
34 | 29 |
setWindowTitle("Translation Editor"); |
35 | 30 |
this.term = term; |
36 | 31 |
setNeedsProgressMonitor(true); |
37 | 32 |
} |
38 | 33 |
|
39 |
/* (non-Javadoc) |
|
40 |
* @see org.eclipse.jface.wizard.Wizard#addPages() |
|
41 |
*/ |
|
42 |
/** {@inheritDoc} */ |
|
43 | 34 |
@Override |
44 | 35 |
public void addPages() { |
45 | 36 |
page = new TermTranslationWizardPage(term); |
46 | 37 |
addPage(page); |
47 | 38 |
} |
48 | 39 |
|
49 |
/* (non-Javadoc) |
|
50 |
* @see org.eclipse.jface.wizard.Wizard#performFinish() |
|
51 |
*/ |
|
52 |
/** {@inheritDoc} */ |
|
53 | 40 |
@Override |
54 | 41 |
public boolean performFinish() { |
55 | 42 |
Representation representation = page.getTargetRepresentation(); |
... | ... | |
67 | 54 |
return true; |
68 | 55 |
} |
69 | 56 |
|
70 |
/** |
|
71 |
* {@inheritDoc} |
|
72 |
*/ |
|
73 | 57 |
@Override |
74 | 58 |
public boolean canFinish() { |
75 | 59 |
Representation representation = page.getTargetRepresentation(); |
Also available in: Unified diff
ref #8147 Code cleanup