IType ownerType = javaProject.findType(element.getType().getQualifiedName());
IFXClass fxOwnerClazz = FXPlugin.getClassmodel().findClass(javaProject, ownerType);
IFXProperty ownerProperty = fxOwnerClazz.getProperty(property.getName());
if( ownerProperty instanceof IFXEventHandlerProperty ) {
IFXEventHandlerProperty p = (IFXEventHandlerProperty) ownerProperty;
IType ctrlType = javaProject.findType(m.getComponentDef().getController().getQualifiedName());
IFXCtrlClass ctrlClass = FXPlugin.getClassmodel().findCtrlClass(javaProject, ctrlType);
for( IFXCtrlEventMethod ctrlMethod : ctrlClass.getAllEventMethods().values() ) {
StyledString s = null;
if( ! ctrlMethod.hasArgument() ) {
s = new StyledString(ctrlMethod.getName()+"()");
} else {
if( Util.assignable(p.getEventType(), ctrlMethod.getArgumentType()) ) {
s = new StyledString(ctrlMethod.getName() + "("+p.getEventTypeAsString(false)+")");
}
}
if( s != null ) {
s.append(" - " + ctrlClass.getSimpleName(), StyledString.QUALIFIER_STYLER);