Merge branch 'master' into lttng-kepler
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui.tests / widgetStubs / org / eclipse / linuxtools / tmf / ui / widgets / timegraph / test / stub / adaption / TsfImplProvider.java
index 2672ec0feb8117c25429c0c41ec9813ec362dcfd..101e8f3f078ffdaba2370af639728a3d84837c11 100644 (file)
@@ -1,55 +1,55 @@
-/*******************************************************************************\r
- * Copyright (c) 2009, 2010 Ericsson\r
- *\r
- * All rights reserved. This program and the accompanying materials are\r
- * made available under the terms of the Eclipse Public License v1.0 which\r
- * accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *   Alvaro Sanchez-Leon (alvsan09@gmail.com) - Initial API and implementation\r
- *******************************************************************************/\r
-package org.eclipse.linuxtools.tmf.ui.widgets.timegraph.test.stub.adaption;\r
-\r
-import java.util.HashMap;\r
-import java.util.Map;\r
-\r
-import org.eclipse.linuxtools.tmf.ui.widgets.timegraph.TimeGraphPresentationProvider;\r
-import org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model.ITimeEvent;\r
-import org.eclipse.linuxtools.tmf.ui.widgets.timegraph.test.stub.model.EventImpl;\r
-\r
-/**\r
- * Time Graph Presentation Provider Stub.\r
- */\r
-@SuppressWarnings("nls")\r
-public class TsfImplProvider extends TimeGraphPresentationProvider {\r
-\r
-       // ========================================================================\r
-       // Methods\r
-       // ========================================================================\r
-       @Override\r
-       public int getStateTableIndex(ITimeEvent event) {\r
-           return 0;\r
-       }\r
-\r
-       @Override\r
-       public Map<String, String> getEventHoverToolTipInfo(ITimeEvent revent) {\r
-               Map<String, String> toolTipEventMsgs = new HashMap<String, String>();\r
-               if (revent instanceof EventImpl) {\r
-                       toolTipEventMsgs.put("Test Tip1", "Test Value tip1");\r
-                       toolTipEventMsgs.put("Test Tip2", "Test Value tip2");\r
-               }\r
-\r
-               return toolTipEventMsgs;\r
-       }\r
-\r
-       @Override\r
-       public String getEventName(ITimeEvent event) {\r
-               String name = "Unknown";\r
-               if (event instanceof EventImpl) {\r
-                       EventImpl devent = (EventImpl) event;\r
-                       name = devent.getType().toString();\r
-               }\r
-               return name;\r
-       }\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2009, 2010 Ericsson
+ *
+ * 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:
+ *   Alvaro Sanchez-Leon (alvsan09@gmail.com) - Initial API and implementation
+ *******************************************************************************/
+package org.eclipse.linuxtools.tmf.ui.widgets.timegraph.test.stub.adaption;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.eclipse.linuxtools.tmf.ui.widgets.timegraph.TimeGraphPresentationProvider;
+import org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model.ITimeEvent;
+import org.eclipse.linuxtools.tmf.ui.widgets.timegraph.test.stub.model.EventImpl;
+
+/**
+ * Time Graph Presentation Provider Stub.
+ */
+@SuppressWarnings("nls")
+public class TsfImplProvider extends TimeGraphPresentationProvider {
+
+       // ========================================================================
+       // Methods
+       // ========================================================================
+       @Override
+       public int getStateTableIndex(ITimeEvent event) {
+           return 0;
+       }
+
+       @Override
+       public Map<String, String> getEventHoverToolTipInfo(ITimeEvent revent) {
+               Map<String, String> toolTipEventMsgs = new HashMap<String, String>();
+               if (revent instanceof EventImpl) {
+                       toolTipEventMsgs.put("Test Tip1", "Test Value tip1");
+                       toolTipEventMsgs.put("Test Tip2", "Test Value tip2");
+               }
+
+               return toolTipEventMsgs;
+       }
+
+       @Override
+       public String getEventName(ITimeEvent event) {
+               String name = "Unknown";
+               if (event instanceof EventImpl) {
+                       EventImpl devent = (EventImpl) event;
+                       name = devent.getType().toString();
+               }
+               return name;
+       }
+}
This page took 0.030016 seconds and 5 git commands to generate.