package devopsdistilled.operp.client.items.panes;

import java.util.List;

import javax.swing.JComponent;
import javax.swing.JPanel;

import devopsdistilled.operp.client.abstracts.SubTaskPane;
import devopsdistilled.operp.client.items.models.observers.ManufacturerModelObserver;
import devopsdistilled.operp.client.items.panes.models.observers.EditBrandPaneModelObserver;
import devopsdistilled.operp.server.data.entity.items.Brand;
import devopsdistilled.operp.server.data.entity.items.Manufacturer;

public class EditBrandPane extends SubTaskPane implements
		EditBrandPaneModelObserver, ManufacturerModelObserver {

	private final JPanel pane;

	public EditBrandPane() {
		pane = new JPanel();
	}

	@Override
	public JComponent getPane() {
		return pane;
	}

	@Override
	public void updateEntity(Brand brand) {
		// TODO Auto-generated method stub

	}

	@Override
	public void updateManufacturers(List<Manufacturer> manufacturers) {
		// TODO Auto-generated method stub

	}

}

@@ -60,78 +60,306 @@
 ava.
-util.List;%0A%0Aimport javax.swing.JComponent;%0Aimport javax.swing.JPanel;%0A
+awt.event.ActionEvent;%0Aimport java.awt.event.ActionListener;%0Aimport java.util.List;%0A%0Aimport javax.swing.JButton;%0Aimport javax.swing.JComboBox;%0Aimport javax.swing.JComponent;%0Aimport javax.swing.JLabel;%0Aimport javax.swing.JPanel;%0Aimport javax.swing.JTextField;%0A%0Aimport net.miginfocom.swing.MigLayout;
 %0Aimp
@@ -872,55 +872,1350 @@
 ne;%0A
-%0A%09public EditBrandPane() %7B%0A%09%09pane = new JPanel(
+%09private final JTextField brandIdField;%0A%09private final JTextField brandNameField;%0A%09private final JComboBox%3CManufacturer%3E manufacturersCombo;%0A%0A%09public EditBrandPane() %7B%0A%09%09pane = new JPanel();%0A%09%09pane.setLayout(new MigLayout(%22%22, %22%5B%5D%5Bgrow%5D%22, %22%5B%5D%5B%5D%5B%5D%5B%5D%5B%5D%22));%0A%0A%09%09JLabel lblBrandId = new JLabel(%22Brand ID%22);%0A%09%09pane.add(lblBrandId, %22cell 0 0,alignx trailing%22);%0A%0A%09%09brandIdField = new JTextField();%0A%09%09brandIdField.setEditable(false);%0A%09%09pane.add(brandIdField, %22cell 1 0,growx%22);%0A%09%09brandIdField.setColumns(10);%0A%0A%09%09JLabel lblBrandName = new JLabel(%22Brand Name%22);%0A%09%09pane.add(lblBrandName, %22cell 0 1,alignx trailing%22);%0A%0A%09%09brandNameField = new JTextField();%0A%09%09pane.add(brandNameField, %22cell 1 1,growx%22);%0A%09%09brandNameField.setColumns(10);%0A%0A%09%09JLabel lblManufacturer = new JLabel(%22Manufacturer%22);%0A%09%09pane.add(lblManufacturer, %22cell 0 2,alignx trailing%22);%0A%0A%09%09manufacturersCombo = new JComboBox%3C%3E();%0A%09%09pane.add(manufacturersCombo, %22cell 1 2,growx%22);%0A%0A%09%09JButton btnCancel = new JButton(%22Cancel%22);%0A%09%09btnCancel.addActionListener(new ActionListener() %7B%0A%09%09%09@Override%0A%09%09%09public void actionPerformed(ActionEvent e) %7B%0A%09%09%09%7D%0A%09%09%7D);%0A%09%09pane.add(btnCancel, %22flowx,cell 1 4%22);%0A%0A%09%09JButton btnUpdate = new JButton(%22Update%22);%0A%09%09btnUpdate.addActionListener(new ActionListener() %7B%0A%09%09%09@Override%0A%09%09%09public void actionPerformed(ActionEvent e) %7B%0A%09%09%09%7D%0A%09%09%7D);%0A%09%09pane.add(btnUpdate, %22cell 1 4%22
 );%0A%09

Create basic edit pane layout