Examples of addFeature()


Examples of com.meapsoft.FeatChunk.addFeature()

        }
         
      }
     
      fC.clearFeatures();
      fC.addFeature(chromas);
     
      outFile.chunks.add(fC);
    }
   
View Full Code Here

Examples of com.smardec.license4j.License.addFeature()

//        && (!ProtectionLicense.checkLicenseExpired())
//        && (ProtectionLicense.checkLicense())) {
//      e = new LicenseData(ProtectionLicense.getSoapUILicense());
//    }
    License l = new License();
    l.addFeature("organization", "yisufuyou-org");
    l.addFeature("name", "yisufyou-name");
    l.addFeature("type", LicenseType.PROFESSIONAL.name());
    Date d = new Date();
    d.setYear(2114);
    l.addFeature("expiration", d);
View Full Code Here

Examples of com.technophobia.substeps.execution.node.TestRootNodeBuilder.addFeature()

        Assert.assertNotNull(nonFailMethod);
        Assert.assertNotNull(failMethod);

        final String scenarioName = "scenarioName";
        final TestRootNodeBuilder rootNodeBuilder = new TestRootNodeBuilder();
        final TestFeatureNodeBuilder featureBuilder = rootNodeBuilder.addFeature(new Feature("test feature", "file"));

        final TestOutlineScenarioNodeBuilder outlineScenarioBuilder = featureBuilder.addOutlineScenario(scenarioName);
        final TestOutlineScenarioRowNodeBuilder rowBuilder1 = outlineScenarioBuilder.addRow(1);
        final TestOutlineScenarioRowNodeBuilder rowBuilder2 = outlineScenarioBuilder.addRow(2);
View Full Code Here

Examples of de.FeatureModellingTool.Pattern.UI.AutoLayout.addFeature()

                      for (Iterator<String> itFeature=figureMap.keySet().iterator() ; itFeature.hasNext() ; ) {
                        String featureID = itFeature.next();
                        Feature desFeature = featureModel.getFeature(featureID);
                        Figure desFigure = figureMap.get(featureID);
                       
                        layout.addFeature(desFeature, desFigure.size().width, desFigure.size().height);
                      }
                      layout.caculateLayout();
                     
                      Figure rootFigure = figureMap.get(feature.getID());
                      int off_x = rootFigure.getDisplayBox().x - layout.getFeatureLayout(feature).x;
View Full Code Here

Examples of de.FeatureModellingTool.Pattern.UI.AutoLayout_Feature.addFeature()

                      for (Iterator<String> itFeature=figureMap.keySet().iterator() ; itFeature.hasNext() ; ) {
                        String featureID = itFeature.next();
                        Feature desFeature = featureModel.getFeature(featureID);
                        Figure desFigure = figureMap.get(featureID);
                       
                        layout.addFeature(desFeature, desFigure.size().width, desFigure.size().height);
                      }
                      layout.caculateLayout();
                     
                      Figure rootFigure = figureMap.get(feature.getID());
                      int off_x = rootFigure.getDisplayBox().x - layout.getFeatureLayout(feature).x;
View Full Code Here

Examples of de.fosd.typechef.VALexer.addFeature()

        VALexer pp = lexerFactory.create(options.getSmallFeatureModel());

        for (Warning w : options.getWarnings())
            pp.addWarning(w);
        for (Feature f : options.getFeatures())
            pp.addFeature(f);

        PreprocessorListener listener = new PreprocessorListener(pp, options);
        pp.setListener(listener);
        pp.addMacro("__TYPECHEF__", FeatureExprLib.True());
View Full Code Here

Examples of de.timefinder.data.Location.addFeature()

    @Test
    public void addFeature() {
        Location room = newLocation("test");
        Feature f = newFeature("feature");
        room.addFeature(f);
        assertEquals(f, room.getFeatures().iterator().next());

        Feature feature = new Feature();
        instance.addFeature(feature);
        instance.addFeature(feature);
View Full Code Here

Examples of edu.stanford.nlp.international.morph.MorphoFeatures.addFeature()

    if(spec == null || spec.equals("")) {
      return features;
    }
    //Possessiveness
    if(isActive(MorphoFeatureType.POSS) && spec.contains("POSS")) {
      features.addFeature(MorphoFeatureType.POSS,possVals[0]);
    }

    //Nominals and pronominals. Mona ignores Pronominals in ERTS, but they seem to help...
    // NSUFF -- declinable nominals
    // VSUFF -- enclitic pronominals
View Full Code Here

Examples of net.engio.mbassy.bus.config.BusConfiguration.addFeature()

     *
     * @return
     */
    public static SyncMessageBus SynchronousOnly(){
        BusConfiguration syncPubSubCfg = new BusConfiguration();
        syncPubSubCfg.addFeature(Feature.SyncPubSub.Default());
        return new SyncMessageBus(syncPubSubCfg);
    }

    /**
     * Create a message bus supporting synchronous and asynchronous message publication.
View Full Code Here

Examples of org.apache.abdera.ext.features.Features.addFeature()

    @Test
    public void testFeatures() throws Exception {
        Abdera abdera = Abdera.getInstance();
        Collection coll = abdera.getFactory().newCollection();
        Features features = FeaturesHelper.addFeaturesElement(coll);
        features.addFeature("http://example.com/features/foo", null, "foo & here");
        features.addFeature("http://example.com/features/bar", null, null);

        assertEquals(Status.SPECIFIED, FeaturesHelper.getFeatureStatus(coll, "http://example.com/features/foo"));
        assertEquals(Status.SPECIFIED, FeaturesHelper.getFeatureStatus(coll, "http://example.com/features/bar"));
        assertEquals(Status.UNSPECIFIED, FeaturesHelper.getFeatureStatus(coll, "http://example.com/features/baz"));
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.