Package org.openiaml.model.diagram.helpers.inference

Examples of org.openiaml.model.diagram.helpers.inference.EmfInferenceHandler


       
        try {
          // we don't want to just delete related elements;
          // we want to delete _all_ elements
          for (GeneratedElement selected : selectedElements) {
            EcoreCreateElementsHelper helper = new EmfInferenceHandler(
                editingDomain,
                Collections.EMPTY_LIST,
                monitor,
                info,
                selected.eResource() );
View Full Code Here


    try {
      EObject container = part.resolveSemanticElement();
     
      removeContainedGeneratedElements(container, new CreateElementsWithinContainer(
          container,
          new EmfInferenceHandler(
            part.getEditingDomain(),
            new ArrayList<Object>(), /* affected files */
            new SubProgressMonitor(monitor, 100),
            null /* IAdapter == null */,
            container.eResource()  /* eResource */
 
View Full Code Here

     
      ICreateElementsFactory factory = new ICreateElementsFactory() {

        @Override
        public ICreateElements createHandler(EObject model) {
          return new EmfInferenceHandler(
            part.getEditingDomain(),
            new ArrayList<Object>(), /* affected files */
            new SubProgressMonitor(monitor, 100),
            null /* IAdapter == null */,
            target.eResource()  /* eResource */);
 
View Full Code Here

        return Status.CANCEL_STATUS;
     
      monitor.subTask("Inferring contained elements");
     
      // we need a runtime handler to prevent 'cannot access transaction' errors
      ICreateElements handler = new EmfInferenceHandler(
          part.getEditingDomain(),
          new ArrayList<Object>(), /* affected files */
          new SubProgressMonitor(monitor, 14),
          null /* IAdapter == null */,
          container.eResource()  /* eResource */
 
View Full Code Here

TOP

Related Classes of org.openiaml.model.diagram.helpers.inference.EmfInferenceHandler

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.