Revision 3a465563
Added by Patrick Plitzner over 5 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/CharacterMatrixPart.java | ||
---|---|---|
32 | 32 |
import org.eclipse.e4.ui.model.application.ui.MDirtyable; |
33 | 33 |
import org.eclipse.e4.ui.model.application.ui.basic.MPart; |
34 | 34 |
import org.eclipse.e4.ui.workbench.modeling.ESelectionService; |
35 |
import org.eclipse.jface.viewers.IStructuredSelection; |
|
35 | 36 |
import org.eclipse.nebula.widgets.nattable.NatTable; |
36 | 37 |
import org.eclipse.swt.SWT; |
37 | 38 |
import org.eclipse.swt.custom.StackLayout; |
... | ... | |
146 | 147 |
} |
147 | 148 |
} |
148 | 149 |
|
150 |
public IStructuredSelection getSelection(){ |
|
151 |
return matrix.getSelection(); |
|
152 |
} |
|
153 |
|
|
149 | 154 |
public void setDirty() { |
150 | 155 |
this.dirty.setDirty(true); |
151 | 156 |
} |
... | ... | |
166 | 171 |
return selService; |
167 | 172 |
} |
168 | 173 |
|
174 |
public CharacterMatrix getMatrix() { |
|
175 |
return matrix; |
|
176 |
} |
|
177 |
|
|
169 | 178 |
@Persist |
170 | 179 |
@Override |
171 | 180 |
public void save(IProgressMonitor monitor) { |
Also available in: Unified diff
ref #7674 Add context menu to add taxon descriptions