]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.template2d.ui/src/org/simantics/modeling/template2d/ui/function/FlagTableColumnInfo.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.modeling.template2d.ui / src / org / simantics / modeling / template2d / ui / function / FlagTableColumnInfo.java
index 58a53bd1ac10323da4e695a75bbd4dc96ef84736..46a7c7a778673e298d74f83e80b2a3a7d4cfc1a5 100644 (file)
@@ -1,76 +1,76 @@
-/*******************************************************************************\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.modeling.template2d.ui.function;\r
-\r
-import java.util.ArrayList;\r
-import java.util.List;\r
-\r
-import org.simantics.databoard.annotations.Identifier;\r
-import org.simantics.databoard.annotations.Optional;\r
-import org.simantics.databoard.util.Bean;\r
-\r
-public class FlagTableColumnInfo extends Bean {\r
-    public static final Integer TYPE_NORMAL        = 0;\r
-    public static final Integer TYPE_ROW_NUMBERING = 1;\r
-       \r
-       private Float weight = 0.0F;\r
-       private Integer type = TYPE_NORMAL;\r
-\r
-       /**\r
-        * Numbering start offset for RowNumberColumns.\r
-        */\r
-       @Optional\r
-       private Integer startOffset;\r
-\r
-       @Identifier\r
-       public List<MonitorInfo> columnDatas = new ArrayList<MonitorInfo>();\r
-       @Identifier\r
-       public List<MonitorInfo> columnHeaders = new ArrayList<MonitorInfo>();\r
-\r
-       public void addColumnData(MonitorInfo columnData){\r
-               columnDatas.add(columnData);\r
-       }\r
-\r
-       public void addColumnHeader(MonitorInfo columnData){\r
-               columnHeaders.add(columnData);\r
-       }\r
-\r
-       public Float getWeight() {\r
-               return weight;\r
-       }\r
-\r
-       public void setWeight(Float weight) {\r
-               this.weight = weight;\r
-       }\r
-\r
-       public FlagTableColumnInfo(Float weight){\r
-               this.weight = weight;\r
-               \r
-       }\r
-\r
-       public Integer getType() {\r
-               return type;\r
-       }\r
-\r
-       public void setType(Integer type) {\r
-               this.type = type;\r
-       }\r
-\r
-       public Integer getStartOffset() {\r
-               return startOffset;\r
-       }\r
-\r
-       public void setStartOffset(Integer startOffset) {\r
-               this.startOffset = startOffset;\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.modeling.template2d.ui.function;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.simantics.databoard.annotations.Identifier;
+import org.simantics.databoard.annotations.Optional;
+import org.simantics.databoard.util.Bean;
+
+public class FlagTableColumnInfo extends Bean {
+    public static final Integer TYPE_NORMAL        = 0;
+    public static final Integer TYPE_ROW_NUMBERING = 1;
+       
+       private Float weight = 0.0F;
+       private Integer type = TYPE_NORMAL;
+
+       /**
+        * Numbering start offset for RowNumberColumns.
+        */
+       @Optional
+       private Integer startOffset;
+
+       @Identifier
+       public List<MonitorInfo> columnDatas = new ArrayList<MonitorInfo>();
+       @Identifier
+       public List<MonitorInfo> columnHeaders = new ArrayList<MonitorInfo>();
+
+       public void addColumnData(MonitorInfo columnData){
+               columnDatas.add(columnData);
+       }
+
+       public void addColumnHeader(MonitorInfo columnData){
+               columnHeaders.add(columnData);
+       }
+
+       public Float getWeight() {
+               return weight;
+       }
+
+       public void setWeight(Float weight) {
+               this.weight = weight;
+       }
+
+       public FlagTableColumnInfo(Float weight){
+               this.weight = weight;
+               
+       }
+
+       public Integer getType() {
+               return type;
+       }
+
+       public void setType(Integer type) {
+               this.type = type;
+       }
+
+       public Integer getStartOffset() {
+               return startOffset;
+       }
+
+       public void setStartOffset(Integer startOffset) {
+               this.startOffset = startOffset;
+       }
+
+}