Commits

Alireza Savand committed 675338c

import the new form|list to the main applicaton

  • Participants
  • Parent commits 1871b1e

Comments (0)

Files changed (1)

File src/com/example/advanceaddressbook/AdvanceAddressBookApplication.java

 
 import com.example.advanceaddressbook.ui.ListView;
 import com.example.advanceaddressbook.ui.NavigationTree;
+import com.example.advanceaddressbook.ui.PersonForm;
+import com.example.advanceaddressbook.ui.PersonList;
 import com.vaadin.Application;
 import com.vaadin.ui.*;
 
 	private HorizontalSplitPanel horizontalSplit = new HorizontalSplitPanel();
 	private NavigationTree tree = new NavigationTree();
 	private ListView listView = null;
+	private PersonList personList = null;
+	private PersonForm personForm = null;
 	
 	@Override
 	public void init() {
 	
 	private ListView getListView() {
 		if (listView == null) {
-			listView = new ListView();
+			personList = new PersonList();
+			personForm = new PersonForm();
+			listView = new ListView(personList, personForm);
 		}
 		return listView;
 	}