public void execFilterLookupResult(final ILookupCall<T> call, final List<ILookupRow<T>> result)
     throws ProcessingException {
   MethodInvocation<Object> methodInvocation =
       new MethodInvocation<Object>() {
         @Override
         protected void callMethod(
             IRadioButtonGroupExtension<T, ? extends AbstractRadioButtonGroup<T>> next)
             throws ProcessingException {
           next.execFilterLookupResult(
               RadioButtonGroupFilterLookupResultChain.this, call, result);
         }
       };
   callChain(methodInvocation, call, result);
   if (methodInvocation.getException() instanceof ProcessingException) {
     throw (ProcessingException) methodInvocation.getException();
   }
 }
예제 #2
0
 public ITreeNode execResolveVirtualChildNode(final IVirtualTreeNode node)
     throws ProcessingException {
   MethodInvocation<ITreeNode> methodInvocation =
       new MethodInvocation<ITreeNode>() {
         @Override
         protected void callMethod(ITreeNodeExtension<? extends AbstractTreeNode> next)
             throws ProcessingException {
           setReturnValue(
               next.execResolveVirtualChildNode(
                   TreeNodeResolveVirtualChildNodeChain.this, node));
         }
       };
   callChain(methodInvocation, node);
   if (methodInvocation.getException() instanceof ProcessingException) {
     throw (ProcessingException) methodInvocation.getException();
   }
   return methodInvocation.getReturnValue();
 }