View Javadoc

1   /*
2    * @(#) AbstractDialog.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.components;
15  
16  import java.util.ArrayList;
17  import java.util.List;
18  
19  /***
20   * <p>
21   * 
22   * Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
23   * Delft, the Netherlands. All rights reserved.
24   * 
25   * See for project information <a href="http://www.simulation.tudelft.nl/">
26   * www.simulation.tudelft.nl </a>.
27   * 
28   * The source code and binary code of this software is proprietary information
29   * of Delft University of Technology.
30   * 
31   * @author <a
32   *         href="http://www.tbm.tudelft.nl/webstaf/stijnh/index.htm">Stijn-Pieter
33   *         van Houten </a>
34   * @version $Revision: 1.1 $ $Date: 2005/06/16 12:34:09 $
35   * @since 1.0.3
36   */
37  public abstract class AbstractDialog implements DialogInterface
38  {
39  	/*** the list with panels */
40  	protected List panels = null;
41  
42  	/***
43  	 * constructs a new AbstractDialog
44  	 */
45  	public AbstractDialog()
46  	{
47  		super();
48  		this.panels = new ArrayList();
49  	}
50  
51  	/***
52  	 * @see org.gscg.gameleader.dialogs.components.DialogInterface#getPanelClassNames()
53  	 */
54  	public String[] getPanelClassNames()
55  	{
56  		return (String[]) this.panels.toArray(new String[this.panels.size()]);
57  	}
58  }