Examples of Platform


Examples of gov.nasa.arc.mct.platform.spi.Platform

     * @param assetClass the type of asset desired
     * @param <A> the type of asset desired
     * @return an object of the desired type (or null if none is available)
     */
    public <A> A getAsset(Class<A> assetClass) {
        Platform platform = PlatformAccess.getPlatform();
        if (platform != null) {
            CoreComponentRegistry registry = platform.getComponentRegistry();
            if (registry != null) {
                return registry.getAsset(this, assetClass);
            }
        }
        return null;
View Full Code Here

Examples of honeycrm.client.mvp.views.Platform

  private PlatformProvider() {
  }

  public static void registerHeader(final Display headerView) {
    p = new Platform(headerView, null);
  }
View Full Code Here

Examples of hudson.Platform

            if(v == null) {
                v = value;
            }
            else {
                // EnvVars.platform is private with no getter, but we really need it
                Platform platform = null;
                try {
                    platform = (Platform) EnvVars.class.getField("platform").get(env);
                } catch (Exception e) {
                    // nothing we can really do
                }
View Full Code Here

Examples of m33.entities.Platform

      for (int k = 0; k < ch.getMovNum(); k++) {
        int sx = (ch.sx[k] + totCol) * TILE_SIZE;
        int ex = (ch.ex[k] + totCol) * TILE_SIZE;
        int sy = (ch.sy[k] + anchor - ch.getAnchorIn()) * TILE_SIZE;
        int ey = (ch.ey[k] + anchor - ch.getAnchorIn()) * TILE_SIZE;
        Platform p = new Platform(sx, ex, sy, ey);
        p.setId(1);
        p.setNumWH(ch.getNumW(), ch.getNumH());
     
        em.add(p);
      }

      anchor = anchor - (ch.getAnchorIn() - ch.getAnchorOut());
View Full Code Here

Examples of net.rim.tumbler.file.Library.Platform

 
  private void processPlatformsNode(Node platformsNode) {
    NodeList childNodes = platformsNode.getChildNodes();
   
    for (int i = 0; i < childNodes.getLength(); i++) {
      Platform p = processPlatformNode(childNodes.item(i));
     
      if (p != null) {
        _library.addPlatform(p);
      }
    }
View Full Code Here

Examples of net.sf.apptools.Platform

    try {
      //Create the core engine       
      CoreEngine engine = GUILauncher.startEngine(ProbeMakerGUILauncher.class);
     
      //Create the application platform
      Platform uip = GUILauncher.createPlatform(engine);
     
      //Open a plug-in
      GUILauncher.statusLabel.setText("Launching ProbeMaker GUI");         //$NON-NLS-1$
      uip.activatePlugIn(ProbeMakerUIPlugIn.class);            
     
      GUILauncher.statusLabel.setText("Auto-activating plug-ins"); //$NON-NLS-1$              
      uip.autoActivatePlugIns();  
     
      GUILauncher.showWorkbench(uip);
     
    }
    catch (Exception e) {
View Full Code Here

Examples of net.sf.nic.Platform

    if (platforms == null)
      return null;

    Set<Platform> set = new HashSet<Platform>();
    for (String platform : platforms.split("\\s*,\\s*")) {
      Platform p = KnownPlatforms.find(platform);
      if (p != null)
        set.add(p);
      else
        project.logWarning("Failed to resolve a supported platform for '%s'", platform);
    }
View Full Code Here

Examples of net.sf.saxon.Platform

            nonMatching = nonMatching.optimize(visitor, BuiltInAtomicType.STRING);
            adoptChildExpression(nonMatching);
        }
        if (pattern == null && regex instanceof StringLiteral && flags instanceof StringLiteral) {
            try {
                final Platform platform = Configuration.getPlatform();
                final CharSequence regex = ((StringLiteral)this.regex).getStringValue();
                final CharSequence flagstr = ((StringLiteral)flags).getStringValue();
                final int xmlVersion = visitor.getConfiguration().getXMLVersion();
                int flagBits = JRegularExpression.setFlags(flagstr);
                pattern = new JRegularExpression(regex, xmlVersion, RegularExpression.XPATH_SYNTAX, flagBits);
View Full Code Here

Examples of net.sf.saxon.Platform

        CharSequence input = select.evaluateAsString(context);

        RegularExpression re = pattern;
        if (re == null) {
            CharSequence flagstr = flags.evaluateAsString(context);
            final Platform platform = Configuration.getPlatform();
            final int xmlVersion = context.getConfiguration().getXMLVersion();
            int flagBits = JRegularExpression.setFlags(flagstr);
            re = new JRegularExpression(regex.evaluateAsString(context), xmlVersion, RegularExpression.XPATH_SYNTAX, flagBits);  
            if (re.matches("")) {
                dynamicError("The regular expression must not be one that matches a zero-length string",
View Full Code Here

Examples of net.sf.saxon.Platform

        if (kind != Type.ELEMENT && kind != Type.DOCUMENT) {
            dynamicError("Node in put() must be a document or element node",
                    "FOUP0001", context);
        }
        String relative = argument[1].evaluateItem(context).getStringValue();
        Platform platform = Configuration.getPlatform();
        String abs;
        try {
            URI resolved = ResolveURI.makeAbsolute(relative,  expressionBaseURI);
            abs = resolved.toString();
        } catch (URISyntaxException err) {
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.