There is a proposal to create an Eclipse Corner Article on how to use
the dynamic help features including context providers. I'm not the
author but this looks like a useful article, if this is of interest to
you please visit the bug below and add a comment - comment activity
helps to get articles published by raising their visibility.