1 /**********************************************************************
2 * Copyright (c) 2013, 2014 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 * Bernd Hufmann - Initial API and implementation
10 **********************************************************************/
11 package org
.eclipse
.tracecompass
.tmf
.ui
.views
.uml2sd
.handlers
;
13 import org
.eclipse
.jface
.action
.Action
;
14 import org
.eclipse
.tracecompass
.tmf
.ui
.views
.uml2sd
.SDView
;
17 * Base class for sequence diagram actions.
19 * @author Bernd Hufmann
21 public class BaseSDAction
extends Action
{
23 // ------------------------------------------------------------------------
25 // ------------------------------------------------------------------------
27 * The sequence diagram view reference.
29 private SDView fView
= null;
31 // ------------------------------------------------------------------------
33 // ------------------------------------------------------------------------
37 public BaseSDAction() {
45 * a sequence diagram view reference
47 public BaseSDAction(SDView view
) {
55 * a sequence diagram view reference
61 protected BaseSDAction(SDView view
, String text
, int style
) {
66 // ------------------------------------------------------------------------
68 // ------------------------------------------------------------------------
71 * Sets the active SD view.
73 * @param view The SD view.
75 public void setView(SDView view
) {
80 * Gets the active SD view.
82 * @return view The SD view.
84 public SDView
getView() {
This page took 0.054466 seconds and 5 git commands to generate.