KickJava   Java API By Example, From Geeks To Geeks.

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


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 package org.eclipse.debug.internal.ui.views.memory;
13
14 import org.eclipse.debug.ui.IDebugUIConstants;
15 import org.eclipse.ui.help.WorkbenchHelp;
16
17
18 /**
19  * Context menu action
20  *
21  * @since 3.0
22  */

23 public class ResetMemoryBlockContextAction extends ResetMemoryBlockAction
24 {
25     private IMemoryViewTab fViewTab;
26     
27     public ResetMemoryBlockContextAction(IMemoryViewTab viewTab)
28     {
29         super();
30         fViewTab = viewTab;
31         WorkbenchHelp.setHelp(this, IDebugUIConstants.PLUGIN_ID + ".ResetBaseAddressContextAction_context"); //$NON-NLS-1$
32
}
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