1 /**********************************************************************
2 * Copyright (c) 2013 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
22 public class BaseSDAction
extends Action
{
24 // ------------------------------------------------------------------------
26 // ------------------------------------------------------------------------
28 * The sequence diagram view reference.
30 private SDView fView
= null;
32 // ------------------------------------------------------------------------
34 // ------------------------------------------------------------------------
38 public BaseSDAction() {
46 * a sequence diagram view reference
48 public BaseSDAction(SDView view
) {
56 * a sequence diagram view reference
62 protected BaseSDAction(SDView view
, String text
, int style
) {
67 // ------------------------------------------------------------------------
69 // ------------------------------------------------------------------------
72 * Sets the active SD view.
74 * @param view The SD view.
76 public void setView(SDView view
) {
81 * Gets the active SD view.
83 * @return view The SD view.
86 public SDView
getView() {
This page took 0.034985 seconds and 6 git commands to generate.