]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/FlagTextInfo.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.diagram / src / org / simantics / diagram / adapter / FlagTextInfo.java
index fb9fbb6a6375b434553da2eaaa3561c2e37b4fa4..84fde369aee5b6740109a1de0f86ee6b6dfc649f 100644 (file)
@@ -1,58 +1,58 @@
-/*******************************************************************************\r
- * Copyright (c) 2012 Association for Decentralized Information Management in\r
- * Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.diagram.adapter;\r
-\r
-import org.simantics.databoard.Bindings;\r
-import org.simantics.databoard.annotations.Optional;\r
-import org.simantics.databoard.binding.Binding;\r
-import org.simantics.databoard.util.Bean;\r
-import org.simantics.datatypes.literal.Font;\r
-import org.simantics.datatypes.literal.RGB;\r
-import org.simantics.g2d.utils.Alignment;\r
-\r
-/**\r
- * @author Teemu Mätäsniemi\r
- * @author Tuukka Lehtonen\r
- */\r
-public class FlagTextInfo extends Bean {\r
-\r
-    public static final Binding BINDING = Bindings.getBindingUnchecked(FlagTextInfo.class);\r
-\r
-    public String id;\r
-\r
-    @Optional\r
-    public Font font;\r
-    @Optional\r
-    public RGB.Integer color;\r
-    @Optional\r
-    public String text;\r
-\r
-    @Optional\r
-    public double[] transform;\r
-\r
-    public Alignment hAlignment;\r
-    public Alignment vAlignment;\r
-\r
-    public float width = -1.0f;\r
-    public float borderWidth = -1.0f;\r
-    public boolean wrapText = true;\r
-\r
-    @Optional\r
-    public RGB.Integer borderColor;\r
-    @Optional\r
-    public RGB.Integer backgroundColor;\r
-\r
-    public FlagTextInfo() {\r
-        super(BINDING);\r
-    }\r
-\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2012 Association for Decentralized Information Management in
+ * Industry THTH ry.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     VTT Technical Research Centre of Finland - initial API and implementation
+ *******************************************************************************/
+package org.simantics.diagram.adapter;
+
+import org.simantics.databoard.Bindings;
+import org.simantics.databoard.annotations.Optional;
+import org.simantics.databoard.binding.Binding;
+import org.simantics.databoard.util.Bean;
+import org.simantics.datatypes.literal.Font;
+import org.simantics.datatypes.literal.RGB;
+import org.simantics.g2d.utils.Alignment;
+
+/**
+ * @author Teemu Mätäsniemi
+ * @author Tuukka Lehtonen
+ */
+public class FlagTextInfo extends Bean {
+
+    public static final Binding BINDING = Bindings.getBindingUnchecked(FlagTextInfo.class);
+
+    public String id;
+
+    @Optional
+    public Font font;
+    @Optional
+    public RGB.Integer color;
+    @Optional
+    public String text;
+
+    @Optional
+    public double[] transform;
+
+    public Alignment hAlignment;
+    public Alignment vAlignment;
+
+    public float width = -1.0f;
+    public float borderWidth = -1.0f;
+    public boolean wrapText = true;
+
+    @Optional
+    public RGB.Integer borderColor;
+    @Optional
+    public RGB.Integer backgroundColor;
+
+    public FlagTextInfo() {
+        super(BINDING);
+    }
+
+}