]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.trend/src/org/simantics/trend/impl/TooltipNode.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.trend / src / org / simantics / trend / impl / TooltipNode.java
index 3813c2bf441ef1cefd9b709660300b3c278e25bc..fb65c2caf64d229517da78cbda4e58b4adf25e9b 100644 (file)
@@ -1,47 +1,47 @@
-/*******************************************************************************\r
- * Copyright (c) 2007, 2011 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.trend.impl;\r
-\r
-import java.awt.AlphaComposite;\r
-import java.awt.Color;\r
-import java.awt.Composite;\r
-import java.awt.Graphics2D;\r
-\r
-public class TooltipNode extends TrendGraphicalNode {\r
-\r
-    private static final long serialVersionUID = 8818424722082593562L;\r
-\r
-    public static final AlphaComposite composite = AlphaComposite.getInstance(AlphaComposite.SRC_OVER, .61f);\r
-       \r
-       public boolean visible = true;\r
-       public double time;\r
-       \r
-       @Override\r
-       protected void doRender(Graphics2D g) {\r
-               if ( !visible ) return;\r
-               \r
-               //double w = getWidth();\r
-               //double h = getHeight();\r
-               \r
-               Composite c = g.getComposite();\r
-               g.setComposite(composite);\r
-               try {\r
-                       g.setColor(Color.BLACK);\r
-                       g.fill( bounds );\r
-               } finally {\r
-                       g.setComposite(c);\r
-               }\r
-       }\r
-       \r
-       \r
-\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2007, 2011 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.trend.impl;
+
+import java.awt.AlphaComposite;
+import java.awt.Color;
+import java.awt.Composite;
+import java.awt.Graphics2D;
+
+public class TooltipNode extends TrendGraphicalNode {
+
+    private static final long serialVersionUID = 8818424722082593562L;
+
+    public static final AlphaComposite composite = AlphaComposite.getInstance(AlphaComposite.SRC_OVER, .61f);
+       
+       public boolean visible = true;
+       public double time;
+       
+       @Override
+       protected void doRender(Graphics2D g) {
+               if ( !visible ) return;
+               
+               //double w = getWidth();
+               //double h = getHeight();
+               
+               Composite c = g.getComposite();
+               g.setComposite(composite);
+               try {
+                       g.setColor(Color.BLACK);
+                       g.fill( bounds );
+               } finally {
+                       g.setComposite(c);
+               }
+       }
+       
+       
+
+}