Examples of disable()


Examples of org.mcsg.survivalgames.Game.disable()

        if(g == null){
            MessageManager.getInstance().sendFMessage(PrefixType.ERROR, "error.gamedoesntexist", player, "arena-" + arena);
            return true;
        }
       
        g.disable();
        s.set("sg-system.arenas."+arena+".enabled", false);
        s.set("sg-system.arenano", s.getInt("sg-system.arenano") - 1);
        //spawn.set("spawns."+arena, null);
        MessageManager.getInstance().sendFMessage(PrefixType.INFO, "info.deleted", player, "input-Arena");
        SettingsManager.getInstance().saveSystemConfig();
View Full Code Here

Examples of org.nasutekds.server.replication.plugin.LDAPReplicationDomain.disable()

       * disable the domain while we publish the delete message to
       * to replication server so that when we enable it it receives the
       * delete operation in bulk.
       */

      domain.disable();
      Thread.sleep(2000)// necesary because disable does not wait
                           // for full termination of all threads. (issue 1571)

      DN deleteDN = DN.decode(addDn);
      while (sequence-->1)
View Full Code Here

Examples of org.pokenet.server.battle.mechanics.statuses.StatusEffect.disable()

                applied.add(effect.clone());
              }
              if (effect instanceof CoEffect) {
                CoEffect coeffect = (CoEffect)effect;
                if (!coeffect.getType().equals(AttractEffect.class)) {
                  effect.disable();
                }
              }
            }
          }
        }
View Full Code Here

Examples of org.rhq.coregui.client.util.enhanced.EnhancedIButton.disable()

                                        // Rebuild the select item options.
                                        LinkedHashMap<String, String> memberValueToIndexMap = buildValueMap(propertyList);
                                        membersItem.setValueMap(memberValueToIndexMap);

                                        deleteButton.disable();

                                        firePropertyChangedEvent(propertyList, propertyDefinitionList, true);
                                        CoreGUI.getMessageCenter().notify(
                                            new Message(MSG.view_configEdit_msg_3(
                                                Integer.toString(selectedValues.length), noun), EnumSet
View Full Code Here

Examples of org.sonatype.nexus.capabilities.client.Capability.disable()

    capability.refresh();
    MatcherAssert.assertThat(capability.isActive(), is(true));

    logRemote("Disable capability of type [message]");
    messageCapability.disable();
    capability.refresh();
    MatcherAssert.assertThat(capability.isActive(), is(false));

    logRemote("Enable capability of type [message]");
    messageCapability.enable();
View Full Code Here

Examples of org.togglz.core.repository.FeatureState.disable()

        try {

            FileBasedStateRepository repo = new FileBasedStateRepository(file);

            FeatureState state = repo.getFeatureState(MyFeature.FEATURE1);
            state.disable();
            repo.setFeatureState(state);

            Properties newProps = readPropertiesFile(file);

            assertThat(newProps.size(), is(3));
View Full Code Here

Examples of srsim.actuators.LightingActuator.disable()

  private void disableLights() throws SimulationContextException {
    Iterator<IActuator> lights = this.lights.iterator();
    while (lights.hasNext()) {
      LightingActuator light = (LightingActuator) lights.next();
      if (light.getState() == IActuator.ACTIVE) {
        light.disable();
        notifyListeners("light " + light.getId() + " disabled");
      }
    }
  }
View Full Code Here

Examples of weka.core.Capabilities.disable()

    // set dependencies
    for (Capability cap: Capability.values())
      result.enableDependency(cap);
   
    // adjustment for class based on selected evaluation metric
    result.disable(Capability.NUMERIC_CLASS);
    result.disable(Capability.DATE_CLASS);
    if (m_evaluationMeasure != EVAL_ACCURACY && m_evaluationMeasure != EVAL_FMEASURE &&
        m_evaluationMeasure != EVAL_AUC) {
      result.enable(Capability.NUMERIC_CLASS);
      result.enable(Capability.DATE_CLASS);
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.