Examples of InferContainedElementsAction


Examples of org.openiaml.model.diagram.custom.actions.InferContainedElementsAction

   * element we want to infer within.
   */
  @Override
  public void testActionInference() throws Exception {
    root = loadDirectly(getTestClass());
    InferContainedElementsAction action = new InferContainedElementsAction();
    action.refreshContainedMappings(root, createContainerHandler(action), new NullProgressMonitor());

    getTestInterface().checkInferredKnowledge(root);
  }
View Full Code Here

Examples of org.openiaml.model.diagram.custom.actions.InferContainedElementsAction

      assertNotGenerated(text2);
      ConnectionNodeEditPart sync = assertHasSyncWire(editor_page, text1, text2, "sync");
      assertNotGenerated(sync);
     
      // select the first text field and infer!
      runAction(new InferContainedElementsAction(), text1);
     
      // save it
      editor_page.doSave(new NullProgressMonitor());
     
      // there should not be any new elements in the local editor
View Full Code Here

Examples of org.openiaml.model.diagram.custom.actions.InferContainedElementsAction

   * This method returns the "only contained elements" action.
   *
   * @return
   */
  protected ProgressEnabledAction<GraphicalEditPart> getAction() {
    return new InferContainedElementsAction() {

      @Override
      public DroolsInferenceEngine getEngine(ICreateElementsFactory handler) {
        return new CreateMissingElementsWithDrools(handler, true) {

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.