]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.g2d/src/org/simantics/g2d/diagram/handler/impl/DiagramIssue.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.g2d / src / org / simantics / g2d / diagram / handler / impl / DiagramIssue.java
index 6e10a0ac876f42986f8c41c51acf10ab3d0a27c6..6f17f0de4e3844cfb137ff60fcd148aa1ff976bc 100644 (file)
@@ -1,48 +1,48 @@
-/*******************************************************************************\r
- * Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
- * in 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.g2d.diagram.handler.impl;\r
-\r
-import java.util.Collection;\r
-\r
-import org.simantics.g2d.canvas.ICanvasContext;\r
-import org.simantics.g2d.diagram.IDiagram;\r
-import org.simantics.g2d.diagram.handler.Validator.Issue;\r
-import org.simantics.g2d.diagram.handler.Validator.Suggestion;\r
-\r
-/**\r
- * Default implementation to diagram Issue\r
- * @See {@link Issue}\r
- * @author Toni Kalajainen\r
- */\r
-public class DiagramIssue implements Issue {\r
-\r
-       String msg;\r
-       Suggestion[] suggestions;\r
-       \r
-       public DiagramIssue(String msg, Suggestion ... suggestions)\r
-       {\r
-               this.msg = msg;\r
-               this.suggestions = suggestions;\r
-       }\r
-\r
-       @Override\r
-       public void addSuggestions(IDiagram d, ICanvasContext ctx, Collection<Suggestion> suggestionList) {\r
-               for (Suggestion s : suggestions)\r
-                       suggestionList.add(s);\r
-       }\r
-\r
-       @Override\r
-       public String getMessage(IDiagram d, ICanvasContext ctx) {\r
-               return msg;\r
-       }\r
-       \r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2007, 2010 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.g2d.diagram.handler.impl;
+
+import java.util.Collection;
+
+import org.simantics.g2d.canvas.ICanvasContext;
+import org.simantics.g2d.diagram.IDiagram;
+import org.simantics.g2d.diagram.handler.Validator.Issue;
+import org.simantics.g2d.diagram.handler.Validator.Suggestion;
+
+/**
+ * Default implementation to diagram Issue
+ * @See {@link Issue}
+ * @author Toni Kalajainen
+ */
+public class DiagramIssue implements Issue {
+
+       String msg;
+       Suggestion[] suggestions;
+       
+       public DiagramIssue(String msg, Suggestion ... suggestions)
+       {
+               this.msg = msg;
+               this.suggestions = suggestions;
+       }
+
+       @Override
+       public void addSuggestions(IDiagram d, ICanvasContext ctx, Collection<Suggestion> suggestionList) {
+               for (Suggestion s : suggestions)
+                       suggestionList.add(s);
+       }
+
+       @Override
+       public String getMessage(IDiagram d, ICanvasContext ctx) {
+               return msg;
+       }
+       
+}