X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=org.eclipse.linuxtools.tmf.ui%2Fsrc%2Forg%2Feclipse%2Flinuxtools%2Ftmf%2Fui%2Fviews%2Fuml2sd%2Fhandlers%2FShowNodeEnd.java;h=e7a6a64a740c7fa8d5705a73f60ad24c75706e87;hb=c8422608ac728e00b6b87d680bd807514916c0c1;hp=db5b65664fdc779566cd527a5f1b8617a2b44a65;hpb=94cce698a51527027627ee04f625da11e5119beb;p=deliverable%2Ftracecompass.git diff --git a/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/ShowNodeEnd.java b/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/ShowNodeEnd.java index db5b65664f..e7a6a64a74 100755 --- a/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/ShowNodeEnd.java +++ b/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/ShowNodeEnd.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 java.util.Iterator; @@ -28,7 +27,7 @@ import org.eclipse.ui.IViewPart; /** * Action class implementation to show end of a graph node. - * + * * @version 1.0 * @author sveyrier */ @@ -54,7 +53,7 @@ public class ShowNodeEnd extends Action { /** * Constructor - * + * * @param view The sequence diagram view reference */ public ShowNodeEnd(IViewPart view) { @@ -93,7 +92,7 @@ public class ShowNodeEnd extends Action { while (it.hasNext()) { selectedNode = it.next(); } - + if (selectedNode != null) { GraphNode node = (GraphNode) selectedNode; if ((node.getX() + node.getWidth()) * sdWidget.getZoomFactor() < sdWidget.getContentsX() + sdWidget.getVisibleWidth() / 2) { @@ -106,7 +105,7 @@ public class ShowNodeEnd extends Action { /** * Sets the active SD view. - * + * * @param view The SD view. */ public void setView(SDView view) {