All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schema.memoryRenderings.exsd Maven / Gradle / Ivy

The newest version!




      
         
      
      
         Allows plug-ins to contribute arbitrary renderings for memory blocks and bind memory blocks to renderings. For example, a rendering may translate raw bytes of a memory block into ASCII characters.
      
   

   

   
      
         
            
            
         
         
            
               
                  a fully qualified identifier of the target extension point
               
            
         
         
            
               
                  an optional identifier of the extension instance
               
            
         
         
            
               
                  an optional name of the extension instance
               
            
         
      
   

   
      
         
            This element defines a rendering type.
         
      
      
         
            
               
                  human-readable name of this rendering type
               
               
                  
               
            
         
         
            
               
                  unique identifier for this rendering
               
            
         
         
            
               
                  fully qualified name of the Java class that implements <code>org.eclipse.debug.ui.memory.IMemoryRenderingTypeDelegate</code>
               
               
                  
               
            
         
      
   

   
      
         
            Binds memory blocks with available renderings.
         
      
      
         
            
         
         
            
               
                  comma delimited list of memory rendering type identifiers, specifying available rendering types for memory blocks this binding is enabled for. Must not be specified when <code>class</code> is provided.
               
            
         
         
            
               
                  memory rendering type identifier, specifying the default rendering type to be considered primary for memory blocks this binding is enabled for. When there is more than one default rendering type bound to a memory block, the UI may use the information to determine which rendering should be made visible (i.e the primrary one). Must not be specified when <code>class</code> is provided. Clients should be careful to specify only one primary rendering type per memory block.
               
               
                  
               
            
         
         
            
               
                  fully qualified name of the Java class that implements <code>org.eclipse.debug.ui.memory.IMemoryRenderingBindingsProvider</code>, allowing for dynamic rendering bindings. When specified, <code>renderingIds</code>, <code>defaultIds</code>, and <code>primaryId</code> must not be specified.
               
               
                  
               
            
         
         
            
               
                  comma delimited list of memory rendering type identifiers, specifying default rendering types for memory blocks this binding is enabled for. Must not be specified when <code>class</code> is provided.
               
            
         
      
   

   
      
         
      
      
         3.1 - replacement for memoryRenderingTypes extension point which was considered experimental in 3.0
      
   

   
      
         
      
      
         The following is an example for defining a new rendering type and binding. 

<p>
<pre>
<extension point="org.eclipse.debug.ui.memoryRenderings">
    <renderingType 
        name="Sample Rendering"
        id="com.example.sampleRendering"
        class="com.example.SampleRenderingTypeDelegate">
    </renderingType>
    <renderingBindings
        renderingIds="com.example.sampleRendering">
        <enablement>
            <instanceof value="com.example.SampleMemoryBlock"/>
        </enablement>    
    </renderingBindings>          
</extension>        
</pre>
</p>

In the above example, a new rendering type, Sample Rendering, is defined. The class <code>com.example.SampleRenderingTypeDelegate</code> implements <code>org.eclipse.debug.ui.memory.IMemoryRenderingTypeDelegate</code> and will be used to create new renderings of this type. The rendering is bound to instances of <code>com.exmaple.SampleMemoryBlock</code>.
      
   

   
      
         
      
      
         <p>
<li>Value of the attribute <b>class</b> in a <b>renderingType</b> element must be a fully qualifed name of a Java class that implements <b>org.eclipse.debug.ui.memory.IMemoryRenderingTypeDelegate</b>.</li>
<li>Value of the attribute <b>class</b> in a <b>renderingBindings</b> element must be a fully qualifed name of a Java class that implements <b>org.eclipse.debug.ui.memory.IMemoryRenderingBindingsProvider</b>.</li>
</p>
      
   


   
      
         
      
      
         <p>
The debug platform provides the following rendering types:<br>
<li>Hex Rendering (rendering id: org.eclipse.debug.ui.rendering.raw_memory)</li>
<li>ASCII Rendering (rendering id: org.eclipse.debug.ui.rendering.ascii)</li>
<li>Signed Integer Rendering (rendering id: org.eclipse.debug.ui.rendering.signedint)</li>
<li>Unsigned Integer Rendering (rendering id: org.eclipse.debug.ui.rendering.unsignedint) </li>
<br>
</p>
<p>
The debug platform provides a memory view to host renderings.
</p>
      
   

   
      
         
      
      
         Copyright (c) 2004, 2005 IBM Corporation and others.<br>

This program and the accompanying materials are made 
available under the terms of the Eclipse Public License 2.0 which 
accompanies this distribution, and is available at 
<a href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/

SPDX-License-Identifier: EPL-2.0
      
   






© 2015 - 2024 Weber Informatics LLC | Privacy Policy