KickJava   Java API By Example, From Geeks To Geeks.

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


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
15 /**
16  * Constants for Memory View and Memory Rendering View
17  * These constants can be accessed by third-party plugins
18  * TODO: Move this to correct constant class
19  *
20  * @since 3.0
21  */

22 public interface IMemoryViewConstants {
23     
24     // Default renderings provided
25
public static final String JavaDoc RENDERING_RAW_MEMORY = "org.eclipse.debug.ui.rendering.raw_memory"; //$NON-NLS-1$
26

27
28     // Properties to be synchronized by MemoryViewTab
29
// Memory View and Memory Rendering View make use of these property ids
30
// to synchronize the cursor, scroll bar and column size
31

32     // Address highlighted by the cursor in MemoryViewTab
33
public static final String JavaDoc PROPERTY_SELECTED_ADDRESS = "org.eclipse.debug.ui.MemoryViewTab.selectedAddress"; //$NON-NLS-1$
34

35     // Column size of StoageViewTab
36
public static final String JavaDoc PROPERTY_COL_SIZE = "org.eclipse.debug.ui.MemoryViewTab.columnSize"; //$NON-NLS-1$
37

38     // Top visble address of MemoryViewTab
39
public static final String JavaDoc PROPERTY_TOP_ADDRESS = "org.eclipse.debug.ui.MemoryViewTab.topAddress"; //$NON-NLS-1$
40

41     // Enabled Reference of the memory block
42
// This property acts as a reference count object for the memory block blocked
43
// by view tabs from Memory View or Memory Rendering View. When a view tab
44
// is enabled, it needs to add itself to this property object.
45
// When a view tab is disabled, it removes itself from this property object. This
46
// property is used to determine if a memory block can be disabled when no more
47
// view tab is referencing to the memory block.
48
public static final String JavaDoc PROPERTY_ENABLED_REFERENCES = "org.eclipse.debug.ui.MemoryViewTab.enabledReferences"; //$NON-NLS-1$
49
}
50
Popular Tags