/******************************************************************************* * Copyright (c) 2005, 2013 David Orme <djo@coconut-palm-software.com> and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * David Orme - Initial API and implementation * EclipseSource - ongoing development ******************************************************************************/ package org.eclipse.rap.demo.databinding.nestedselection; import java.util.LinkedList; public class SimpleModel { public SimpleModel() { // Add some sample data to our personList... personList.add( new SimplePerson( "John", "1234", "Wheaton", "IL" ) ); personList.add( new SimplePerson( "Jane", "1234", "Glen Ellyn", "IL" ) ); personList.add( new SimplePerson( "Frank", "1234", "Lombard", "IL" ) ); personList.add( new SimplePerson( "Joe", "1234", "Elmhurst", "IL" ) ); personList.add( new SimplePerson( "Chet", "1234", "Oak Lawn", "IL" ) ); personList.add( new SimplePerson( "Wilbur", "1234", "Austin", "IL" ) ); personList.add( new SimplePerson( "Elmo", "1234", "Chicago", "IL" ) ); } // Now a PersonList property... LinkedList<SimplePerson> personList = new LinkedList<SimplePerson>(); public LinkedList getPersonList() { return personList; } }