/[xulu]/branches/1.8-gt2-2.6/defaults/plugin/GeoModelCodeGenerator/ModelContentManager.tpl
ViewVC logotype

Contents of /branches/1.8-gt2-2.6/defaults/plugin/GeoModelCodeGenerator/ModelContentManager.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations)
Wed Feb 25 11:54:01 2009 UTC (15 years, 9 months ago) by mojays
Original Path: trunk/defaults/plugin/GeoModelCodeGenerator/ModelContentManager.tpl
File size: 933 byte(s)
First Commit, corresponds to Revision 1008 of Wikisquare-SVN 
1 package $FIELD(Package);
2
3 $LOOP(ClassImport)
4 import $FIELD(ClassImport);
5 $ENDLOOP()
6
7 /**
8 * Diese Klasse definiert und verwaltet die $FIELD(ResourceCount)
9 * Ressourcen fuer das Modell {@linkplain $FIELD(ModelName)}
10 * und prueft diese auf Korrektheit.<br>
11 * Die Art der benoetigten Ressourcen ist der {@linkplain $FIELD(ModelName)}-Doku
12 * zu entnehmen.
13 * @see ClueModelContentManager
14 * @author automatisch generiert durch {@link edu.bonn.xulu.plugin.appl.GeoModelCodeGenerator}
15 * @version 1.0
16 */
17 public class $FIELD(ModelCMName) extends $FIELD(ModelCMSuperClass) {
18
19 /**
20 * Erzeugt einen neuen ContentManager fuer das Modell {@linkplain $FIELD(ModelName)}.
21 */
22 public $FIELD(ModelCMName)() {
23 super($FIELD(ResourceCount));
24 // ===== Ressourcen festlegen =====
25 $LOOP(Resources)
26 // $FIELD(ResourceDesc)
27 resource[$FIELD(ResourceNo)] = $FIELD(ResourceDefinition);
28 $ENDLOOP() }
29 }

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26