KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > debug > internal > ui > views > memory > CopyViewTabToClipboardContextAction


1 /*******************************************************************************
2  * Copyright (c) 2004 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11
12
13 package org.eclipse.debug.internal.ui.views.memory;
14
15 import org.eclipse.debug.ui.IDebugUIConstants;
16 import org.eclipse.ui.help.WorkbenchHelp;
17
18
19 /**
20  * Context menu action for "Copy View Tab To Clipboard"
21  *
22  * @since 3.0
23  */

24 public class CopyViewTabToClipboardContextAction extends CopyViewTabToClipboardAction
25 {
26     IMemoryViewTab fViewTab;
27     
28     public CopyViewTabToClipboardContextAction(IMemoryViewTab viewTab)
29     {
30         super();
31         fViewTab = viewTab;
32         WorkbenchHelp.setHelp(this, IDebugUIConstants.PLUGIN_ID + ".CopyViewTabToClipboardContextAction_context"); //$NON-NLS-1$
33
}
34     /* (non-Javadoc)
35      * @see org.eclipse.debug.ui.internal.actions.AbstractMemoryAction#getViewTab()
36      */

37     IMemoryViewTab getViewTab()
38     {
39         return fViewTab;
40     }
41
42 }
43
Popular Tags