Fix static analysis warnings for UML2SD
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / uml2sd / handlers / FirstPage.java
index 535faae8eb85f50eadb5d44f627ca5a75b455a71..d52fd8f62d9cdf4ab5c9bef5beaae5d66578b250 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2011 Ericsson
+ * Copyright (c) 2011, 2012 Ericsson
  * 
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
 package org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers;
 
 import org.eclipse.jface.action.Action;
-import org.eclipse.linuxtools.tmf.ui.ITmfImageConstants;
-import org.eclipse.linuxtools.tmf.ui.TmfUiPlugin;
+import org.eclipse.linuxtools.internal.tmf.ui.ITmfImageConstants;
+import org.eclipse.linuxtools.internal.tmf.ui.TmfUiPlugin;
 import org.eclipse.linuxtools.tmf.ui.views.uml2sd.SDView;
 import org.eclipse.linuxtools.tmf.ui.views.uml2sd.util.SDMessages;
 
 /**
- * Moves the focus on the first page in the sequence diagram view. 
+ * Action class implementation to move the focus to the first page of the whole sequence diagram.
+ * 
+ * @version 1.0
+ * @author Bernd Hufmann
  */
 public class FirstPage extends Action {
 
     // ------------------------------------------------------------------------
-    // Attributes
+    // Constants
     // ------------------------------------------------------------------------
+    /**
+     * The action ID.
+     */
     public static final String ID = "org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.firstpage"; //$NON-NLS-1$
-    
+
+    // ------------------------------------------------------------------------
+    // Attributes
+    // ------------------------------------------------------------------------
+    /**
+     * The sequence diagram view reference
+     */
     protected SDView fView = null;
     
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
-    public FirstPage(SDView theView) {
+    /**
+     * Default constructor 
+     * 
+     * @param view the view reference
+     */
+    public FirstPage(SDView view) {
         super();
-        fView = theView;
+        fView = view;
         setText(SDMessages._139);
         setToolTipText(SDMessages._140);
         setId(ID);
@@ -42,7 +59,7 @@ public class FirstPage extends Action {
     }
 
     // ------------------------------------------------------------------------
-    // Operations
+    // Methods
     // ------------------------------------------------------------------------
     /*
      * (non-Javadoc)
This page took 0.024351 seconds and 5 git commands to generate.