Examples of EventConfiguration


Examples of com.dmissoh.biologic.models.EventConfiguration

          continue;
        }
        String name = element.getAttribute(NAME_TAG);
        String startKey = element.getAttribute(START_KEY_TAG);
        String endKey = element.getAttribute(END_KEY_TAG);
        EventConfiguration ec = new EventConfiguration(name, startKey
            .charAt(0), endKey.charAt(0));
        ec.setPunctual(Boolean.valueOf(element
            .getAttribute(IS_PUNCTUAL)));
        eventsConfigurations.add(ec);
      }
    }
    return eventsConfigurations;
View Full Code Here

Examples of com.dmissoh.biologic.models.EventConfiguration

    return serializeDocument(document);
  }

  List<EventConfiguration> getDefault() {
    List<EventConfiguration> eventConfigs = new ArrayList<EventConfiguration>();
    EventConfiguration ecOne = new EventConfiguration("Stand still", 'a', 's');
    EventConfiguration ecTwo = new EventConfiguration("Groom larva", 'y', 'x');
    EventConfiguration ecThree = new EventConfiguration("Carry larva", 'q', 'w');
    EventConfiguration ecFour = new EventConfiguration("Antennate larva", 'p');
    eventConfigs.add(ecOne);
    eventConfigs.add(ecTwo);
    eventConfigs.add(ecThree);
    eventConfigs.add(ecFour);
    return eventConfigs;
View Full Code Here

Examples of com.dmissoh.biologic.models.EventConfiguration

      String eventName = eventDialog.getEventName();
      String eventStartKey = eventDialog.getStartEventKey();
      String eventEndKey = eventDialog.getEndEventKey();
      boolean punctual = eventDialog.isPunctual();

      EventConfiguration ec = null;
      if (!punctual) {
        ec = new EventConfiguration(eventName, eventStartKey.charAt(0),
            eventEndKey.charAt(0));
      } else {
        ec = new EventConfiguration(eventName, eventStartKey.charAt(0));
      }

      List<String> parametersThatAlreadyExist = parametersThatAlreadyExist(ec);
      if (parametersThatAlreadyExist != null
          && parametersThatAlreadyExist.size() > 0) {
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.