KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > oddjob > designer > elements > MapDE


1 /*
2  * (c) Rob Gordon 2005.
3  */

4 package org.oddjob.designer.elements;
5
6 import org.oddjob.designer.arooa.ElementWrapper;
7 import org.oddjob.designer.model.DesignDefinition;
8 import org.oddjob.designer.model.DesignElementAttribute;
9 import org.oddjob.designer.model.MultiTypeTable;
10
11 /**
12  *
13  */

14 public class MapDE extends DesignElementAttribute {
15     
16     public DesignDefinition detail() {
17         return new MultiTypeTable("Named Values", this)
18                 .setNamed(true);
19     }
20     
21     public ElementWrapper[] elements() {
22         return childElements();
23     }
24     
25 }
26
Popular Tags