Examples of resolve()


Examples of de.lessvoid.nifty.tools.TargetElementResolver.resolve()

   */
  public void activate(final Nifty niftyParam, final Element element, final EffectProperties parameter) {
    this.nifty = niftyParam;

    TargetElementResolver resolver = new TargetElementResolver(nifty.getCurrentScreen(), element);
    targetElement = resolver.resolve(parameter.getProperty("targetElement"));

    String text = parameter.getProperty("hintText");
    if (text != null) {
      hintText = text;
    }
View Full Code Here

Examples of dtool.dub.BundlePath.resolve()

      if(workspaceProject != null) {
        depEntries.add(DLTKCore.newProjectEntry(workspaceProject.getFullPath(), true));
      } else {
        for (java.nio.file.Path srcFolder : depBundle.getEffectiveSourceFolders()) {
         
          java.nio.file.Path srcFolderAbsolute = bundlePath.resolve(srcFolder);
          assertTrue(srcFolderAbsolute.isAbsolute());
          depEntries.add(
            DubDependenciesBuildpathContainer.createDubBuildpathEntry(EclipseUtils.path(srcFolderAbsolute)));
        }
      }
View Full Code Here

Examples of edu.cmu.cs.stage3.alice.core.reference.PropertyReference.resolve()

                propertyReference.getProperty().set( variable );
              } else {
                throw new edu.cmu.cs.stage3.alice.core.UnresolvableReferenceException( variableCriterion, "could not resolve variable criterion: " + variableCriterion );
              }
            } else {
              propertyReference.resolve( referenceResolver );
            }
          } catch( UnresolvableReferenceException ure ) {
            referencesLeftUnresolved.addElement( propertyReference );
          }
        }
View Full Code Here

Examples of edu.mit.csail.sdg.alloy4compiler.ast.Expr.resolve()

        }
        if (params.size() != args.size()) return this;
        Context cx2 = new Context(realModule, warnings, cx.unrolls-1);
        for(int n=params.size(), i=0; i<n; i++) {
            Expr tmp = args.get(i);
            if (!(tmp instanceof Macro)) tmp = tmp.resolve(tmp.type(), warnings);
            cx2.put(params.get(i).label, tmp);
        }
        return cx2.check(body);
    }
View Full Code Here

Examples of eu.admire.dispel.parser.state.NamespaceManager.resolve()

        // write the used processing elements to the top of the file
        dispel.insert(0,"\n");
        for (String pe : usedTypes)
        {
            dispel.insert(0, ";\n");
            dispel.insert(0, ns.resolve(pe));
            dispel.insert(0, "use ");
        }
        // wrap the package qualifier around the function if there is one
        wrapPackage(function.getName(), dispel);
        return dispel.toString();
View Full Code Here

Examples of flex2.compiler.common.PathResolver.resolve()

            }
        }
        else
        {
            PathResolver resolver = ThreadLocalToolkit.getPathResolver();
            result = resolver.resolve(path);

            if (result == null && reportError)
            {
                throw new ConfigurationException.IOError(path);
            }
View Full Code Here

Examples of fr.eolya.utils.GeoLocalisation.resolve()

        return false;
      } catch (MalformedURLException e) {
        e.printStackTrace();
        return false;
      }
      if (geo.resolve("geoiptool") && geo.hasChanged()) {
        srcExtra.setProperty("/", "geoip", "");
        srcExtra.setProperty("/geoip", "ip", geo.getIp());
        srcExtra.setProperty("/geoip", "latitude", geo.getLatitude());
        srcExtra.setProperty("/geoip", "longitude", geo.getLongitude());
        srcExtra.setProperty("/geoip", "countrycode", geo.getCountryCode());
View Full Code Here

Examples of fr.obeo.releng.targetplatform.resolved.ResolvedTargetPlatform.resolve()

      subMonitor.worked(5);
     
      if (subMonitor.isCanceled()) {
        ret.merge(Diagnostic.CANCEL_INSTANCE);
      } else {
        Diagnostic diagnostic = resolvedTargetPlatform.resolve(repositoryManager, subMonitor.newChild(90));
        if (diagnostic.getSeverity() >= Diagnostic.WARNING) {
          ret.merge(diagnostic);
        }
        if (subMonitor.isCanceled()) {
          ret.merge(Diagnostic.CANCEL_INSTANCE);
View Full Code Here

Examples of freemarker.core.TemplateClassResolver.resolve()

        Configuration cfg = new Configuration();
       
        cfg.setSetting("new_builtin_class_resolver",
                "trusted_templates: foo.ftl, \"lib/*\"");
        TemplateClassResolver res = cfg.getNewBuiltinClassResolver();
        assertEquals(String.class, res.resolve("java.lang.String", null,
                Template.getPlainTextTemplate("foo.ftl", "", cfg)));
        assertEquals(String.class, res.resolve("java.lang.String", null,
                Template.getPlainTextTemplate("lib/bar.ftl", "", cfg)));
        try {
            res.resolve("java.lang.String", null,
View Full Code Here

Examples of gov.nasa.jpf.autodoc.types.scanner.TargetScanner.resolve()

    TargetScanner scanner = new TargetScanner(parser);
   
    Set<String> jars = new TreeSet<String>();
    jars.add("build/jpf-autodoc-types.jar");
   
    List<byte[]> data = scanner.resolve(jars);
    System.out.println("  count: " + data.size());
    assertNotNull(data);
  }

  /**
 
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.