tmf: Update copyright headers in tmf.ui
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui.tests / widgetStubs / org / eclipse / linuxtools / tmf / ui / tests / uml2sd / load / TestLoaders.java
index d399c88a76261761f50cf075f223ffa0ab3d8e16..296a06130d74d8ae3749305fade2c9ab0b83a93a 100644 (file)
@@ -1,3 +1,14 @@
+/*******************************************************************************
+ * Copyright (c) 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 accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     Bernd Hufmann - Initial API and implementation
+ *******************************************************************************/
+
 package org.eclipse.linuxtools.tmf.ui.tests.uml2sd.load;
 
 import java.net.URL;
@@ -8,7 +19,7 @@ import org.eclipse.jface.action.Action;
 import org.eclipse.jface.resource.ImageDescriptor;
 import org.eclipse.jface.viewers.ISelection;
 import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.linuxtools.tmf.core.event.TmfTimestamp;
+import org.eclipse.linuxtools.tmf.core.timestamp.TmfTimestamp;
 import org.eclipse.linuxtools.tmf.ui.views.uml2sd.SDView;
 import org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.AsyncMessageReturn;
 import org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BasicExecutionOccurrence;
@@ -35,9 +46,10 @@ import org.eclipse.ui.ISelectionListener;
 import org.eclipse.ui.IWorkbenchPart;
 import org.eclipse.ui.PlatformUI;
 
-// Referenced classes of package org.eclipse.hyades.uml2sd.ztest:
-//            OpenToolBox
-
+/**
+ * Test loader class.
+ */
+@SuppressWarnings("javadoc")
 public class TestLoaders implements IUml2SDLoader, ISDFindProvider, ISDFilterProvider, ISDPagingProvider, ISelectionListener {
 
     public SDView v;
@@ -52,6 +64,7 @@ public class TestLoaders implements IUml2SDLoader, ISDFindProvider, ISDFilterPro
         this(""); //$NON-NLS-1$
     }
 
+    @SuppressWarnings("unused")
     public TestLoaders(String name) {
         page = 1;
     }
@@ -437,12 +450,12 @@ public class TestLoaders implements IUml2SDLoader, ISDFindProvider, ISDFilterPro
 
         @SuppressWarnings("nls")
         public Image getResourceImage(String _name) {
-            ImageDescriptor img;
+            ImageDescriptor imgage;
             try {
                 URL BASIC_URL = new URL("platform", "localhost", "plugin");
                 URL url = new URL(BASIC_URL, (new StringBuilder("plugin/org.eclipse.linuxtools.tmf.ui/icons/")).append(_name).toString());
-                img = ImageDescriptor.createFromURL(url);
-                return img.createImage();
+                imgage = ImageDescriptor.createFromURL(url);
+                return imgage.createImage();
             } catch (Exception e) {
                 System.err.println(e);
             }
This page took 0.024374 seconds and 5 git commands to generate.