Allow to override viewFactory creation.
Don't create nested cards.

I.e., the ResourcePanelViewFactory should not wrap nodes into a card when
they are created on a deeper level.