KickJava   Java API By Example, From Geeks To Geeks.

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


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.SingleTypeSelection;
10
11 /**
12  *
13  */

14 public class SingleSelectionDE extends DesignElementAttribute {
15
16     public DesignDefinition detail() {
17         return new SingleTypeSelection("Select", this);
18     }
19     
20     public ElementWrapper[] elements() {
21         return childElements();
22     }
23     
24 }
25
Popular Tags