Examples of Transition


Examples of caltrop.interpreter.ast.Transition

        if ((tag != null) && (_currentStateSet != null)) {
            int length = _currentTransitions.length;

            for (int i = 0; i < length; i++) {
                Transition t = _currentTransitions[i];

                if (isPrefixedByTagList(tag, t.getActionTags())) {
                    return true;
                }
            }

            return false;
View Full Code Here

Examples of com.amazonaws.services.s3.model.BucketLifecycleConfiguration.Transition

                rule = new Rule();
            } else if (name.equals("ID")) {
            } else if (name.equals("Prefix")) {
            } else if (name.equals("Status")) {
            } else if (name.equals("Transition")) {
                transition = new Transition();
                inTransition = true;
            } else if (name.equals("StorageClass")) {
            } else if (name.equals("Date")) {
            } else if (name.equals("Expiration")) {
            } else if (name.equals("Days")) {
View Full Code Here

Examples of com.atlassian.jira.rest.client.api.domain.Transition

  public void testGetTransitions() throws Exception {
    final Issue issue = client.getIssueClient().getIssue("TST-1").claim();
    final Iterable<Transition> transitions = client.getIssueClient().getTransitions(issue).claim();
    assertEquals(4, Iterables.size(transitions));
    assertTrue(Iterables
        .contains(transitions, new Transition("Start Progress", IntegrationTestUtil.START_PROGRESS_TRANSITION_ID, Collections
            .<Transition.Field>emptyList())));
  }
View Full Code Here

Examples of com.atlassian.jira.rest.client.domain.Transition

    final Collection<Transition.Field> fields = Lists.newArrayList();
    while(keys.hasNext()) {
      final String fieldId = keys.next().toString();
      fields.add(transitionFieldJsonParser.parse(fieldsObj.getJSONObject(fieldId), fieldId));
    }
        return new Transition(name, id, fields);
    }
View Full Code Here

Examples of com.gwtmobile.ui.client.page.Transition

  }

  protected void moveNext() {
    Slide to = getSlide(_current);
      Slide from = (Slide) _panel.getWidget(0);
      Transition transition = Transition.SLIDE;
      ValueChangeEvent.fire(this, true);
      transition.start(from, to, _panel, false);
  }
View Full Code Here

Examples of com.gwtmobile.ui.client.page.Transition

  }

  protected void movePrevious() {
    Slide to = getSlide(_current);
      Slide from = (Slide) _panel.getWidget(0);
      Transition transition = Transition.SLIDE;
      ValueChangeEvent.fire(this, false);
      transition.start(from, to, _panel, true);
  }
View Full Code Here

Examples of com.gwtmobile.ui.client.page.Transition

       
        if (from == null) {
          _tabContentPanel.add(to.getContent());
        }
        else {
          Transition transition = Transition.SLIDE;
          transition.start(from.getContent(), to.getContent(), _tabContentPanel,
              index < _selectedTabIndex);
        }
        _selectedTabIndex = index;
        SelectionEvent.fire(this, _selectedTabIndex);
    }
View Full Code Here

Examples of com.nexirius.util.statemachine.Transition

                // register default command
                FWLog.debug("default command(" + event + ")");
                defaultTransitionMap.put(event, htmlTransistion);
            } else {
                FWLog.debug("Transition(" + state.getName() + ", " + event + ", " + htmlTransistion.getTargetState().getName() + ")");
                new Transition(state, event, htmlTransistion.getTargetState());

                if (htmlTransistion.getCommand() != null) {
                    defaultTransitionMap.put(state.getName() + "." + event, htmlTransistion);
                }
View Full Code Here

Examples of com.sun.dtv.lwuit.animations.Transition

            }

            // make sure the fold menu occurs as expected then set the current
            // to the correct parent!
            if(current != null && current instanceof Dialog && ((Dialog)current).isMenu()) {
                Transition t = current.getTransitionOutAnimator();
                if(t != null) {
                    // go back to the parent form first
                    initTransition(t.copy(), current, ((Dialog)current).getPreviousForm());
                }
                current = ((Dialog)current).getPreviousForm();
            }
           
            // prevent the transition from occuring from a form into itself
            if(newForm != current) {
                if((current != null && current.getTransitionOutAnimator() != null) || newForm.getTransitionInAnimator() != null) {
                    if(animationQueue == null) {
                        animationQueue = new Vector();
                    }
                    // prevent form transitions from breaking our dialog based
                    // transitions which are a bit sensitive
                    if(current != null && (!(newForm instanceof Dialog))) {
                        Transition t = current.getTransitionOutAnimator();
                        if(current != null && t != null) {
                            initTransition(t.copy(), current, newForm);
                            transitionExists = true;
                        }
                    }
                    if(current != null && !(current instanceof Dialog)) {
                        Transition t = newForm.getTransitionInAnimator();
                        if(t != null) {
                            initTransition(t.copy(), current, newForm);
                            transitionExists = true;
                        }
                    }
                }
            }
            lock.notify();
           
            if(!transitionExists) {
                if(animationQueue == null || animationQueue.size() == 0) {
                    setCurrentForm(newForm);
                } else {
                    // we need to add an empty transition to "serialize" this
                    // screen change...
                    Transition t = CommonTransitions.createEmpty();
                    initTransition(t, current, newForm);
                }
            }
        }
    }
View Full Code Here

Examples of com.vst.model.Transition

                            "<li>Материал: " + o.getMaterial() +
                            "<li>Угол:     " + o.getCorner() + "</ul></a></td></tr>";
                }

                for (int i = 0; i < transitionList.size(); i++) {
                    Transition o = (Transition) transitionList.get(i);
                    result += "<tr><td>" + o.getDetailTypes().getTypeName() + "</td><td><a href=\"" + httpServletRequest.getRequestURL().toString().replaceAll("/lookDiameter.html", "") + "/lookDetail.html?type=transition\"><ul>" +
                            "<li>" + o.getGost().getGostName() +
                            "<li>Первый диаметр:  " + o.getFirstDiametr() +
                            "<li>Первая толщина:  " + o.getFirstThickness() +
                            "<li>Второй длиаметр:  " + o.getSecondDiametr() +
                            "<li>Вторая толщина:  " + o.getSecondThickness() +
                            "<li>Материал: " + o.getMaterial() + "</ul></a></td></tr>";
                }

                for (int i = 0; i < teeList.size(); i++) {
                    Tee o = (Tee) teeList.get(i);
                    result += "<tr><td>" + o.getDetailTypes().getTypeName() + "</td><td><a href=\"" + httpServletRequest.getRequestURL().toString().replaceAll("/lookDiameter.html", "") + "/lookDetail.html?type=tee\"><ul>" +
                             "<li>" + o.getGost().getGostName() +
                            "<li>Первый диаметр:  " + o.getFirstDiametr() +
                            "<li>Первая толщина:  " + o.getFirstThickness() +
                            "<li>Второй длиаметр:  " + o.getSecondDiametr() +
                            "<li>Вторая толщина:  " + o.getSecondThickness() +
                            "<li>Материал: " + o.getMaterial() + "</ul></a></td></tr>";
                }

                for (int i = 0; i < zaglushkaList.size(); i++) {
                    Zaglushka o = (Zaglushka) zaglushkaList.get(i);
                    result += "<tr><td>" + o.getDetailTypes().getTypeName() + "</td><td><a href=\"" + httpServletRequest.getRequestURL().toString().replaceAll("/lookDiameter.html", "") + "/lookDetail.html?type=zaglushka\"><ul>" +
                            "<li>" + o.getGost().getGostName() +
                            "<li>Диаметр:  " + o.getDiametr() +
                            "<li>Толщина:  " + o.getThickness() +
                            "<li>Материал: " + o.getMaterial() + "</ul></a></td></tr>";
                }

                for (int i = 0; i < flangeList.size(); i++) {
                    Flange o = (Flange) flangeList.get(i);
                    result += "<tr><td>" + o.getDetailTypes().getTypeName() + "</td><td><a href=\"" + httpServletRequest.getRequestURL().toString().replaceAll("/lookDiameter.html", "") + "/lookDetail.html?type=flange\"><ul>" +
                            "<li>" + o.getGost().getGostName() +
                            "<li>Диаметр:  " + o.getDiametr() +
                            "<li>Толщина:  " + o.getThickness() +
                            "<li>Материал: " + o.getMaterial() +
                            "<li>Давление: " + o.getPressure() + "</ul></td></tr>";
                }

                for (int i = 0; i < armatureList.size(); i++) {
                    Armature o = (Armature) armatureList.get(i);
                    result += "<tr><td>" + o.getDetailTypes().getTypeName() + "</td><td><a href=\"" + httpServletRequest.getRequestURL().toString().replaceAll("/lookDiameter.html", "") + "/lookDetail.html?type=armature\"><ul>" +
                            "<li>" + o.getGost().getGostName() +
                            "<li>Название:   " + o.getName() +
                            "<li>Диаметр:    " + o.getDiametr() +
                            "<li>Материал:   " + o.getMaterial() +
                            "<li>Маркировка: " + o.getMarks() +
                            "<li>Давление:   " + o.getPressure() + "</ul</a></td></tr>";
                }

                for (int i = 0; i < oborList.size(); i++) {
                    Oborudovanie o = (Oborudovanie) oborList.get(i);
                    result += "<tr><td>" + o.getDetailTypes().getTypeName() + "</td><td><a href=\"" + httpServletRequest.getRequestURL().toString().replaceAll("/lookDiameter.html", "") + "/lookDetail.html?type=oborudovanie\"><ul>" +
                            "<li>" + o.getGost().getGostName() +
                            "<li>Диаметр:   " + o.getDiametr() +
                            "<li>Название:  " + o.getName() +
                            "<li>Стоимость:   " + o.getExpenses() +
                            "<li>Давление:  " + o.getPressure() + "</ul></a></td></tr>";
                }

                result += "</table>";
            } else {
                diameterManager.delete(diameter);
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.