package com.example.e4.rcp.todo.ui.parts;

import javax.annotation.PostConstruct;

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;

import com.example.e4.rcp.todo.model.ITodoModel;

public class TodoOverviewPart {
	// Declare a field label, required for @Focus
	Label label;

	@PostConstruct
	public void createControls(Composite parent, ITodoModel model) {
		System.out.println(model.getTodos().size());
		label = new Label(parent, SWT.NONE);
	}

}

@@ -99,235 +99,483 @@
 pse.
-swt.SWT;%0Aimport org.eclipse.swt.widgets.Composite;%0Aimport org.eclipse.swt.widgets.Label;%0A%0Aimport com.example.e4.rcp.todo.model.ITodoModel;%0A%0Apublic class TodoOverviewPart %7B%0A%09// Declare a field label, required for @Focus%0A%09
+e4.ui.di.Focus;%0Aimport org.eclipse.swt.SWT;%0Aimport org.eclipse.swt.layout.GridData;%0Aimport org.eclipse.swt.layout.GridLayout;%0Aimport org.eclipse.swt.widgets.Button;%0Aimport org.eclipse.swt.widgets.Composite;%0Aimport org.eclipse.swt.widgets.Label;%0A%0Aimport com.example.e4.rcp.todo.model.ITodoModel;%0Aimport org.eclipse.swt.events.SelectionAdapter;%0Aimport org.eclipse.swt.events.SelectionEvent;%0A%0Apublic class TodoOverviewPart %7B%0A%0A%09private Button btnNewButton;%0A%09private 
 Label l
+blNewL
 abel
@@ -712,47 +712,581 @@
 ;%0A%09%09
-label = new Label(parent, SWT.NONE);%0A%09%7D%0A
+parent.setLayout(new GridLayout(2, false));%0A%09%09%0A%09%09btnNewButton = new Button(parent, SWT.NONE);%0A%09%09btnNewButton.addSelectionListener(new SelectionAdapter() %7B%0A%09%09%09@Override%0A%09%09%09public void widgetSelected(SelectionEvent e) %7B%0A%09%09%09%09lblNewLabel.setText(%22Number of Todo items: 7%22);%0A%09%09%09%7D%0A%09%09%7D);%0A%09%09%0A%09%09btnNewButton.setText(%22Load Data%22);%0A%09%09%0A%09%09lblNewLabel = new Label(parent, SWT.NONE);%0A%09%09lblNewLabel.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));%0A%09%09lblNewLabel.setText(%22Number of Todo Items: 0%22);%0A%09%7D%0A%09%0A%09@Focus%0A%09private void setFocus() %7B%0A%09%09btnNewButton.setFocus();%0A%09%7D%0A%09
 %0A%7D%0A

Build the initial SWT user interface for TodoOverviewPart