Package com.webobjects.foundation

Examples of com.webobjects.foundation._NSDelegate.perform()


        Object result = null;
      synchronized (delegates) {
            for (int i = 0; (result == null || result.equals(defaultResult)) && i < delegates.count(); i++) {
                _NSDelegate delegate = (_NSDelegate) delegates.objectAtIndex(i);
                if (delegate.respondsTo(methodName)) {
                    result = delegate.perform(methodName, args);
                }
            }
      }

        return result == null ? defaultResult : result;
View Full Code Here


      NSNotificationCenter.defaultCenter().postNotification("WODisplayGroupWillFetch", this);
      refetch();
      if (delegate != null) {
        // was initialized above
        if (delegate.respondsTo("displayGroupDidFetchObjects")) {
          delegate.perform("displayGroupDidFetchObjects", this, _displayedObjects);
        }
      }
      return null;
    }
    return super.fetch();
View Full Code Here

      NSMutableArray<T> selectedObjects = (NSMutableArray<T>) selectedObjects();
      NSArray<T> obj = allObjects();
      if (delegate() != null) {
        _NSDelegate delegate = new _NSDelegate(WODisplayGroup.Delegate.class, delegate());
        if (delegate.respondsTo("displayGroupDisplayArrayForObjects")) {
          delegate.perform("displayGroupDisplayArrayForObjects", this, obj);
        }
      }
      // _displayedObjects = new NSMutableArray(obj);
      setSelectedObjects(selectedObjects);
      // selectObjectsIdenticalToSelectFirstOnNoMatch(selectedObjects,
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.