Property propertyModel = (Property) element.eContainer();
Element elementModel = (Element)propertyModel.eContainer();
IType elType = javaProject.findType(elementModel.getType().getQualifiedName());
IFXCtrlClass fxCtrlClazz = FXPlugin.getClassmodel().findCtrlClass(javaProject, ctrlType);
IFXClass fxElClass = FXPlugin.getClassmodel().findClass(javaProject, elType);
IFXProperty fxProp = fxElClass.getAllProperties().get(propertyModel.getName());
if( !(fxProp instanceof IFXEventHandlerProperty) ) {
error("Property is not an event property", propertyModel, FXGraphPackage.Literals.PROPERTY__NAME, -1);
return;
}