KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > nightlabs > editor2d > Editor2DFactory


1 /* *****************************************************************************
2  * NightLabs Editor2D - Graphical editor framework *
3  * Copyright (C) 2004-2005 NightLabs - http://NightLabs.org *
4  * *
5  * This library is free software; you can redistribute it and/or *
6  * modify it under the terms of the GNU Lesser General Public *
7  * License as published by the Free Software Foundation; either *
8  * version 2.1 of the License, or (at your option) any later version. *
9  * *
10  * This library is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
13  * Lesser General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU Lesser General Public *
16  * License along with this library; if not, write to the *
17  * Free Software Foundation, Inc., *
18  * 51 Franklin St, Fifth Floor, *
19  * Boston, MA 02110-1301 USA *
20  * *
21  * Or get it online : *
22  * http://www.gnu.org/copyleft/lesser.html *
23  * *
24  * *
25  ******************************************************************************/

26
27 package org.nightlabs.editor2d;
28
29
30 /**
31  * <!-- begin-user-doc -->
32  * The <b>Factory</b> for the model.
33  * It provides a create method for each non-abstract class of the model.
34  * <!-- end-user-doc -->
35  * @see org.nightlabs.editor2d.Editor2DPackage
36  * @generated
37  */

38 public interface Editor2DFactory {
39     /**
40      * The singleton instance of the factory.
41      * <!-- begin-user-doc -->
42    * <!-- end-user-doc -->
43      * @generated
44      */

45   Editor2DFactory eINSTANCE = new org.nightlabs.editor2d.impl.Editor2DFactoryImpl();
46
47     /**
48      * Returns a new object of class '<em>Draw Component</em>'.
49      * <!-- begin-user-doc -->
50    * <!-- end-user-doc -->
51      * @return a new object of class '<em>Draw Component</em>'.
52      * @generated
53      */

54   DrawComponent createDrawComponent();
55
56     /**
57      * Returns a new object of class '<em>Shape Draw Component</em>'.
58      * <!-- begin-user-doc -->
59    * <!-- end-user-doc -->
60      * @return a new object of class '<em>Shape Draw Component</em>'.
61      * @generated
62      */

63   ShapeDrawComponent createShapeDrawComponent();
64
65     /**
66      * Returns a new object of class '<em>Layer</em>'.
67      * <!-- begin-user-doc -->
68    * <!-- end-user-doc -->
69      * @return a new object of class '<em>Layer</em>'.
70      * @generated
71      */

72   Layer createLayer();
73
74     /**
75      * Returns a new object of class '<em>Multi Layer Draw Component</em>'.
76      * <!-- begin-user-doc -->
77    * <!-- end-user-doc -->
78      * @return a new object of class '<em>Multi Layer Draw Component</em>'.
79      * @generated
80      */

81   MultiLayerDrawComponent createMultiLayerDrawComponent();
82
83     /**
84      * Returns a new object of class '<em>Rectangle Draw Component</em>'.
85      * <!-- begin-user-doc -->
86    * <!-- end-user-doc -->
87      * @return a new object of class '<em>Rectangle Draw Component</em>'.
88      * @generated
89      */

90   RectangleDrawComponent createRectangleDrawComponent();
91
92     /**
93      * Returns a new object of class '<em>Ellipse Draw Component</em>'.
94      * <!-- begin-user-doc -->
95    * <!-- end-user-doc -->
96      * @return a new object of class '<em>Ellipse Draw Component</em>'.
97      * @generated
98      */

99   EllipseDrawComponent createEllipseDrawComponent();
100
101     /**
102      * Returns a new object of class '<em>Text Draw Component</em>'.
103      * <!-- begin-user-doc -->
104    * <!-- end-user-doc -->
105      * @return a new object of class '<em>Text Draw Component</em>'.
106      * @generated
107      */

108   TextDrawComponent createTextDrawComponent();
109
110     /**
111      * Returns a new object of class '<em>Draw Component Container</em>'.
112      * <!-- begin-user-doc -->
113    * <!-- end-user-doc -->
114      * @return a new object of class '<em>Draw Component Container</em>'.
115      * @generated
116      */

117   DrawComponentContainer createDrawComponentContainer();
118
119     /**
120      * Returns a new object of class '<em>Line Draw Component</em>'.
121      * <!-- begin-user-doc -->
122    * <!-- end-user-doc -->
123      * @return a new object of class '<em>Line Draw Component</em>'.
124      * @generated
125      */

126   LineDrawComponent createLineDrawComponent();
127
128     /**
129      * Returns a new object of class '<em>Editor Guide</em>'.
130      * <!-- begin-user-doc -->
131    * <!-- end-user-doc -->
132      * @return a new object of class '<em>Editor Guide</em>'.
133      * @generated
134      */

135   EditorGuide createEditorGuide();
136
137     /**
138      * Returns a new object of class '<em>Editor Ruler</em>'.
139      * <!-- begin-user-doc -->
140    * <!-- end-user-doc -->
141      * @return a new object of class '<em>Editor Ruler</em>'.
142      * @generated
143      */

144   EditorRuler createEditorRuler();
145
146     /**
147      * Returns a new object of class '<em>Image Draw Component</em>'.
148      * <!-- begin-user-doc -->
149    * <!-- end-user-doc -->
150      * @return a new object of class '<em>Image Draw Component</em>'.
151      * @generated
152      */

153   ImageDrawComponent createImageDrawComponent();
154
155 } //Editor2DFactory
156
Popular Tags