Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-debug-dev] Memory Rendering View Pane in Eclipse 3.1 M3



Hi -

I have added a rendering view pane in the Memory View for Eclipse 3.1 M3.
Along with this contribution came a set of default renderings, namely,
ASCII, signed integer and unsigned integer.

To be able to add these renderings for your memory blocks, you will need to
add the following to your plugin.xml:

   <extension
         id="com.abc.sampleadapter"
         name="Sample Rendering"
         point="org.eclipse.debug.core.memoryRenderings">
        <rendering_binding
            memoryBlockClass=
"com.abc.sampleadapter.simpleMemoryBlock.SampleMemoryBlock"
            renderingIds="org.eclipse.debug.ui.rendering.ascii,
org.eclipse.debug.ui.rendering.signedint,
org.eclipse.debug.ui.rendering.unsignedint"
            memoryBlockTypeId="com.abc.sampleadapter">
        </rendering_binding>
   </extension>

The rendering _binding element from the memoryRendering extension point
defines what renderings are allowed for a certain type of memory block.

"memoryBlockClass" is for specifying the full class name of the memory
block.  "renderingIds" is for specifying what renderings are allowed for
the memory block indicated in memoryBlockClass.

The "memoryBlockTypeId" is new for Eclipse 3.1 and is not yet supported by
the memory rendering manager.  However, it is required in order to avoid
having errors reported in your plugin.xml.

Please try out the new Memory View and let me know if you have any feedback
or comments.

Thanks

Samantha



Back to the top