Add support pin in TmfView base class (Bug 388372)
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / PinTmfViewAction.java
CommitLineData
db59ddc2
BH
1/*******************************************************************************
2 * Copyright (c) 2012 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Bernd Hufmann - Initial API and implementation
11 *******************************************************************************/
12package org.eclipse.linuxtools.tmf.ui.views;
13
14import org.eclipse.jface.action.Action;
15import org.eclipse.jface.action.IAction;
16import org.eclipse.linuxtools.internal.tmf.ui.Activator;
17import org.eclipse.linuxtools.internal.tmf.ui.ITmfImageConstants;
18import org.eclipse.linuxtools.internal.tmf.ui.Messages;
19
20/**
21 *
22 * @version 1.0
23 * @author Bernd Hufmann
24 * @since 1.2
25 */
26public class PinTmfViewAction extends Action {
27 /**
28 * Creates a new <code>PinPropertySheetAction</code>.
29 */
30 public PinTmfViewAction() {
31 super(Messages.TmfView_PinActionNameText, IAction.AS_CHECK_BOX);
32
33 setId("org.eclipse.linuxtools.tmf.ui.views.PinTmfViewAction"); //$NON-NLS-1$
34 setToolTipText(Messages.TmfView_PinActionToolTipText);
35 setImageDescriptor(Activator.getDefault().getImageDescripterFromPath(ITmfImageConstants.IMG_UI_PIN_VIEW));
36 }
37}
This page took 0.059195 seconds and 5 git commands to generate.