Package ch.tatool.element

Examples of ch.tatool.element.TemporaryElementSupport


      }
      GenericContentExecutable changeLevelExecutable = new GenericContentExecutable();
      changeLevelExecutable.addContent(Region.CENTER, textPanel);
      changeLevelExecutable.setDisplayDuration(duration);
      Misc.getOutcomeProperty().setValue(changeLevelExecutable, ExecutionOutcome.SKIP);
      TemporaryElementSupport support = TemporaryElementSupportUtil.getInstance().findTemporaryElementSupport(context);
      if (support != null) {
        ExecutableElement element = new ExecutableElement(changeLevelExecutable);
        support.addTemporaryElement(element);
      }
     
      // don't pause before executing the temporary element
      PauseHandlerUtil.setCurrentInterElementPauseDuration(context, 0L);
    }
View Full Code Here


     // only set if we are applied to the current task
    if (this.getParent() == context.getActiveElement()) {
      ConfidenceRatingExecutable conf = new ConfidenceRatingExecutable();
      conf.setLocalId("confidence-rating");
     
      TemporaryElementSupport support = TemporaryElementSupportUtil.getInstance().findTemporaryElementSupport(context);
        if (support != null) {
          ExecutableElement element = new ExecutableElement(conf);
          support.addTemporaryElement(element);
        }

        PauseHandlerUtil.setCurrentInterElementPauseDuration(context, 0L);
    }
  }
View Full Code Here

      }
      GenericContentExecutable changeLevelExecutable = new GenericContentExecutable();
      changeLevelExecutable.addContent(Region.CENTER, textPanel);
      changeLevelExecutable.setDisplayDuration(duration);
      Misc.getOutcomeProperty().setValue(changeLevelExecutable, ExecutionOutcome.SKIP);
      TemporaryElementSupport support = TemporaryElementSupportUtil.getInstance().findTemporaryElementSupport(context);
      if (support != null) {
        ExecutableElement element = new ExecutableElement(changeLevelExecutable);
        support.addTemporaryElement(element);
      }
     
      // don't pause before executing the temporary element
      PauseHandlerUtil.setCurrentInterElementPauseDuration(context, 0L);
    }
View Full Code Here

TOP

Related Classes of ch.tatool.element.TemporaryElementSupport

Copyright © 2018 www.massapicom. 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.