Examples of Activity


Examples of org.dmd.mvw.tools.mvwgenerator.extended.Activity

      // Also add to our full set of definitions
      allDefs.put(rci.getItemName(), rci);
     
    }
    else if (def instanceof Activity){
      Activity activity = (Activity) def;
//      if (activity.getHandlesEventHasValue())
//        activity.getDMO().addUsesRunContextItem("eventBus");
//      if (activity.getFiresEventHasValue())
//        activity.getDMO().addUsesRunContextItem("eventBus");
      activities.put(def.getCamelCaseName(), activity);
View Full Code Here

Examples of org.drools.guvnor.client.util.Activity

    private boolean isActivityAlreadyActive(Place token) {
        return activeActivities.keySet().contains( token );
    }

    private void startNewActivity(final Place newPlace) {
        Activity activity = activityMapper.getActivity( newPlace );

        final ResettableEventBus resettableEventBus = new ResettableEventBus( eventBus );

        activeActivities.put( newPlace, new Pair( activity, resettableEventBus ) );

        activity.start(
                new AcceptTabItem() {
                    public void addTab(String tabTitle, IsWidget widget) {
                        tabbedPanel.addTab(
                                tabTitle,
                                widget,
View Full Code Here

Examples of org.eclipse.bpel.model.Activity

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetActivity(Activity newActivity, NotificationChain msgs) {
    Activity oldActivity = activity;
    activity = newActivity;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BPELPackage.WHILE__ACTIVITY, oldActivity, newActivity);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

Examples of org.eclipse.bpmn2.Activity

        List<FlowElement> flowElements = container.getFlowElements();
        for (FlowElement fElement : flowElements) {
            if (fElement instanceof StartEvent) {
                triggerElements.add(0, fElement);
            } else if((fElement instanceof Activity) && BPMN2Utils.isContainerAdHoc(container)) {
                Activity act = (Activity) fElement;
                if(act.getIncoming() == null || act.getIncoming().size() == 0) {
                    triggerElements.add(0, fElement);
                }
            } else if (fElement instanceof IntermediateCatchEvent) {
               
                IntermediateCatchEvent act = (IntermediateCatchEvent) fElement;
                if(act.getIncoming() == null || act.getIncoming().size() == 0) {
                    triggerElements.add(0, fElement);
                }
               
                List<EventDefinition> eventDefinitions = ((IntermediateCatchEvent) fElement)
                        .getEventDefinitions();
View Full Code Here

Examples of org.eclipse.uml2.Activity

    protected Object handleGetEffect()
    {
        // Effect is mapped to action, not activity
        // We return the first action encountered in the activity
        Action effectAction = null;
        Activity effect = this.metaObject.getEffect();
        if (effect != null)
        {
            Collection nodes = effect.getNodes();
            for (Iterator nodesIt = nodes.iterator(); nodesIt.hasNext() && effectAction == null;)
            {
                Object nextNode = nodesIt.next();
                if (nextNode instanceof Action)
                {
View Full Code Here

Examples of org.eclipse.uml2.uml.Activity

   */
  static Operation getContextOperation(Constraint localPostcondition) {
    // XXX you could perform a proper search in all places where an
    // Operation specifiing some activity could hide
    Action action = (Action) localPostcondition.getOwner();
    Activity activity = action.getActivity();
    Operation contextOp = null;
    if (activity.getSpecification() instanceof Operation) {
      contextOp = (Operation) activity.getSpecification();
    } else if (activity.getOwner() instanceof Class) {
      Class oClass = (Class) activity.getOwner();
      contextOp = oClass.getOperation(activity.getName(), null, null);
    }
    return contextOp;
  }
View Full Code Here

Examples of org.enhydra.shark.xpdl.elements.Activity

        }
        return as;
    }

    public Activity createXPDLObject(Activities acts, String type, boolean addToCollection) {
        Activity act = null;
        if (type == null || type.equals("")) {
            type = JaWEConstants.ACTIVITY_TYPE_TOOL;
        }
        if (type.equals(JaWEConstants.ACTIVITY_TYPE_BLOCK) || type.equals(JaWEConstants.ACTIVITY_TYPE_NO) || type.equals(JaWEConstants.ACTIVITY_TYPE_ROUTE) || type.equals(JaWEConstants.ACTIVITY_TYPE_SUBFLOW) || type.equals(JaWEConstants.ACTIVITY_TYPE_TOOL)) {
            act = createStandardActivity(acts, type);
View Full Code Here

Examples of org.eurekastreams.server.domain.stream.Activity

     * Test objectToString when passed a public group scope.
     */
    @Test
    public void testObjectToStringPublic()
    {
        final Activity activity = new Activity();
        activity.setIsDestinationStreamPublic(true);

        assertEquals("t", sut.objectToString(activity));
    }
View Full Code Here

Examples of org.fenixedu.academic.domain.caseHandling.Activity

        this.activity = (Class<? extends Activity>) activity;
    }

    @Override
    protected boolean condition() throws JspException {
        final Activity activity = getProcess().getActivity(getActivity());

        if (activity == null) {
            throw new JspException("ActivityAvailableTag: activity not found");
        }

        try {
            activity.checkPreConditions(getProcess(), Authenticate.getUser());
            return true;
        } catch (final PreConditionNotValidException e) {
            return false;
        }
    }
View Full Code Here

Examples of org.fireflow.model.net.Activity

        wfElementInstanceMap.put(startNode.getId(), startNodeInstance);

        //活动节点activity
        List<Activity> activities = workflowProcess.getActivities();
        for (int i = 0; i < activities.size(); i++) {
            Activity activity = activities.get(i);
            ActivityInstance activityInstance = new ActivityInstance(activity);
            extensionList = kenelExtensions.get(activityInstance.getExtensionTargetName());
            for (int j = 0; extensionList != null && j < extensionList.size(); j++) {
                IKernelExtension extension = extensionList.get(j);
                activityInstance.registExtension(extension);
            }
            wfElementInstanceMap.put(activity.getId(), activityInstance);
        }
        //同步器节点
        List<Synchronizer> synchronizers = workflowProcess.getSynchronizers();
        for (int i = 0; i < synchronizers.size(); i++) {
            Synchronizer synchronizer = synchronizers.get(i);
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.