|[platform-swt-dev] setDelegate for NSApplication|
I’m quite new to SWT Cocoa Port.
I would like to know how to set a delegate for the org.eclipse.swt.internal.cocoa.NSApplication class.
I see that the class has a method setDelegate and I try to invoke it , but the delegate don’t receive any callback, like for example:
My delegate extends NSObject and implements the two above methods.
MDSwtDelegate controller = new MDSwtDelegate();
org.eclipse.swt.internal.cocoa.NSApplication application = org.eclipse.swt.internal.cocoa.NSApplication.sharedApplication();
Any suggestion it’s very appreciate.
Thanks in advance,