diff options
author | Darin Wright | 2005-02-09 17:32:56 +0000 |
---|---|---|
committer | Darin Wright | 2005-02-09 17:32:56 +0000 |
commit | 83e4b6dd9c22b45d48ceb0e6e5cb6bc89ef3a622 (patch) | |
tree | 0ec585ed18f0af5ef01ab38b5650fa144c73e5c5 /org.eclipse.debug.ui/schema | |
parent | d7a08b6c24aa2141579dc137e2fc0ecdd276236a (diff) | |
download | eclipse.platform.debug-83e4b6dd9c22b45d48ceb0e6e5cb6bc89ef3a622.tar.gz eclipse.platform.debug-83e4b6dd9c22b45d48ceb0e6e5cb6bc89ef3a622.tar.xz eclipse.platform.debug-83e4b6dd9c22b45d48ceb0e6e5cb6bc89ef3a622.zip |
Bug 84799 - Implement Memory View and renderings with new rendering APIs
Diffstat (limited to 'org.eclipse.debug.ui/schema')
-rw-r--r-- | org.eclipse.debug.ui/schema/memoryRenderingTypes.exsd | 284 |
1 files changed, 0 insertions, 284 deletions
diff --git a/org.eclipse.debug.ui/schema/memoryRenderingTypes.exsd b/org.eclipse.debug.ui/schema/memoryRenderingTypes.exsd deleted file mode 100644 index 4294eca0f..000000000 --- a/org.eclipse.debug.ui/schema/memoryRenderingTypes.exsd +++ /dev/null @@ -1,284 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.debug.ui">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.debug.ui" id="memoryRenderingTypes" name="Memory Rendering Types"/>
- </appInfo>
- <documentation>
- Allows plug-ins to contribute renderings for memory blocks. A rendering translates raw bytes of a memory block into text that can be displayed in the memory view. The debug platform provides a set of memory renderings (HEX, ASCII, Signed Integer and Unsigned Integer). NOTE: this extension point was provided in the 3.0 release as experimental API, subject to change, and became public API in the 3.1 release.
- </documentation>
- </annotation>
-
- <include schemaLocation="schema://org.eclipse.core.expressions/schema/expressionLanguage.exsd"/>
-
- <element name="extension">
- <complexType>
- <choice>
- <element ref="rendering" minOccurs="0" maxOccurs="unbounded"/>
- <element ref="renderingBinding" minOccurs="0" maxOccurs="unbounded"/>
- <element ref="defaultRenderings" minOccurs="0" maxOccurs="unbounded"/>
- <element ref="viewBinding" minOccurs="0" maxOccurs="unbounded"/>
- </choice>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified identifier of the target extension point
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- an optional identifier of the extension instance
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the extension instance
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="rendering">
- <annotation>
- <documentation>
- This element defines a rendering. A rendering is comprised of an id, a name, an optional rendering factory, and an optional list of rendering properties.
- </documentation>
- </annotation>
- <complexType>
- <sequence>
- <element ref="renderingProperty" minOccurs="0" maxOccurs="unbounded"/>
- <element ref="viewBinding" minOccurs="1" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="renderingId" type="string" use="required">
- <annotation>
- <documentation>
- unique identifier for this rendering
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string" use="required">
- <annotation>
- <documentation>
- human-readable name of this rendering
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="renderingFactory" type="string" use="required">
- <annotation>
- <documentation>
- requied fully qualified name of the Java class that implements <code>org.eclipse.debug.core.memory.IMemoryRenderingFactory</code>. When unspecified, a default rendering factory will be used.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="renderingProperty">
- <annotation>
- <documentation>
- Specifies rendering specific properties.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="name" type="string" use="required">
- <annotation>
- <documentation>
- name of this property
- </documentation>
- </annotation>
- </attribute>
- <attribute name="value" type="string" use="required">
- <annotation>
- <documentation>
- value of this property
- </documentation>
- </annotation>
- </attribute>
- <attribute name="renderingId" type="string">
- <annotation>
- <documentation>
- rendering id of the rendering type that this property is associated with. If not specified, the rendering manager tries to determine the rendering id from the property's parent configuration element.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="renderingBinding">
- <annotation>
- <documentation>
- Binds a type of memory block with available renderings.
- </documentation>
- </annotation>
- <complexType>
- <sequence>
- <element ref="enablement" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="renderingIds" type="string" use="required">
- <annotation>
- <documentation>
- comma delimited list of memory renderings available for the associated type of memory block
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="defaultRenderings">
- <annotation>
- <documentation>
- Specifies the default renderings to create for a specific type of memory block.
- </documentation>
- </annotation>
- <complexType>
- <sequence>
- <element ref="enablement" minOccurs="1" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="renderingIds" type="string" use="required">
- <annotation>
- <documentation>
- comma delimited list of of memory renderings to be created by default for memory blocks of the associated type. Memory renderings are specified via their <code>renderingId</code>. An equivalent rendering binding must exist for a default rendering to be considered.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="viewBinding">
- <annotation>
- <documentation>
- Define the views that are supported by the specified rendering
- </documentation>
- </annotation>
- <complexType>
- <attribute name="renderingId" type="string">
- <annotation>
- <documentation>
- rendering id of the rendering to bind. If not specified, the rendering manager tries to retrieve the rendering id from its parent's configuration element.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="viewIds" type="string" use="required">
- <annotation>
- <documentation>
- views ids of the views supported by the specified rendering type
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- Eclipse 3.1
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- The following is an example for defining a new rendering type.
-
-<p>
-<pre>
-<extension
- id="org.eclipse.debug.ui.renderings"
- name="Sample Rendering Type"
- point="org.eclipse.debug.ui.memoryRenderingTypes">
- <rendering
- name="Sample Rendering"
- renderingId="com.example.sampleRendering"
- renderingFactory="com.example.SampleRenderingsFactory">
- <renderingProperty
- name="viewTabFactory"
- value="com.example.SampleViewTabFactory">
- </renderingProperty>
- <viewBinding viewIds="org.eclipse.debug.ui.MemoryView.RenderingViewPane"/>
- </rendering>
-</extension>
-</pre>
-</p>
-
-In the above example, a new rendering type, Sample Rendering, is defined. This rendering type supports the rendering view pane from the Memory View.
-<br><br>
-The following is an example for allowing Sample Rendering to be displayed in the rendering view pane from the Memory View.
-<p>
-<pre>
-<extension
- id="com.example"
- name="Sample Rendering Extension"
- point="org.eclipse.debug.ui.memoryRenderingTypes">
- <renderingBinding
- renderingIds="com.example.sampleRendering">
- <enablement>
- <instanceof value="com.example.SampleMemoryBlock"/>
- </enablement>
- </renderingBinding>
- <defaultRenderings
- renderingIds="com.example.sampleRendering">
- <enablement>
- <instanceof value="com.example.SampleMemoryBlock"/>
- </enablement>
- </defaultRenderings>
-</extension>
-</pre>
-</p>
-
-In the above example, the Sample Rendering is defined as a valid rendering for SampleMemoryBlock. Whenever SampleMemoryBlock is created in the Memory View, a Sample Rendering will be created.
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- <p>
-<li>Value of the attribute <b>renderingFactory </b> must be a fully qualifed name of a Java class that implements <b>IMemoryRenderingFactory</b>.</li>
-<li>Value of the attribute <b> value </b> from the <b>viewTabFactory</b> rendering property must be a fully qualifed name of a Java class that implements <b>IMemoryViewTabFactory</b>.</li>
-<li>Value of the attribute <b>instanceof</b> from the <b> enablement </b> element must be a fully qualified name of a Java class that implements the interface <b>IMemoryBlock</b>.</li>
-</p>
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
- 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>
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2004 IBM Corporation and others.<br>
-All rights reserved. This program and the accompanying materials are made
-available under the terms of the Common Public License v1.0 which
-accompanies this distribution, and is available at
-<a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>
- </documentation>
- </annotation>
-
-</schema>
|