]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.g2d/src/org/simantics/g2d/elementclass/wheel/WheelClass.java
a36315698ce642203d25fc938c50f3f68c7ee477
[simantics/platform.git] / bundles / org.simantics.g2d / src / org / simantics / g2d / elementclass / wheel / WheelClass.java
1 /*******************************************************************************
2  * Copyright (c) 2007, 2010 Association for Decentralized Information Management
3  * in Industry THTH ry.
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  *     VTT Technical Research Centre of Finland - initial API and implementation
11  *******************************************************************************/
12 package org.simantics.g2d.elementclass.wheel;
13
14 import org.simantics.g2d.element.ElementClass;
15 import org.simantics.g2d.element.handler.Stateful;
16 import org.simantics.g2d.element.handler.impl.DefaultTransform;
17 import org.simantics.g2d.elementclass.PaintableSymbolHandler;
18 import org.simantics.g2d.image.DefaultImages;
19
20 /**
21  * @author Toni Kalajainen
22  */
23 public class WheelClass {
24
25         public static final ElementClass WHEEL = 
26                 ElementClass.compile(
27                                 // Pick missing
28                                 DefaultTransform.INSTANCE,
29                         new RotatorHandler(),
30                         new PaintableSymbolHandler(DefaultImages.WHEEL),
31                         Stateful.ENABLED_BY_DEFAULT                     
32                                 );
33         
34
35         
36 }