Examples of EventData


Examples of com.evasion.entity.event.EventData

                || StringUtils.isWhitespace(entityId)
                || StringUtils.isWhitespace(code)) {
            throw new IllegalArgumentException("Au moin une propriété est vide ou null");
        }
        LOGGER.debug("Ajout d'évènement.");
        EventData eventData = new EventData(entityName, entityId, code, plugin, auteur);

        eventDao.persist(eventData);
    }
View Full Code Here

Examples of com.evasion.plugin.common.entity.EventData

                || StringUtils.isWhitespace(entityId)
                || StringUtils.isWhitespace(code)) {
            throw new IllegalArgumentException("Au moin une propriété est vide ou null");
        }
        LOGGER.debug("Ajout d'évènement.");
        EventData eventData = new EventData(entityName, entityId, code, plugin, auteur);

        eventDao.persist(eventData);
    }
View Full Code Here

Examples of com.l2jfrozen.gameserver.util.EventData

            player.setXYZ(82698, 148638, -3473);
                  }
          // we store all data from players who are disconnected while in an event in order to restore it in the next login
          if(player.atEvent)
          {
            EventData data = new EventData(player.eventX, player.eventY, player.eventZ, player.eventKarma, player.eventPvpKills, player.eventPkKills, player.eventTitle, player.kills, player.eventSitForced);

            L2Event.connectionLossData.put(player.getName(), data);
            data = null;
          }else{
           
View Full Code Here

Examples of com.l2jfrozen.gameserver.util.EventData

                  }

          // we store all data from players who are disconnected while in an event in order to restore it in the next login
          if(player.atEvent)
          {
            EventData data = new EventData(player.eventX, player.eventY, player.eventZ, player.eventKarma, player.eventPvpKills, player.eventPkKills, player.eventTitle, player.kills, player.eventSitForced);

            L2Event.connectionLossData.put(player.getName(), data);
            data = null;
          }else{
           
View Full Code Here

Examples of net.sf.l2j.util.EventData

        {

                  // we store all data from players who are disconnected while in an event in order to restore it in the next login
                  if (player.atEvent)
                  {
                    EventData data = new EventData(player.eventX, player.eventY, player.eventZ, player.eventkarma, player.eventpvpkills, player.eventpkkills, player.eventTitle, player.kills, player.eventSitForced);
                      L2Event.connectionLossData.put(player.getName(), data);
                  }
                  if (player.isFlying())
                  {
                    player.removeSkill(SkillTable.getInstance().getInfo(4289, 1));
View Full Code Here

Examples of org.apache.airavata.ws.monitor.EventData

     */
    public void handleNotification(String message) {
        try {
            // String soapBody = WorkFlowUtils.getSoapBodyContent(message);
            XmlElement event = XMLUtil.stringToXmlElement(message);
            handleEvent(new EventData(event), true, this.workflow.getGraph());

            // } catch (XMLStreamException e) {
            // // Just log them because they can be unrelated messages sent to
            // // this topic by accident.
            // logger.warn("Could not parse received notification: " + message,
View Full Code Here

Examples of org.apache.airavata.ws.monitor.EventData

     */
    public void handleNotification(String message) {
        try {
            // String soapBody = WorkFlowUtils.getSoapBodyContent(message);
            XmlElement event = XMLUtil.stringToXmlElement(message);
            handleEvent(new EventData(event), true, this.workflow.getGraph());

            // } catch (XMLStreamException e) {
            // // Just log them because they can be unrelated messages sent to
            // // this topic by accident.
            // logger.warn("Could not parse received notification: " + message,
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.examples.data.EventData

    }

    private List<EventData> createEventData() {
        List<EventData> result = new ArrayList<EventData>();

        EventData ed = new EventData();
        ed.setTitle("My correct event");
        ed.setDescription("My event that validates correctly");
        ed.setWhere("Somewhere");
        ed.setFromDate(new GregorianCalendar(2013, 2, 1).getTime());
        ed.setToDate(new GregorianCalendar(2013, 2, 3).getTime());
        result.add(ed);

        ed = new EventData();
        ed.setTitle("My wrong event");
        ed.setDescription("My event where validation fails");
        ed.setWhere("Somewhere else");
        ed.setFromDate(new GregorianCalendar(2013, 2, 3).getTime());
        ed.setToDate(new GregorianCalendar(2013, 2, 1).getTime());
        result.add(ed);

        return result;
    }
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.examples.data.EventData

    @Override
    public void accumulateConfigLabels(LabelStack configLabels,
            int columnPosition, int rowPosition) {
        // get the row object out of the dataprovider
        EventData rowObject = this.bodyDataProvider.getRowObject(rowPosition);

        // in column 3 and 4 there are the values that are cross validated
        if (columnPosition == 3 || columnPosition == 4) {
            configLabels.addLabel(CrossValidationGridExample.DATE_LABEL);
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.examples.data.EventData

    }

    @Override
    public boolean validate(int columnIndex, int rowIndex, Object newValue) {
        // get the row object out of the dataprovider
        EventData rowObject = this.bodyDataProvider.getRowObject(rowIndex);

        // as the object itself is not yet updated, we need to validate against
        // the given new value
        Date fromDate = rowObject.getFromDate();
        Date toDate = rowObject.getToDate();
        if (columnIndex == 3) {
            fromDate = (Date) newValue;
        } else if (columnIndex == 4) {
            toDate = (Date) newValue;
        }
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.