X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=org.eclipse.linuxtools.tmf.ui%2Fsrc%2Forg%2Feclipse%2Flinuxtools%2Ftmf%2Fui%2Fviews%2Fuml2sd%2Fhandlers%2FMoveSDLeft.java;h=4fa0e0009766d21a81f63aa49581c12b3341fcc8;hb=c8422608ac728e00b6b87d680bd807514916c0c1;hp=1ccf3b027880f199a40dbc624621c0af14dc9beb;hpb=94cce698a51527027627ee04f625da11e5119beb;p=deliverable%2Ftracecompass.git diff --git a/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/MoveSDLeft.java b/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/MoveSDLeft.java index 1ccf3b0278..4fa0e00097 100755 --- a/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/MoveSDLeft.java +++ b/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/MoveSDLeft.java @@ -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; @@ -19,10 +18,10 @@ import org.eclipse.linuxtools.tmf.ui.views.uml2sd.SDWidget; /** * Action class implementation to move left in the sequence diagram view within a page. - * + * * @version 1.0 * @author sveyrier - * + * */ public class MoveSDLeft extends Action { @@ -33,7 +32,7 @@ public class MoveSDLeft extends Action { * The action ID. */ public final static String ID = "org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDLeft"; //$NON-NLS-1$ - + // ------------------------------------------------------------------------ // Attributes // ------------------------------------------------------------------------ @@ -54,7 +53,7 @@ public class MoveSDLeft extends Action { /** * Constructor - * + * * @param view a sequence diagram view reference */ public MoveSDLeft(SDView view) { @@ -70,23 +69,23 @@ public class MoveSDLeft extends Action { /* * (non-Javadoc) * @see org.eclipse.jface.action.Action#run() - */ + */ @Override public void run() { - + if (fView == null) { return; } - + SDWidget viewer = fView.getSDWidget(); if (viewer != null) { viewer.scrollBy(-viewer.getVisibleWidth(), 0); } } - + /** * Sets the active SD view. - * + * * @param view The SD view. */ public void setView(SDView view) {