class FeatureActionsMenuProvider implements ContextMenuProvider<DataGroupContextKey> {

    public Collection<? extends Component> menuItemsForLayer(DataTypeInfo layer)
    {
        List<Component> mergeMenus = New.list();
        if (layer != null)
        {
            JMenuItem featureActionItem = SwingUtilities.newMenuItem("Feature Actions...",
                    e -> myDisplayer.displaySimpleEditor(mainFrame.get(), layer));
            mergeMenus.add(featureActionItem);
        }
        return mergeMenus;
    }

    public  FeatureActionsMenuProvider(ActionEditorDisplayer displayer, UIRegistry uiRegistry);

}