Revision f089f86e
Added by Patrick Plitzner over 8 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/contextMenu/CreateFieldUnitContextMenu.java | ||
---|---|---|
49 | 49 |
if(selectionInput instanceof CdmBase && ((CdmBase) selectionInput).isInstanceOf(Taxon.class)){ |
50 | 50 |
final Taxon taxon = HibernateProxyHelper.deproxy(selectionInput, Taxon.class); |
51 | 51 |
MenuItem item = new MenuItem(menu, SWT.NONE); |
52 |
item.setText("Create FieldUnit (attach to "+taxon.getTitleCache()+")");
|
|
52 |
item.setText("Create FieldUnit for "+taxon.getName());
|
|
53 | 53 |
item.addSelectionListener(new SelectionAdapter() { |
54 | 54 |
@Override |
55 | 55 |
public void widgetSelected(SelectionEvent e) { |
Also available in: Unified diff
Fix some labels and handle toggle states