valkyrie - possible bug in ShowViewMenu?
I am completely new to Valkyrie (never used Spring RCP- and my Swing is patchy!) - but this project looks great and I look forward to a full release.
I think I have found a small bug - In the Valkyrie RCP sample application in the menu bar, the Window-->Show View item listing displays 3 items, even though there should only be two.
org.valkyriercp.command.support.ShowViewMenu is the class responsible for building up a list of ActionCommands for this menu; creating these from the viewDescriptorRegistry. When had a look in the populate() method in a debugger, the viewDescriptorRegistry lists three views -
-org.valkyriercp.application.support.SimpleViewDesc riptor@18e3f02a
-[DefaultViewDescriptor@65a7dd7b]
-[WidgetViewDescriptor@6fbdea60]
The id of the WidgetViewDescriptor is 'emptyViewDescriptor' - and it is this descriptor causing an empty menu item to be added to the 'Show View' menu.