Examples of Family


Examples of SUN_78.Family

    public NestedForm getANested() {
        return this.aNested;
    }

    public void setMyFamily(Family myFamily) {
        Family oldValue = this.myFamily;
        this.myFamily = myFamily;
        this.qq_Listeners.firePropertyChange("myFamily", oldValue, this.myFamily);
    }
View Full Code Here

Examples of SUN_78.Family

    /**
     * display<p>
     * <p>
     */
    public void display() {
        this.setMyFamily(new Family());
        //nest : NestedForm = new;
        //Nest.window.row = 1;
        //Nest.window.column = 2;
        //Nest.window.parent = <outergrid>;
        //Nest.mypets = new;
View Full Code Here

Examples of com.badlogic.ashley.core.Family

    @Test
    @SuppressWarnings("unchecked")
    public void shouldIterateEntitiesWithCorrectFamily(){
        final Engine engine = new Engine();

        final Family family = Family.all(ComponentA.class, ComponentB.class).get();
        final IteratingSystemMock system = new IteratingSystemMock(family);
        final Entity e = new Entity();

        engine.addSystem(system);
        engine.addEntity(e);
View Full Code Here

Examples of com.badlogic.ashley.core.Family

  @Test
  @SuppressWarnings("unchecked")
  public void shouldIterateEntitiesWithCorrectFamily(){
    final Engine engine = new Engine();

    final Family family = Family.getFor(OrderComponent.class, ComponentB.class);
    final SortedIteratingSystemMock system = new SortedIteratingSystemMock(family);
    final Entity e = new Entity();

    engine.addSystem(system);
    engine.addEntity(e);
View Full Code Here

Examples of com.badlogic.ashley.core.Family

 
  @Test
  public void entityOrder(){
    Engine engine = new Engine();
   
    final Family family = Family.getFor(OrderComponent.class);
    final SortedIteratingSystemMock system = new SortedIteratingSystemMock(family);
    engine.addSystem(system);
   
    Entity a = createOrderEntity("A", 0);
    Entity b = createOrderEntity("B", 1);
View Full Code Here

Examples of com.dmissoh.biologic.models.Family

    Collections.sort(runningEvents);
  }

  private void addLogEntry(Entry logEntry) {
    String logEntryName = logEntry.getName();
    Family family = ModelUtils
        .getFamilyForName(getFamilies(), logEntryName);
    if (family != null) {
      family.getLogEntries().push(logEntry);
    }
    sequenceEditorTableViewer.getInput().addLogEntry(logEntry);
    sequenceEditorTableViewer
        .setSelection(new StructuredSelection(logEntry));
    notifyLogEntryListeners();
View Full Code Here

Examples of com.dmissoh.biologic.models.Family

public class ModelUtils {

  public static void fillFamilies(List<Family> families, Sequence sequence) {
    for (Entry entry : sequence.getLogEntries()) {
      Family family = getFamilyForName(families, entry.getName());
      if (family != null) {
        family.getLogEntries().push(entry);
      }
    }
  }
View Full Code Here

Examples of com.dmissoh.biologic.models.Family

  public static List<Family> getFamiliesFromPreferences() {
    List<Family> families = new ArrayList<Family>();
    List<EventConfiguration> configs = BioLogicPreferences.getInstance()
        .loadPersistedValueVariables();
    for (EventConfiguration eventconfig : configs) {
      Family family = new Family(eventconfig.getName());
      family.setStartKey(eventconfig.getStartKey());
      family.setEndKey(eventconfig.getEndKey());
      family.setPunctual(eventconfig.isPunctual());
      families.add(family);
    }
    return families;
  }
View Full Code Here

Examples of com.dmissoh.biologic.models.Family

  }

  public static List<Family> spitIntoFamilies(Sequence sequence) {
    Map<String, Family> nameToFamilyMap = new HashMap<String, Family>();
    for (Entry entry : sequence.getLogEntries()) {
      Family family = nameToFamilyMap.get(entry.getName());
      if (family == null) {
        family = new Family(entry.getName());
        nameToFamilyMap.put(entry.getName(), family);
      }
      family.getLogEntries().push(entry);
    }
    return new ArrayList<Family>(nameToFamilyMap.values());
  }
View Full Code Here

Examples of de.chris_soft.fyllgen.data.Family

public class BigFamilyName implements Listener {
  /**
   * @see org.eclipse.swt.widgets.Listener#handleEvent(org.eclipse.swt.widgets.Event)
   */
  public void handleEvent(Event event) {
    Family family = Family.instance;
    Person currentPerson = family.getCurrentPerson();
    String fullName = currentPerson.getValueView(Person.NAME);
    int afterSpace = fullName.lastIndexOf(' ') + 1;
    fullName = fullName.substring(0, afterSpace) + fullName.substring(afterSpace).toUpperCase();
    currentPerson.setValue(Person.NAME, fullName);
    family.setChanged(true);
    family.setCurrentPerson(currentPerson, 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.