| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.ui"> |
| <annotation> |
| <appInfo> |
| <meta.schema plugin="org.eclipse.ui" id="internalTweaklets" name="%ExtPoint.tweaklets"/> |
| </appInfo> |
| <documentation> |
| This internal extension point is not considered API. It is used to define tweaklets. A tweaklet is anything that can be used to tweak the look and feel of the Workbench. |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <complexType> |
| <choice minOccurs="0" maxOccurs="unbounded"> |
| <element ref="tweaklet"/> |
| </choice> |
| <attribute name="point" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| <appInfo> |
| <meta.attribute translatable="true"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="tweaklet"> |
| <annotation> |
| <appInfo> |
| <meta.element labelAttribute="name" icon="icon"/> |
| </appInfo> |
| </annotation> |
| <complexType> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a unique name that will be used to identify this tweaklet |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a translatable name that will be used in the UI for this tweaklet |
| </documentation> |
| <appInfo> |
| <meta.attribute translatable="true"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| <attribute name="description" type="string"> |
| <annotation> |
| <documentation> |
| a translatable short description of this tweaklet, to be used in the UI |
| </documentation> |
| <appInfo> |
| <meta.attribute translatable="true"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| <attribute name="definition" type="string"> |
| <annotation> |
| <documentation> |
| an identifier of the tweaklet definition in the workbench, typically a fully qualified type name |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="implementation" type="string"> |
| <annotation> |
| <documentation> |
| an identifier of the tweaklet implementation provided by the extender, typically a fully qualified class name |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="icon" type="string"> |
| <annotation> |
| <documentation> |
| a relative name of the icon that will |
| be associated with the tweaklet. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="resource"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="since"/> |
| </appInfo> |
| <documentation> |
| 3.3 |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="examples"/> |
| </appInfo> |
| <documentation> |
| The following is an example tweaklet: |
| <p> |
| <pre> |
| <extension point="org.eclipse.ui.internalTweaklets"> |
| <tweaklet |
| id="org.eclipse.ui.internal.tweaklets.ConcreteXYZTweaklet" |
| name="XYZ Tweaklet" |
| description="Short description of the tweak" |
| definition="org.eclipse.ui.internal.tweaklets.AbstractXYZTweaklet" |
| implementation="org.eclipse.ui.internal.tweaklets.ConcreteXYZTweaklet" |
| icon="icons/XYZ.gif"/> |
| </extension> |
| </pre> |
| </p> |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="apiInfo"/> |
| </appInfo> |
| <documentation> |
| Typically, although not required, the value of the <samp>definition</samp> attribute is the |
| fully qualified name of an abstract class or an interface defined by the |
| workbench, and the value of the <samp>implementation</samp> attribute is the |
| fully qualified name of a non-abstract class provided by the extending plug-in. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="implementation"/> |
| </appInfo> |
| <documentation> |
| Tweaklet implementations can be found in the Eclipse Platform incubator. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| Copyright (c) 2007 IBM Corporation and others.<br> |
| All rights reserved. This program and the accompanying materials are made |
| available under the terms of the Eclipse Public License v1.0 which accompanies |
| this distribution, and is available at <a |
| href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
| </documentation> |
| </annotation> |
| |
| </schema> |