Revision 9b135851
Added by Katja Luther over 1 year ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/container/AbstractGroupedContainerE4.java | ||
---|---|---|
58 | 58 |
import eu.etaxonomy.taxeditor.editor.name.container.IContainerConstants; |
59 | 59 |
import eu.etaxonomy.taxeditor.editor.name.container.LineBreakListener; |
60 | 60 |
import eu.etaxonomy.taxeditor.editor.name.container.LineWrapSupport; |
61 |
import eu.etaxonomy.taxeditor.editor.name.e4.TaxonNameEditorE4;
|
|
61 |
import eu.etaxonomy.taxeditor.editor.name.e4.TaxonNameEditor; |
|
62 | 62 |
import eu.etaxonomy.taxeditor.editor.name.e4.dnd.NameEditorDragListenerE4; |
63 | 63 |
import eu.etaxonomy.taxeditor.editor.name.e4.dnd.NameEditorDragSourceEffect; |
64 | 64 |
import eu.etaxonomy.taxeditor.editor.name.operation.CreateSynonymInNewGroupOperation; |
... | ... | |
102 | 102 |
|
103 | 103 |
protected NameViewerE4 nameViewer; |
104 | 104 |
|
105 |
private AbstractGroupE4 group;
|
|
105 |
private AbstractGroup group; |
|
106 | 106 |
|
107 | 107 |
private Label nonEditableInfoLabel; |
108 | 108 |
private DefaultToolTip nonEditableInfoHover; |
... | ... | |
119 | 119 |
private Color backgroundColor; |
120 | 120 |
private boolean isDirty; |
121 | 121 |
|
122 |
public AbstractGroupedContainerE4(AbstractGroupE4 group, T taxonBase) {
|
|
122 |
public AbstractGroupedContainerE4(AbstractGroup group, T taxonBase) { |
|
123 | 123 |
setData(taxonBase); |
124 | 124 |
this.group = group; |
125 | 125 |
parseHandler = ParseHandler.NewInstance(taxonBase.getName()); |
... | ... | |
440 | 440 |
} |
441 | 441 |
} |
442 | 442 |
|
443 |
public AbstractGroupE4 getGroup() {
|
|
443 |
public AbstractGroup getGroup() { |
|
444 | 444 |
if (group == null) { |
445 | 445 |
throw new IllegalStateException("Group shall not be null."); //$NON-NLS-1$ |
446 | 446 |
} |
... | ... | |
469 | 469 |
|
470 | 470 |
} |
471 | 471 |
|
472 |
protected TaxonNameEditorE4 getEditor() {
|
|
472 |
protected TaxonNameEditor getEditor() { |
|
473 | 473 |
return getGroup().getEditor(); |
474 | 474 |
} |
475 | 475 |
|
Also available in: Unified diff
rename TaxonNameEditor and other classes and remove E$