1 /**********************************************************************
2 * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
9 * IBM - Initial API and implementation
10 * Bernd Hufmann - Updated for TMF
11 **********************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.ui
.views
.uml2sd
.handlers
;
15 import org
.eclipse
.tracecompass
.tmf
.ui
.views
.uml2sd
.SDView
;
16 import org
.eclipse
.tracecompass
.tmf
.ui
.views
.uml2sd
.SDWidget
;
19 * Action class implementation to move right in the sequence diagram view within a page.
26 public class MoveSDRight
extends BaseSDAction
{
28 // ------------------------------------------------------------------------
30 // ------------------------------------------------------------------------
34 public static final String ID
= "org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.MoveSDRight"; //$NON-NLS-1$
36 // ------------------------------------------------------------------------
38 // ------------------------------------------------------------------------
42 public MoveSDRight() {
49 * @param view a sequence diagram view reference
51 public MoveSDRight(SDView view
) {
54 setActionDefinitionId(ID
);
57 // ------------------------------------------------------------------------
59 // ------------------------------------------------------------------------
64 if (getView() == null) {
68 SDWidget viewer
= getView().getSDWidget();
70 viewer
.scrollBy(+viewer
.getVisibleWidth(), 0);
This page took 0.036597 seconds and 5 git commands to generate.