]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scenegraph.swing/src/org/simantics/scenegraph/swing/JListSG.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.scenegraph.swing / src / org / simantics / scenegraph / swing / JListSG.java
index 7fd4bc4ead24d576618d293d9d5e12f5c7c4e777..ce6700aded158120a0c33562861a126a21fd4712 100644 (file)
@@ -1,41 +1,41 @@
-package org.simantics.scenegraph.swing;\r
-\r
-import java.awt.AWTEvent;\r
-import java.awt.Point;\r
-\r
-import javax.swing.JComponent;\r
-import javax.swing.JList;\r
-\r
-import org.simantics.scenegraph.INode;\r
-\r
-public class JListSG extends JList implements JComponentSG {\r
-\r
-       private static final long serialVersionUID = 3883052650752301256L;\r
-       \r
-       final private INode node;\r
-\r
-       JListSG(INode node) {\r
-               this.node = node;\r
-       }\r
-       \r
-       @Override\r
-       public boolean contains(int eventX, int eventY) {\r
-               return JComponentUtils.contains(eventX, eventY, this, node);\r
-       }\r
-       \r
-       @Override\r
-       public boolean containsTransformed(Point p) {\r
-               return super.contains(p.x, p.y);\r
-       }\r
-       \r
-       @Override\r
-       public JComponent getComponent() {\r
-               return this;\r
-       }\r
-       \r
-       @Override\r
-       protected void processEvent(AWTEvent e) {\r
-               super.processEvent(JComponentUtils.relocate(e, this, node));\r
-       }\r
-       \r
-}\r
+package org.simantics.scenegraph.swing;
+
+import java.awt.AWTEvent;
+import java.awt.Point;
+
+import javax.swing.JComponent;
+import javax.swing.JList;
+
+import org.simantics.scenegraph.INode;
+
+public class JListSG extends JList implements JComponentSG {
+
+       private static final long serialVersionUID = 3883052650752301256L;
+       
+       final private INode node;
+
+       JListSG(INode node) {
+               this.node = node;
+       }
+       
+       @Override
+       public boolean contains(int eventX, int eventY) {
+               return JComponentUtils.contains(eventX, eventY, this, node);
+       }
+       
+       @Override
+       public boolean containsTransformed(Point p) {
+               return super.contains(p.x, p.y);
+       }
+       
+       @Override
+       public JComponent getComponent() {
+               return this;
+       }
+       
+       @Override
+       protected void processEvent(AWTEvent e) {
+               super.processEvent(JComponentUtils.relocate(e, this, node));
+       }
+       
+}