package devopsdistilled.operp.client.business.sales.panes;

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

import devopsdistilled.operp.client.abstracts.EntityOperation;
import devopsdistilled.operp.client.abstracts.EntityPane;
import devopsdistilled.operp.client.business.sales.controllers.SaleDescRowController;
import devopsdistilled.operp.client.business.sales.panes.controllers.SaleDescRowPaneController;
import devopsdistilled.operp.client.business.sales.panes.models.observers.SaleDescRowPaneModelObserver;
import devopsdistilled.operp.server.data.entity.business.SaleDescRow;

public class SaleDescRowPane
		extends
		EntityPane<SaleDescRow, SaleDescRowController, SaleDescRowPaneController>
		implements SaleDescRowPaneModelObserver {

	private final JPanel pane;

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

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

	}

	@Override
	public SaleDescRowController getEntityController() {
		// TODO Auto-generated method stub
		return null;
	}

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

	@Override
	public void updateEntity(SaleDescRow entity, EntityOperation entityOperation) {
		// TODO Auto-generated method stub

	}

}

@@ -77,46 +77,201 @@
 ng.J
-Component;%0Aimport javax.swing.JPanel;%0A
+Button;%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
@@ -743,16 +743,76 @@
 DescRow;
+%0Aimport devopsdistilled.operp.server.data.entity.items.Item;
 %0A%0Apublic
@@ -997,57 +997,1243 @@
 ne;%0A
-%0A%09public SaleDescRowPane() %7B%0A%09%09pane = new JPanel(
+%09private final JTextField priceField;%0A%09private final JTextField quantityField;%0A%09private final JTextField amountField;%0A%09private final JComboBox%3CItem%3E comboBox;%0A%0A%09public SaleDescRowPane() %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 lblItem = new JLabel(%22Item%22);%0A%09%09pane.add(lblItem, %22cell 0 0,alignx trailing%22);%0A%0A%09%09comboBox = new JComboBox%3C%3E();%0A%09%09pane.add(comboBox, %22cell 1 0,growx%22);%0A%0A%09%09JLabel lblPrice = new JLabel(%22Price%22);%0A%09%09pane.add(lblPrice, %22cell 0 1,alignx trailing%22);%0A%0A%09%09priceField = new JTextField();%0A%09%09pane.add(priceField, %22cell 1 1,growx%22);%0A%09%09priceField.setColumns(10);%0A%0A%09%09JLabel lblQuantity = new JLabel(%22Quantity%22);%0A%09%09pane.add(lblQuantity, %22cell 0 2,alignx trailing%22);%0A%0A%09%09quantityField = new JTextField();%0A%09%09pane.add(quantityField, %22cell 1 2,growx%22);%0A%09%09quantityField.setColumns(10);%0A%0A%09%09JLabel lblAmount = new JLabel(%22Amount%22);%0A%09%09pane.add(lblAmount, %22cell 0 3,alignx trailing%22);%0A%0A%09%09amountField = new JTextField();%0A%09%09amountField.setEditable(false);%0A%09%09pane.add(amountField, %22cell 1 3,growx%22);%0A%09%09amountField.setColumns(10);%0A%0A%09%09JButton btnReset = new JButton(%22Reset%22);%0A%09%09pane.add(btnReset, %22flowx,cell 1 4%22);%0A%0A%09%09JButton btnOk = new JButton(%22OK%22);%0A%09%09pane.add(btnOk, %22cell 1 4%22
 );%0A%09

Create basic UI