Revision 212f99b8
Added by Katja Luther almost 4 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/DescriptiveDataSetEditor.java | ||
---|---|---|
30 | 30 |
import org.eclipse.e4.ui.di.Focus; |
31 | 31 |
import org.eclipse.e4.ui.di.Persist; |
32 | 32 |
import org.eclipse.e4.ui.model.application.ui.MDirtyable; |
33 |
import org.eclipse.e4.ui.model.application.ui.basic.MPart; |
|
33 | 34 |
import org.eclipse.e4.ui.services.EMenuService; |
34 | 35 |
import org.eclipse.e4.ui.services.IServiceConstants; |
35 | 36 |
import org.eclipse.e4.ui.workbench.modeling.ESelectionService; |
... | ... | |
105 | 106 |
@Inject |
106 | 107 |
private MDirtyable dirty; |
107 | 108 |
|
109 |
@Inject |
|
110 |
private MPart thisPart; |
|
111 |
|
|
108 | 112 |
@Inject |
109 | 113 |
private ESelectionService selectionService; |
110 | 114 |
|
... | ... | |
232 | 236 |
} |
233 | 237 |
}); |
234 | 238 |
selectionService.setSelection(new StructuredSelection(descriptiveDataSet)); |
239 |
thisPart.setLabel(descriptiveDataSet.getLabel()); |
|
235 | 240 |
} |
236 | 241 |
|
237 | 242 |
public void addTaxonNode(TaxonNodeDto taxonNodeDto){ |
Also available in: Unified diff
ref #8450: descriptive data set title as label for descr. dataset editor