Object listenerObj = element.createExecutableExtension("class");
IGeoSelectionChangedListener listener = (IGeoSelectionChangedListener)listenerObj;
IGeoSelectionManager manager = getSelectionManager(managerId);
if(manager != null){
manager.addListener(listener);
}
} catch (InvalidRegistryObjectException e) {
// TODO Auto-generated catch block
e.printStackTrace();