private MenuBar getMenu() {
addNewServiceMenuItem();
//We assume for every asset type, we always have a corresponding "New Asset" menu item for this type
PerspectiveFactory perspectiveFactory = GWT.create(PerspectiveFactory.class);
String[] formats = perspectiveFactory.getRegisteredAssetEditorFormats("soaservice");
for(final String format:formats) {
addNewAssetMenuItem(format);
}
MenuBar rootMenuBar = new MenuBar( true );