View Javadoc

1   package org.devaki.nextobjects.workspace.models.objects;
2   /*
3   
4   nextobjects Copyright (C) 2001-2005 Emmanuel Florent
5   
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by the
8   Free Software Foundation; either version 2 of the License, or (at your
9   option) any later version.
10  
11  This program is distributed in the hope that it will
12  be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
13  of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the GNU General Public License for more details.
15  
16  You should have received a copy of the GNU General Public License along
17  with this program; if not, write to the Free Software Foundation, Inc., 59
18  Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19  
20  */
21  import org.devaki.nextobjects.workspace.models.BaseModel;
22  import org.devaki.nextobjects.workspace.models.graphics.ObjectView;
23  import org.devaki.nextobjects.workspace.models.graphics.ModelTitleView;
24  /***
25   * ModelTitleView
26   * @author <a href="mailto:eflorent@devaki.org">Emmanuel Florent</a>
27   */
28  public class ModelTitle extends BaseClass
29  {
30      /***
31       * The model title view
32       */
33      private ModelTitleView modelTitleView;
34      /***
35       * constructor
36       * @param pModel the associated base model
37       */
38      public ModelTitle(final BaseModel pModel)
39      {
40          super(pModel);
41          modelTitleView = new ModelTitleView(this);
42      }
43      /***
44       * get the model title view
45       * @return modelTitleViewView
46       */
47      public final ObjectView getObjectView()
48      {
49          return modelTitleView;
50      }
51  }