| 7 |
|
|
| 8 |
<body> |
<body> |
| 9 |
<h1>Content Sensitive Object Contributions</h1> |
<h1>Content Sensitive Object Contributions</h1> |
| 10 |
<p><em>Last modified June 10, 2004</em></p> |
<p><em>Last modified June 14, 2004</em></p> |
| 11 |
<p>Context menus for some applications have previously only been able to exclude |
<p>Context menus for some applications have previously only been able to exclude |
| 12 |
some menu options based on peripheral information known about the resources |
some menu options based on peripheral information known about the resources |
| 13 |
selected (the number of resources selected, the physical name of the file, the |
selected (the number of resources selected, the physical name of the file, the |
| 23 |
org.eclipse.core.runtime.contentTypes allows plug-ins to contribute to the Platform |
org.eclipse.core.runtime.contentTypes allows plug-ins to contribute to the Platform |
| 24 |
content type catalog. Further, classes called Content Type Describers have been |
content type catalog. Further, classes called Content Type Describers have been |
| 25 |
added.</p> |
added.</p> |
| 26 |
<p>Initially, two content describers will be supported: BinarySignatureDescriber |
<p>For developers providing their own content types, two customizable, built-in |
| 27 |
and XMLRootElementContentDescriber. Eclipse developers may create their own |
content type describers are available: BinarySignatureDescriber (for binary |
| 28 |
content describers. The Platform Plug-in Developer Guide (Programmer's Guide |
content types) and XMLRootElementContentDescriber (for text, XML based content |
| 29 |
-> Runtime overview -> Content types) describes this in more detail.</p> |
types). Plug-in providers may create their own content describers. The Platform |
| 30 |
|
Plug-in Developer Guide (Programmer's Guide -> Runtime overview -> Content |
| 31 |
|
types) describes this in more detail.</p> |
| 32 |
<h3>XMLRootElementContentDescriber</h3> |
<h3>XMLRootElementContentDescriber</h3> |
| 33 |
<p>It will now be possible to define object contributions which are specific to |
<p>It will now be possible to define object contributions which are specific to |
| 34 |
an XML file with a given top level tag or which specify a given DTD. To do this, |
an XML file with a given top level tag or which specify a given DTD. To do this, |