Starting from version 2013, GeoMedia introduced a new modern UI that logically groups commands into a ribbon control similar to those in Microsoft Office or ERDAS Imagine. All GeoMedia Add-ons now have their own tab. The classic interface was removed completely in version 2014. That version also brings a support for embedding 3rd party custom commands into the Ribbon bar.
For GeoMedia Desktop, the command's Ribbon resource is loaded directly through the Ribbon bar's LoadFromResource method at application startup. To be able to do this, you must:
<?xml version="1.0" encoding="UTF-8"?> <CommandMapping xmlns="http://www.intergraph.com/GeoMedia/Mappings" xmlns:xsi="http:/ /www.w3.org/2001/XMLSchema-instance" version="1.0"> <Category name="RibbonTab1"> <Command> <ProgID>GeoMediaCommand.Sample1</ProgID> <Value>40100</Value> </Command> <Command> <ProgID>GeoMediaCommand.Sample2</ProgID> <Value>40200</Value> </Command> </Category> <Category name="RibbonTab2"> <Command> <ProgID>GeoMediaCommand.Sample3</ProgID> <Value>40400</Value> </Command> </Category> </CommandMapping>
Your command installation package will need to create registry entries under every GeoMedia tier it needs to run with.
Furhter information can be found in the GeoMedia Customization – Ribbon Bar Customization for Developers help file.
For simplicity, the resources project had been already prepared. The project is a C++ resource-only DLL library and is named MyRibbonResources.