private void createContextMenu( Control control ){
final MenuManager menuManager = new MenuManager();
menuManager.setRemoveAllWhenShown(true); // we are going to generate
menuManager.addMenuListener( new IMenuListener() {
public void menuAboutToShow(IMenuManager manager) {
int current = -1;
for( FilterViewerFactory factory : filterViewerFactory( getInput(), getFilter() ) ){
int currentScore = factory.appropriate(getInput(), getFilter() );
int category = FilterViewerFactory.toCategory( currentScore );