blob: 1b729a4361b1dcd24f984456aa8c6b720183719e [file] [log] [blame]
/*******************************************************************************
* 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.help.WorkbenchHelp;
/**
* Context menu action for "Copy View Tab To Clipboard"
*
* @since 3.0
*/
public class CopyViewTabToClipboardContextAction extends CopyViewTabToClipboardAction
{
IMemoryViewTab fViewTab;
public CopyViewTabToClipboardContextAction(IMemoryViewTab viewTab)
{
super();
fViewTab = viewTab;
WorkbenchHelp.setHelp(this, IDebugUIConstants.PLUGIN_ID + ".CopyViewTabToClipboardContextAction_context"); //$NON-NLS-1$
}
/* (non-Javadoc)
* @see org.eclipse.debug.ui.internal.actions.AbstractMemoryAction#getViewTab()
*/
IMemoryViewTab getViewTab()
{
return fViewTab;
}
}