@Override
    public boolean remove(String key) {
        final MenuItemFactory oldFactory = byKey.remove(key);
        if (oldFactory == null) {
            return false;
        } else {
            factories.remove(oldFactory);
            return true;
        }
    }
Default implementation of {@link MenuBarTabHandler}.

@author Emil Forslund
@since  3.1.5
tool-parent/tool-core/src/main/java/com/speedment/tool/core/internal/menubar/MenuBarTabHandlerImpl.java