1 /**********************************************************************
2 * Copyright (c) 2005, 2012 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
.linuxtools
.tmf
.ui
.views
.uml2sd
.handlers
;
15 import org
.eclipse
.jface
.action
.Action
;
16 import org
.eclipse
.linuxtools
.tmf
.ui
.views
.uml2sd
.SDView
;
19 * Action class implementation for 'Printing'.
24 public class Print
extends Action
{
26 // ------------------------------------------------------------------------
28 // ------------------------------------------------------------------------
32 public static final String ID
= "org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.print"; //$NON-NLS-1$
34 // ------------------------------------------------------------------------
36 // ------------------------------------------------------------------------
38 * The sequence diagram view reference
42 // ------------------------------------------------------------------------
44 // ------------------------------------------------------------------------
48 * @param view The view reference
50 public Print(SDView view
) {
56 // ------------------------------------------------------------------------
58 // ------------------------------------------------------------------------
61 * @see org.eclipse.jface.action.Action#run()
65 if ((fView
== null) || fView
.getSDWidget() == null){
69 fView
.getSDWidget().print();
This page took 0.032148 seconds and 5 git commands to generate.