View Javadoc

1   /*
2    * @(#) PaymentDialog.java Nov 24, 2004
3    * 
4    * 
5    * Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
6    * Delft, the Netherlands. All rights reserved.
7    * 
8    * See for project information <a href="http://www.simulation.tudelft.nl/">
9    * www.simulation.tudelft.nl </a>.
10   * 
11   * The source code and binary code of this software is proprietary information
12   * of Delft University of Technology.
13   */
14  package org.gscg.gameleader.dialogs.content;
15  
16  import nl.tudelft.simulation.supplychain.content.Payment;
17  
18  import org.gscg.gameleader.dialogs.components.AbstractDialog;
19  import org.gscg.gameleader.dialogs.content.components.BillContentPanel;
20  import org.gscg.gameleader.dialogs.content.components.OrderBasedOnQuoteContentPanel;
21  import org.gscg.gameleader.dialogs.content.components.PaymentContentPanel;
22  import org.gscg.gameleader.dialogs.content.components.QuoteContentPanel;
23  import org.gscg.gameleader.dialogs.content.components.RequestForQuoteContentPanel;
24  
25  /***
26   * The PaymentDialog is used to show the contents of a payment, and the
27   * corresponding bill, order, quote and request for quote.
28   * <p>
29   * 
30   * Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
31   * Delft, the Netherlands. All rights reserved.
32   * 
33   * See for project information <a href="http://www.simulation.tudelft.nl/">
34   * www.simulation.tudelft.nl </a>.
35   * 
36   * The source code and binary code of this software is proprietary information
37   * of Delft University of Technology.
38   * 
39   * @author <a
40   *         href="http://www.tbm.tudelft.nl/webstaf/stijnh/index.htm">Stijn-Pieter
41   *         van Houten </a>
42   * @version $Revision: 1.1 $ $Date: 2005/06/16 12:34:01 $
43   * @since 1.0.7
44   */
45  public class PaymentDialog extends AbstractDialog
46  {
47  	/*** the content class this panel supports */
48  	public static final Class CLAZZ = Payment.class;
49  
50  	/***
51  	 * constructs a new PaymentDialog
52  	 */
53  	public PaymentDialog()
54  	{
55  		super();
56  		super.panels.add(PaymentContentPanel.class.getName());
57  		super.panels.add(BillContentPanel.class.getName());
58  		super.panels.add(OrderBasedOnQuoteContentPanel.class.getName());
59  		super.panels.add(QuoteContentPanel.class.getName());
60  		super.panels.add(RequestForQuoteContentPanel.class.getName());
61  	}
62  }