Examples of delegate()

  • org.sgx.yuigwt.yui.widget.datatable.DataTable.delegate()
    Pass through to delegate() called from the contentBox. @param type the event type to delegate @param fn the callback function to execute. This function will be provided the event object for the delegated event. @param spec a selector that must match the target of the event or a function to test target and its parents for a match @return
  • org.uengine.kernel.HumanActivity.delegate()
  • st.redline.classloader.SmalltalkClassLoader.delegate()

  • Examples of org.ofbiz.workflow.WfAssignment.delegate()

            }

            if (fromAssign == null) {
                fromAssign = WfFactory.getWfAssignment(delegator, workEffortId, fromPartyId, fromRoleTypeId, fromFromDate);
            }
            fromAssign.delegate();

            // check for a restartOnDelegate
            WfActivity newActivity = null;
            if (activity.getDefinitionObject().getBoolean("restartOnDelegate").booleanValue()) {
                // this only applies to running single assignment activities
    View Full Code Here

    Examples of org.ofbiz.workflow.WfAssignment.delegate()

                    Debug.logVerbose("[WfAssignment.accept] : setting other assignments to delegated status.", module);
                    Iterator<WfAssignment> ai = activity.getIteratorAssignment();

                    while (ai.hasNext()) {
                        WfAssignment a = (WfAssignment) ai.next();
                        if (!this.isEqual(a)) a.delegate();
                    }
                }
            }
            // set this assignment as accepted
            changeStatus("CAL_ACCEPTED");
    View Full Code Here

    Examples of org.ofbiz.workflow.WfAssignment.delegate()

            }

            if (fromAssign == null) {
                fromAssign = WfFactory.getWfAssignment(delegator, workEffortId, fromPartyId, fromRoleTypeId, fromFromDate);
            }
            fromAssign.delegate();

            // check for a restartOnDelegate
            WfActivity newActivity = null;
            if (activity.getDefinitionObject().getBoolean("restartOnDelegate").booleanValue()) {
                // this only applies to running single assignment activities
    View Full Code Here

    Examples of org.ofbiz.workflow.WfAssignment.delegate()

            }

            if (fromAssign == null) {
                fromAssign = WfFactory.getWfAssignment(delegator, workEffortId, fromPartyId, fromRoleTypeId, fromFromDate);
            }                   
            fromAssign.delegate();  
           
            // check for a restartOnDelegate
            WfActivity newActivity = null;
            if (activity.getDefinitionObject().getBoolean("restartOnDelegate").booleanValue()) { 
                // this only applies to running single assignment activities
    View Full Code Here

    Examples of org.ofbiz.workflow.WfAssignment.delegate()

                    Debug.logVerbose("[WfAssignment.accept] : setting other assignments to delegated status.", module);
                    Iterator ai = activity.getIteratorAssignment();

                    while (ai.hasNext()) {
                        WfAssignment a = (WfAssignment) ai.next();
                        if (!this.isEqual(a)) a.delegate();                   
                    }
                }
            }
            // set this assignment as accepted
            changeStatus("CAL_ACCEPTED");
    View Full Code Here

    Examples of org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler.delegate()

        {
          handler.setDisableRootTagWarning(true);
          final RootXmlReadHandler rootHandler = getRootHandler();
          oldReport = rootHandler.getHelperObject(ReportParserUtil.HELPER_OBJ_REPORT_NAME);
          rootHandler.setHelperObject(ReportParserUtil.HELPER_OBJ_REPORT_NAME, report);
          rootHandler.delegate(handler, getUri(), getTagName(), attrs);
          subReportReadHandler = handler;
        }
      }

      /**
     
    View Full Code Here

    Examples of org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler.delegate()

        {
          handler.setDisableRootTagWarning(true);
          final RootXmlReadHandler rootHandler = getRootHandler();
          oldReport = rootHandler.getHelperObject(ReportParserUtil.HELPER_OBJ_REPORT_NAME);
          rootHandler.setHelperObject(ReportParserUtil.HELPER_OBJ_REPORT_NAME, report);
          rootHandler.delegate(handler, getUri(), getTagName(), attrs);
          subReportReadHandler = handler;
        }
      }

      /**
     
    View Full Code Here

    Examples of org.sgx.yuigwt.yui.node.Node.delegate()

      for(String moduleName : modules.keySet()) {
        Module module = modules.get(moduleName);
        list.append("<li class=\"\" ><a href=\""+module.url()+
          "\" id=\"module-"+moduleName+"\">"+moduleName+"</a></li>");
      }
      list.delegate("click", new NodeEventDelegateCallback() {   
        @Override
        public void call(Node n, YuiEvent evt, Object arg) {
          evt.preventDefault();
          console.log(n+"");
        }
    View Full Code Here

    Examples of org.sgx.yuigwt.yui.node.Node.delegate()

     
      public UIBinderComposing(YuiContext y) {
        super(y);
        //not yui binding required : we can start working with the MainMenu widget right away
        Node n = y.one(mainMenu.getElement());
        n.delegate("click", new NodeEventDelegateCallback() {
         
          @Override
          public void call(Node n, YuiEvent evt, Object arg) {
            Window.alert("anchor clicked");
          }
    View Full Code Here

    Examples of org.sgx.yuigwt.yui.widget.datatable.DataTable.delegate()

          summary("Price sheet for inventory parts")
    //      .sortable(true)
        );
        dt4.render("#ssimple4");
        //use Datatable.delegate() for preventing link default behavoir
        dt4.delegate("click", new EventCallback<EventFacade>() {
          @Override
          public void call(EventFacade e) {
            e.preventDefault();
          }
        }, "a");
    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.