class SelectedResultHandler extends DiscreteEventAdapter implements PickListener {

    public void close()
    {
        myControlRegistry.getControlContext(ControlRegistry.GLUI_CONTROL_CONTEXT).removePickListener(this);
        myControlRegistry.getControlContext(ControlRegistry.GLOBE_CONTROL_CONTEXT).removeListener(this);
        myModel.getHoveredResult().removeListener(myHoverListener);
        myModel.getSelectedResult().removeListener(mySelectionListener);
        myModel.getFocusedResult().removeListener(myFocusedListener);
    }

    public  SelectedResultHandler(SearchModel model, ControlRegistry controlRegistry, MapManager mapManager,
            BiMap<SearchResult, Geometry> geometries, BiMap<SearchResult, Geometry> labelGeometries,
            ViewerAnimatorCreator animatorCreator);

}