ss: Move plugins to Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / uml2sd / handlers / ConfigureMinMax.java
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
7 *
8 * Contributors:
9 * IBM - Initial API and implementation
10 * Bernd Hufmann - Updated for TMF
11 **********************************************************************/
12
13 package org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers;
14
15 import org.eclipse.linuxtools.tmf.ui.views.uml2sd.SDView;
16 import org.eclipse.linuxtools.tmf.ui.views.uml2sd.dialogs.MinMaxDialog;
17
18 /**
19 * Action class implementation to configure minimum and maximum time range values.
20 *
21 * @version 1.0
22 * @author sveyrier
23 *
24 */
25 public class ConfigureMinMax extends BaseSDAction {
26
27 /**
28 * Constructor
29 * @param view
30 * the sequence diagram view reference
31 * @since 2.0
32 */
33 public ConfigureMinMax(SDView view) {
34 super(view);
35 }
36 // ------------------------------------------------------------------------
37 // Methods
38 // ------------------------------------------------------------------------
39 @Override
40 public void run() {
41 if ((getView() != null) && (getView().getSDWidget() != null)) {
42 MinMaxDialog minMax = new MinMaxDialog(getView().getSite().getShell(), getView().getSDWidget());
43 minMax.open();
44 }
45 }
46 }
This page took 0.050277 seconds and 5 git commands to generate.