KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > nightlabs > editor2d > edit > RectangleEditPart


1 /**
2  * <p> Project: com.nightlabs.editor2d </p>
3  * <p> Copyright: Copyright (c) 2004 </p>
4  * <p> Company: NightLabs GmbH (Germany) </p>
5  * <p> Creation Date: 08.12.2004 </p>
6  * <p> Author: Daniel Mazurek </p>
7 **/

8 package com.nightlabs.editor2d.edit;
9
10 import com.nightlabs.editor2d.ShapeDrawComponent;
11
12
13 public class RectangleEditPart
14 extends ShapeDrawComponentEditPart
15 {
16   /**
17    * @param drawComponent
18    */

19   public RectangleEditPart(ShapeDrawComponent drawComponent) {
20     super(drawComponent);
21   }
22
23 // /* (non-Javadoc)
24
// * @see org.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()
25
// */
26
// protected IFigure createFigure()
27
// {
28
// RectangleFigure rectangle = new RectangleFigure();
29
// setShapeProperties((RectangleDrawComponent)getModel(), rectangle);
30
// return rectangle;
31
// }
32
}
33
Popular Tags