Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 3c80dee8d33224359c09ce5a9d4aa29ad7c209e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*******************************************************************************
 * Copyright (c) 2004 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/

package org.eclipse.debug.internal.ui.views.memory;

import org.eclipse.debug.ui.IDebugUIConstants;
import org.eclipse.ui.PlatformUI;


/**
 * Context menu actin for Print View Tab
 * 
 * @since 3.0
 */
public class PrintViewTabContextAction extends PrintViewTabAction
{
	IMemoryViewTab fViewTab;
	
	public PrintViewTabContextAction(IMemoryViewTab viewTab)
	{
		super();
		fViewTab = viewTab;
		PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IDebugUIConstants.PLUGIN_ID + ".PrintViewTabContextAction_context"); //$NON-NLS-1$
	}
	
	
	/* (non-Javadoc)
	 * @see org.eclipse.debug.ui.internal.actions.AbstractMemoryAction#getViewTab()
	 */
	IMemoryViewTab getViewTab()
	{
		return fViewTab;
	}

}

Back to the top