/[xulu]/trunk/src/appl/plugin/multimodelcontrol/ModelListObject.java
ViewVC logotype

Annotation of /trunk/src/appl/plugin/multimodelcontrol/ModelListObject.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations)
Wed Feb 25 11:54:01 2009 UTC (15 years, 9 months ago) by mojays
File size: 1172 byte(s)
First Commit, corresponds to Revision 1008 of Wikisquare-SVN 
1 mojays 2 package appl.plugin.multimodelcontrol;
2    
3     import edu.bonn.xulu.gui.ModelControlFrame;
4     import edu.bonn.xulu.model.XuluModel;
5    
6     /**
7     * Simple container class that encapulates the data stored a model list (GUI Component)
8     *
9     * @author Dominik Appl
10     */
11     public class ModelListObject {
12    
13     private final ModelControlFrame frame;
14     private final XuluModel model;
15     private final String name;
16    
17     /**
18     *
19     * @param frame modelcontrolframe responsible for the model
20     * @param model the model
21     * @param name name of the model
22     */
23     public ModelListObject(ModelControlFrame frame, XuluModel model, String name) {
24     this.frame = frame;
25     // TODO Auto-generated constructor stub
26     this.model = model;
27     this.name = name;
28     }
29    
30     /**
31     * @return the frame
32     */
33     public ModelControlFrame getFrame() {
34     return frame;
35     }
36    
37     /**
38     * @return the model
39     */
40     public XuluModel getModel() {
41     return model;
42     }
43    
44     /**
45     * @return the name
46     */
47     public String getName() {
48     return name;
49     }
50    
51     /* (non-Javadoc)
52     * @see java.lang.Object#toString()
53     */
54     public String toString(){
55     return name;}
56    
57    
58     }

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26