package org.fedorahosted.flies.webtrans.client;

import com.allen_sauer.gwt.log.client.Log;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HasWidgets;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;

public class WestNavigationView extends Composite implements
		WestNavigationPresenter.Display {

	final VerticalPanel panel;
	
	public WestNavigationView() {
		Log.info("setting up LeftNavigationView");
		panel = new VerticalPanel();
		panel.setHorizontalAlignment(VerticalPanel.ALIGN_CENTER);
		panel.setVerticalAlignment(VerticalPanel.ALIGN_TOP);
		panel.setSpacing(5);
		panel.setStylePrimaryName("LeftContentNavBar");
		initWidget(panel);
		panel.setWidth("220px");
	}

	@Override
	public void setHeight(String height) {
		panel.setHeight(height);
	}

	@Override
	public Widget asWidget() {
		return this;
	}

	@Override
	public void startProcessing() {
		// TODO Auto-generated method stub

	}

	@Override
	public void stopProcessing() {
		// TODO Auto-generated method stub
	}

	@Override
	public HasWidgets getWidgets() {
		return panel;
	}

}

@@ -133,16 +133,64 @@
 posite;%0A
+import com.google.gwt.user.client.ui.FlowPanel;%0A
 import c
@@ -230,16 +230,16 @@
 idgets;%0A
-
 import c
@@ -433,24 +433,20 @@
 %0A%09final 
-Vertical
+Flow
 Panel pa
@@ -546,160 +546,18 @@
 new 
-VerticalPanel();%0A%09%09panel.setHorizontalAlignment(VerticalPanel.ALIGN_CENTER);%0A%09%09panel.setVerticalAlignment(VerticalPanel.ALIGN_TOP);%0A%09%09panel.setSpacing(5
+FlowPanel(
 );%0A%09

change left panel to a flow-panel for now