tmf: Update copyright headers in tmf.ui
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / uml2sd / handlers / ConfigureMinMax.java
index aed06c6b2f88f567417e350dbc98dbf52523a38f..cbac104692722ecffb9663ffa4acb82faf7f502f 100755 (executable)
@@ -1,16 +1,15 @@
 /**********************************************************************
- * Copyright (c) 2005, 2006 IBM Corporation and others.
- * Copyright (c) 2011, 2012 Ericsson.
- * 
+ * Copyright (c) 2005, 2012 IBM Corporation, 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: 
- * IBM - Initial API and implementation
- * Bernd Hufmann - Updated for TMF
+ *
+ * Contributors:
+ *     IBM - Initial API and implementation
+ *     Bernd Hufmann - Updated for TMF
  **********************************************************************/
+
 package org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers;
 
 import org.eclipse.jface.action.Action;
@@ -20,10 +19,10 @@ import org.eclipse.ui.IViewPart;
 
 /**
  * Action class implementation to configure minimum and maximum time range values.
- * 
+ *
  * @version 1.0
  * @author sveyrier
- * 
+ *
  */
 public class ConfigureMinMax extends Action {
 
@@ -33,21 +32,21 @@ public class ConfigureMinMax extends Action {
     /**
      * The corresponding sequence diagram view reference.
      */
-    protected SDView view = null;
+    protected SDView fView = null;
 
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
-    
+
     /**
      * Standard constructor.
-     * 
-     * @param _view The sequence diagram view for the action 
+     *
+     * @param view The sequence diagram view for the action
      */
-    public ConfigureMinMax(IViewPart _view) {
+    public ConfigureMinMax(IViewPart view) {
         super();
-        if (_view instanceof SDView) {
-            view = (SDView) _view;
+        if (view instanceof SDView) {
+            fView = (SDView) view;
         }
     }
 
@@ -61,8 +60,8 @@ public class ConfigureMinMax extends Action {
      */
     @Override
     public void run() {
-        if ((view != null) && (view.getSDWidget() != null)) {
-            MinMaxDialog minMax = new MinMaxDialog(view.getSite().getShell(), view.getSDWidget());
+        if ((fView != null) && (fView.getSDWidget() != null)) {
+            MinMaxDialog minMax = new MinMaxDialog(fView.getSite().getShell(), fView.getSDWidget());
             minMax.open();
         }
     }
This page took 0.024679 seconds and 5 git commands to generate.