mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
[268031] Memory Browser - initial commit (fix typo in package name)
This commit is contained in:
parent
e14e488246
commit
bf3cd59be6
6 changed files with 10 additions and 9 deletions
|
@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: Memory Browser
|
Bundle-Name: Memory Browser
|
||||||
Bundle-SymbolicName: org.eclipse.cdt.debug.ui.memory.memorybrowser;singleton:=true
|
Bundle-SymbolicName: org.eclipse.cdt.debug.ui.memory.memorybrowser;singleton:=true
|
||||||
Bundle-Version: 1.2.0
|
Bundle-Version: 1.2.0
|
||||||
Bundle-Activator: org.cdt.debug.ui.memory.memorybrowser.MemoryBrowserPlugin
|
Bundle-Activator: org.eclipse.cdt.debug.ui.memory.memorybrowser.MemoryBrowserPlugin
|
||||||
Bundle-Vendor: org.eclipse
|
Bundle-Vendor: org.eclipse
|
||||||
Require-Bundle: org.eclipse.ui,
|
Require-Bundle: org.eclipse.ui,
|
||||||
org.eclipse.core.runtime,
|
org.eclipse.core.runtime,
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
* Ted R Williams (Wind River Systems, Inc.) - initial implementation
|
* Ted R Williams (Wind River Systems, Inc.) - initial implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.cdt.debug.ui.memory.memorybrowser;
|
package org.eclipse.cdt.debug.ui.memory.memorybrowser;
|
||||||
|
|
||||||
import org.eclipse.jface.dialogs.IDialogConstants;
|
import org.eclipse.jface.dialogs.IDialogConstants;
|
||||||
import org.eclipse.swt.SWT;
|
import org.eclipse.swt.SWT;
|
|
@ -9,7 +9,7 @@
|
||||||
* Ted R Williams (Wind River Systems, Inc.) - initial implementation
|
* Ted R Williams (Wind River Systems, Inc.) - initial implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.cdt.debug.ui.memory.memorybrowser;
|
package org.eclipse.cdt.debug.ui.memory.memorybrowser;
|
||||||
|
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
|
@ -98,7 +98,7 @@ import org.eclipse.ui.progress.WorkbenchJob;
|
||||||
|
|
||||||
public class MemoryBrowser extends ViewPart implements IDebugContextListener, ILaunchListener
|
public class MemoryBrowser extends ViewPart implements IDebugContextListener, ILaunchListener
|
||||||
{
|
{
|
||||||
public static final String ID = "org.cdt.debug.ui.memory.memorybrowser.MemoryBrowser"; //$NON-NLS-1$
|
public static final String ID = "org.eclipse.cdt.debug.ui.memory.memorybrowser.MemoryBrowser"; //$NON-NLS-1$
|
||||||
|
|
||||||
protected StackLayout fStackLayout;
|
protected StackLayout fStackLayout;
|
||||||
private Composite fRenderingsComposite;
|
private Composite fRenderingsComposite;
|
||||||
|
@ -351,6 +351,7 @@ public class MemoryBrowser extends ViewPart implements IDebugContextListener, IL
|
||||||
IActionBars bars = getViewSite().getActionBars();
|
IActionBars bars = getViewSite().getActionBars();
|
||||||
fillLocalPullDown(bars.getMenuManager());
|
fillLocalPullDown(bars.getMenuManager());
|
||||||
fillLocalToolBar(bars.getToolBarManager());
|
fillLocalToolBar(bars.getToolBarManager());
|
||||||
|
bars.getToolBarManager().add(new Action() { });
|
||||||
}
|
}
|
||||||
|
|
||||||
private void fillLocalPullDown(IMenuManager manager) {
|
private void fillLocalPullDown(IMenuManager manager) {
|
|
@ -9,7 +9,7 @@
|
||||||
* Ted R Williams (Wind River Systems, Inc.) - initial implementation
|
* Ted R Williams (Wind River Systems, Inc.) - initial implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.cdt.debug.ui.memory.memorybrowser;
|
package org.eclipse.cdt.debug.ui.memory.memorybrowser;
|
||||||
|
|
||||||
import org.eclipse.jface.resource.ImageDescriptor;
|
import org.eclipse.jface.resource.ImageDescriptor;
|
||||||
import org.eclipse.ui.plugin.AbstractUIPlugin;
|
import org.eclipse.ui.plugin.AbstractUIPlugin;
|
||||||
|
@ -21,7 +21,7 @@ import org.osgi.framework.BundleContext;
|
||||||
public class MemoryBrowserPlugin extends AbstractUIPlugin {
|
public class MemoryBrowserPlugin extends AbstractUIPlugin {
|
||||||
|
|
||||||
// The plug-in ID
|
// The plug-in ID
|
||||||
public static final String PLUGIN_ID = "org.cdt.debug.ui.memory.memorybrowser";
|
public static final String PLUGIN_ID = "org.eclipse.cdt.debug.ui.memory.memorybrowser";
|
||||||
|
|
||||||
// The shared instance
|
// The shared instance
|
||||||
private static MemoryBrowserPlugin plugin;
|
private static MemoryBrowserPlugin plugin;
|
|
@ -9,13 +9,13 @@
|
||||||
* Ted R Williams (Wind River Systems, Inc.) - initial implementation
|
* Ted R Williams (Wind River Systems, Inc.) - initial implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.cdt.debug.ui.memory.memorybrowser;
|
package org.eclipse.cdt.debug.ui.memory.memorybrowser;
|
||||||
|
|
||||||
import java.util.MissingResourceException;
|
import java.util.MissingResourceException;
|
||||||
import java.util.ResourceBundle;
|
import java.util.ResourceBundle;
|
||||||
|
|
||||||
public class Messages {
|
public class Messages {
|
||||||
private static final String BUNDLE_NAME = "org.cdt.debug.ui.memory.memorybrowser.messages"; //$NON-NLS-1$
|
private static final String BUNDLE_NAME = "org.eclipse.cdt.debug.ui.memory.memorybrowser.messages"; //$NON-NLS-1$
|
||||||
|
|
||||||
private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
|
private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
|
||||||
.getBundle(BUNDLE_NAME);
|
.getBundle(BUNDLE_NAME);
|
Loading…
Add table
Reference in a new issue