ss: Move plugins to Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui.tests / widgetStubs / org / eclipse / linuxtools / tmf / ui / widgets / timegraph / test / stub / adaption / TsfImplProvider.java
index 101e8f3f078ffdaba2370af639728a3d84837c11..9e4170049d97efd8b4e5f0f9b452b9e1d0e80688 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2010 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -21,35 +21,34 @@ 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;
-       }
+    // ========================================================================
+    // 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");
-               }
+    @Override
+    public Map<String, String> getEventHoverToolTipInfo(ITimeEvent revent) {
+        Map<String, String> toolTipEventMsgs = new HashMap<>();
+        if (revent instanceof EventImpl) {
+            toolTipEventMsgs.put("Test Tip1", "Test Value tip1");
+            toolTipEventMsgs.put("Test Tip2", "Test Value tip2");
+        }
 
-               return toolTipEventMsgs;
-       }
+        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;
-       }
+    @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.029444 seconds and 5 git commands to generate.