Use the custom .desktop file field to identify panels and make sure the panel implementations use the name to identify themselves.
The example panel implements CcPanel and registers itself as extending the panel extension point. It provides a simple "Hello World" message. The example panel is not build by default, but enabled through a configure option.