Package org.objectstyle.wolips.locate.result

Examples of org.objectstyle.wolips.locate.result.DefaultLocateResult


  public void handleWoappResources(IResource resource, IProgressMonitor monitor, Map buildCache) {
    try {
      if (resource instanceof IContainer && resource.getName().endsWith(".eomodeld")) {
        EOModelReference modifiedModelReference = new EOModelReference(resource.getLocation());
        DefaultLocateResult result = new DefaultLocateResult();
        Locate locate = new Locate(new EOGenLocateScope(resource.getProject()), result);
        locate.locate();

        IResource[] eogenFiles = result.getResources();
        for (IResource eogenResource : eogenFiles) {
          IFile eogenFile = (IFile) eogenResource;
          EOGeneratorModel eogenModel = EOGeneratorModel.createModelFromFile(eogenFile);
          if (eogenModel.isModelReferenced(modifiedModelReference)) {
            EOGenerateWorkspaceJob eogenerateJob = new EOGenerateWorkspaceJob(eogenFile);
View Full Code Here

TOP

Related Classes of org.objectstyle.wolips.locate.result.DefaultLocateResult

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.