Examples of activate()


Examples of org.openbp.swing.components.DragGlassPane.activate()

  {
    // Get the instance of the global drag glass pane used to draw the drag shadow
    DragGlassPane gp = DragGlassPane.getInstance();

    // Activate the drag shadow glass pane for the root pane container of this component
    gp.activate(this);

    // Convert the point to glass pane coordinates
    Point offset = SwingUtilities.convertPoint(subject, x, y, gp);

    // Draw the target rectangle
View Full Code Here

Examples of org.opencustomer.webapp.util.menu.Menu.activate()

                if(item != null) {
                    if(log.isDebugEnabled())
                        log.debug("active menu item with id: "+item.getId());
                       
                    menu.activate(item.getId());
                }
            }

            return new ActionForward(getActionURL(request, menu.getActiveItem().getAction()));
        else {
View Full Code Here

Examples of org.openmhealth.reference.domain.User.activate()

    if(user == null) {
      throw new OmhException("The registration ID is unknown.");
    }
   
    // Activate the account.
    user.activate();
   
    // Save the account.
    UserBin.getInstance().updateUser(user);
  }
}
View Full Code Here

Examples of org.pentaho.mantle.client.admin.ISysAdminPanel.activate()

      for ( int i = 0; i < MantleXul.getInstance().getAdminContentDeck().getWidgetCount(); i++ ) {
        Widget w = MantleXul.getInstance().getAdminContentDeck().getWidget( i );
        if ( adminPanelAwaitingActivation.id.equals( w.getElement().getId() ) ) {
          ISysAdminPanel sysAdminPanel = sysAdminPanelsMap.get( adminPanelAwaitingActivation.id );
          if ( sysAdminPanel != null ) {
            sysAdminPanel.activate();
          }
          break;
        }
      }
View Full Code Here

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

        }
      }
    }

    StatusEffect applied = (StatusEffect) eff.clone();
    applied.activate();
    applied.setInducer(source);
    if ((m_field != null) && !allowsStatus(applied, source)) return null;

    if (applied.apply(this)) {
      m_statuses.add(applied);
View Full Code Here

Examples of org.pokenet.server.battle.mechanics.statuses.abilities.IntrinsicAbility.activate()

        } else {
          ability = null;
        }
        user.changeHealth(-damage, true);
        if (ability != null) {
          ability.activate();
        }
        return super.use(mech, user, target);
      }
    }
    ));
View Full Code Here

Examples of org.pokenet.server.battle.mechanics.statuses.items.HoldItem.activate()

            return "'s item was nullified.";
          }
          public void unapply(Pokemon p) {
            HoldItem item = p.getItem();
            if ((item != null) && !item.isRemovable()) {
              item.activate();
              item.apply(p);
            }
          }
          public String getName() {
            return "Embargo";
View Full Code Here

Examples of org.qi4j.api.structure.Application.activate()

    public void testPlugins()
        throws Exception
    {
        Energy4Java runtime = new Energy4Java();
        Application app = runtime.newApplication( new MainApplicationAssembler() );
        app.activate();
    }

    // Main application

    class MainApplicationAssembler
View Full Code Here

Examples of org.rioproject.cybernode.StaticCybernode.activate()

    }

    @Before
    public void setupSpringBean() throws Exception {
        StaticCybernode cybernode = new StaticCybernode();
        Map<String, Object> map = cybernode.activate(new File(opstring));
        for (Map.Entry<String, Object> entry : map.entrySet()) {
            String beanName = entry.getKey();
            Object beanImpl = entry.getValue();
            if (beanName.equals("Hello"))
                springBean = (Hello) beanImpl;
View Full Code Here

Examples of org.sonar.api.batch.rule.internal.NewActiveRule.activate()

      // load parameters
      for (Entry<String, String> param : activeRule.params().entrySet()) {
        newActiveRule.setParam(param.getKey(), param.getValue());
      }

      newActiveRule.activate();
    }
    return builder.build();
  }
}
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.