Package org.rococoa.contrib.appkit

Examples of org.rococoa.contrib.appkit.NSInvocationOperation$_Class


            tasks.put(invocation.id(), this);
        }
        private NSInvocationOperation createInvocation(final ObjCObject toInvoke) {
            return doWithAutoreleasePool(new Callable<NSInvocationOperation> () {
                public NSInvocationOperation call() {
                    NSInvocationOperation result = NSInvocationOperation.CLASS.alloc();
                    //when the NSOperationQueue executes the NSInvocationOperation, run() is
                    //called on this object.
                    result = result.initWithTarget_selector_object(toInvoke.id(), RUN_SELECTOR, null);
                    return result;
                }
            });
        }
View Full Code Here

TOP

Related Classes of org.rococoa.contrib.appkit.NSInvocationOperation$_Class

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.