Project

General

Profile

Revision c416d097

IDc416d09767774f064f5b68814de253518bda1398
Parent c66e6cf5
Child 7f518e8a

Added by Katja Luther over 2 years ago

fix #7227: remove marker menu in bulkeditor when nothing is selected

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/e4/command/DynamicMarkerTypeEditingMenuE4.java
46 46
	/** {@inheritDoc} */
47 47
    @AboutToShow
48 48
    public void aboutToShow(List<MMenuElement> items, @Named(IServiceConstants.ACTIVE_SELECTION)Object selection) {
49
        if(selection==null){
49
        if(selection instanceof StructuredSelection && ((StructuredSelection)selection).isEmpty()){
50 50
            return;
51 51
        }
52 52
        MMenu menu = MMenuFactory.INSTANCE.createMenu();

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)