Package org.openiaml.model.diagram.custom.actions

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


   * 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


      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

   * 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

Related Classes of org.openiaml.model.diagram.custom.actions.InferContainedElementsAction$CreateElementsWithinContainer

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.