Package org.openiaml.model.custom.actions

Examples of org.openiaml.model.custom.actions.RemovePhantomEdgesAction


  public void testRemovePhantomEdges() throws Exception {
    // copy files
    copyFiles();
   
    // do the phantom edges action
    RemovePhantomEdgesAction act = new RemovePhantomEdgesAction();
    act.doExecute(targetModel, new NullProgressMonitor());

    // try and load the file directly
    ResourceSet resourceSet = new ResourceSetImpl();
    Resource resource = resourceSet.getResource(URI.createPlatformResourceURI(targetModel.getFullPath().toString(), false), true);   
    InternetApplication model = (InternetApplication) resource.getContents().get(0);
View Full Code Here


      if (monitor.isCanceled())
        return Status.CANCEL_STATUS;
     
      // and then remove any phantom edges
      monitor.subTask("Removing phantom edges");
      RemovePhantomEdgesAction phantoms = new RemovePhantomEdgesAction();
      IStatus status = phantoms.doRemovePhantomEdges(root, handler, new SubProgressMonitor(monitor, 5));
      if (!status.isOK()) {
        return status;
      }
      if (monitor.isCanceled())
        return Status.CANCEL_STATUS;
View Full Code Here

TOP

Related Classes of org.openiaml.model.custom.actions.RemovePhantomEdgesAction

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.