analysis: Move plugins to their own sub-directory
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.ui / src / org / eclipse / tracecompass / tmf / ui / views / PinTmfViewAction.java
CommitLineData
db59ddc2 1/*******************************************************************************
ed902a2b 2 * Copyright (c) 2012, 2014 Ericsson
db59ddc2
BH
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 *******************************************************************************/
2bdf0193 12package org.eclipse.tracecompass.tmf.ui.views;
db59ddc2
BH
13
14import org.eclipse.jface.action.Action;
15import org.eclipse.jface.action.IAction;
2bdf0193
AM
16import org.eclipse.tracecompass.internal.tmf.ui.Activator;
17import org.eclipse.tracecompass.internal.tmf.ui.ITmfImageConstants;
18import org.eclipse.tracecompass.internal.tmf.ui.Messages;
db59ddc2
BH
19
20/**
21 *
db59ddc2 22 * @author Bernd Hufmann
db59ddc2
BH
23 */
24public class PinTmfViewAction extends Action {
25 /**
26 * Creates a new <code>PinPropertySheetAction</code>.
27 */
28 public PinTmfViewAction() {
29 super(Messages.TmfView_PinActionNameText, IAction.AS_CHECK_BOX);
30
31 setId("org.eclipse.linuxtools.tmf.ui.views.PinTmfViewAction"); //$NON-NLS-1$
32 setToolTipText(Messages.TmfView_PinActionToolTipText);
33 setImageDescriptor(Activator.getDefault().getImageDescripterFromPath(ITmfImageConstants.IMG_UI_PIN_VIEW));
34 }
35}
This page took 0.087598 seconds and 5 git commands to generate.