Examples of activate()


Examples of com.zesped.model.User.activate()

      hasorders = ((Boolean) oSessionInfo.get("hasorders")).booleanValue();
      if (!changepassw) {
        try {
          connect();
          oUser = new User(getSession(), id);
          oUser.activate();
          oUser.save(getSession());
          DAO.log(User.class, "ACTIVATE USER", AtrilEvent.Level.INFO, email+";"+id+";"+uid);
          disconnect();
        } catch (StorageException stge) {
          Log.out.error("ActivateUser.form() "+stge.getClass().getName()+" "+stge.getMessage(), stge);
View Full Code Here

Examples of cysbml.gui.NavigationPanel.activate()

    public void actionPerformed(ActionEvent ae) {
      NavigationPanel navPanel = NavigationPanel.getInstance();
      if (navPanel.isActive()){
        navPanel.deactivate();
      }else{
        navPanel.activate();
      }
    }     
   
  public boolean isInToolBar() {
    return true;
View Full Code Here

Examples of de.nava.informa.utils.PersistChanGrpMgr.activate()

              Channel theChan = (Channel) entry.theItem.getChannel();
              theGrp.deActivate();
              int before = theGrp.getItemCount(theChan);
              int after = theGrp.deleteItemFromChannel(theChan, entry.theItem);

              if (getActiveSemaphor()) theGrp.activate();
              logger.debug("Deleted. Count before =" + before + " /after: " + after);
              assertEquals("Not the rigth number of items", before, after + 1);

              entry.deleted = true;
              foundOne = true;
View Full Code Here

Examples of edu.stanford.nlp.international.arabic.ArabicMorphoFeatureSpecification.activate()

      // Apply Arabic-specific re-write rules
      String rawToken = tokenLabel.word();
      String tag = tokenLabel.tag();
      MorphoFeatureSpecification featureSpec = new ArabicMorphoFeatureSpecification();
      featureSpec.activate(MorphoFeatureType.NGEN);
      featureSpec.activate(MorphoFeatureType.NNUM);
      featureSpec.activate(MorphoFeatureType.DEF);
      featureSpec.activate(MorphoFeatureType.TENSE);
      MorphoFeatures features = featureSpec.strToFeatures(tag);

      // Rule #1 : ت --> ة
View Full Code Here

Examples of edu.stanford.nlp.international.morph.MorphoFeatureSpecification.activate()

    MorphoFeatureSpecification fSpec = new ArabicMorphoFeatureSpecification();
    String[] feats = args[1].split(",");
    for(String feat : feats) {
      MorphoFeatureType fType = MorphoFeatureType.valueOf(feat);
      fSpec.activate(fType);
    }

    File fName = new File(args[0]);
    try {
      BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(fName)));
View Full Code Here

Examples of eu.ha3.matmos.expansions.Expansion.activate()

        public void sliderValueChanged(HGuiSliderControl slider, float value)
        {
          expansion.setVolumeAndUpdate(value * 2);
          if (value > 0f && !expansion.isActivated())
          {
            expansion.activate();
          }
          slider.updateDisplayString();
        }
       
        @Override
View Full Code Here

Examples of gnu.javax.crypto.sasl.IAuthInfoProvider.activate()

    context.put(SRPRegistry.PASSWORD_FILE, pFile);

    IAuthInfoProvider authenticator = new SRPAuthInfoProvider();
    try
      {
        authenticator.activate(context);
        harness.check(true, "activate()");
      }
    catch (AuthenticationException x)
      {
        harness.debug(x);
View Full Code Here

Examples of gnu.javax.crypto.sasl.srp.SRPAuthInfoProvider.activate()

    context.put(SRPRegistry.PASSWORD_FILE, pFile);

    IAuthInfoProvider authenticator = new SRPAuthInfoProvider();
    try
      {
        authenticator.activate(context);
        harness.check(true, "activate()");
      }
    catch (AuthenticationException x)
      {
        harness.debug(x);
View Full Code Here

Examples of io.fabric8.api.scr.support.DummyComponent.activate()

            addConfigurationValue(config, fieldName, value);
        }

        LOG.info("Properties: " + config);

        component.activate(config);

        LOG.info("Have injected: " + component);

        assertFieldValues(fieldNames, this, component);
        assertFieldValues(defaultPropertyNames, this, component);
View Full Code Here

Examples of io.fabric8.git.internal.FabricGitServiceImpl.activate()

        EasyMock.expect(runtimeProperties.removeRuntimeAttribute(DataStoreTemplate.class)).andReturn(null).anyTimes();
        EasyMock.replay(runtimeProperties);

        FabricGitServiceImpl gitService = new FabricGitServiceImpl();
        gitService.bindRuntimeProperties(runtimeProperties);
        gitService.activate();
        gitService.setGitForTesting(git);

        /*
        dataStore = new GitDataStoreImpl();
        dataStore.bindCurator(curator);
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.