diff options
author | Darin Swanson | 2004-11-18 18:14:32 +0000 |
---|---|---|
committer | Darin Swanson | 2004-11-18 18:14:32 +0000 |
commit | 872891c9ec61260c722c4f22c897a869cfb92368 (patch) | |
tree | 486c80cdc75a61ada552e372ae9187ff401fe01b /org.eclipse.core.variables/schema | |
parent | 191b3a206897c63c5ad7fcd3c45e3a843769f459 (diff) | |
download | eclipse.platform.debug-872891c9ec61260c722c4f22c897a869cfb92368.tar.gz eclipse.platform.debug-872891c9ec61260c722c4f22c897a869cfb92368.tar.xz eclipse.platform.debug-872891c9ec61260c722c4f22c897a869cfb92368.zip |
Bug 78751 - Extension Point Schema Changes
Diffstat (limited to 'org.eclipse.core.variables/schema')
-rw-r--r-- | org.eclipse.core.variables/schema/dynamicVariables.exsd | 31 | ||||
-rw-r--r-- | org.eclipse.core.variables/schema/valueVariables.exsd | 71 |
2 files changed, 54 insertions, 48 deletions
diff --git a/org.eclipse.core.variables/schema/dynamicVariables.exsd b/org.eclipse.core.variables/schema/dynamicVariables.exsd index f8cfd3a41..deb145968 100644 --- a/org.eclipse.core.variables/schema/dynamicVariables.exsd +++ b/org.eclipse.core.variables/schema/dynamicVariables.exsd @@ -51,7 +51,7 @@ <attribute name="resolver" type="string" use="required">
<annotation>
<documentation>
- specifies a Java class which implements <samp>org.eclipse.core.variables.IDynamicVariableResolver</samp>, which is used to determine the value of the variable
+ specifies a Java class which implements <code>org.eclipse.core.variables.IDynamicVariableResolver</code>, which is used to determine the value of the variable
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.core.variables.IDynamicVariableResolver"/>
@@ -63,6 +63,9 @@ <documentation>
specifies a human-readable description of this variable
</documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
</annotation>
</attribute>
<attribute name="supportsArgument" type="boolean">
@@ -89,15 +92,15 @@ <meta.section type="examples"/>
</appInfo>
<documentation>
- The following is a definition of a dynamic variable that resolves to the name of the selected resource:
-<pre>
- <extension point="org.eclipse.core.variables.dynamicVariables">
- <variable
- name="resource_name"
- expanderClass="com.example.ResourceNameExpander"
- description="The name of the selected resource">
- </variable>
- </extension>
+ The following is a definition of a dynamic variable that resolves to the name of the selected resource: +<pre> + <extension point="org.eclipse.core.variables.dynamicVariables"> + <variable + name="resource_name" + expanderClass="com.example.ResourceNameExpander" + description="The name of the selected resource"> + </variable> + </extension> </pre>
</documentation>
</annotation>
@@ -116,10 +119,10 @@ <meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2003, 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
+ Copyright (c) 2003, 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>
diff --git a/org.eclipse.core.variables/schema/valueVariables.exsd b/org.eclipse.core.variables/schema/valueVariables.exsd index 575695d39..4037055c8 100644 --- a/org.eclipse.core.variables/schema/valueVariables.exsd +++ b/org.eclipse.core.variables/schema/valueVariables.exsd @@ -51,14 +51,14 @@ <attribute name="initialValue" type="string">
<annotation>
<documentation>
- specifies the initial value for this variable. When specified, an <samp>initializerClass</samp> attribute must not be specified.
+ specifies the initial value for this variable. When specified, an <code>initializerClass</code> attribute must not be specified.
</documentation>
</annotation>
</attribute>
<attribute name="initializerClass" type="string">
<annotation>
<documentation>
- specifies the fully qualified name of the Java class that implements <samp>org.eclipse.core.variables.IValueVariableInitializer</samp>. When specified, an <samp>initialValue</samp> attribute must not be specified.
+ specifies the fully qualified name of the Java class that implements <code>org.eclipse.core.variables.IValueVariableInitializer</code>. When specified, an <code>initialValue</code> attribute must not be specified.
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.core.variables.IValueVariableInitializer"/>
@@ -70,6 +70,9 @@ <documentation>
specifies a human-readable description of this variable.
</documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
</annotation>
</attribute>
</complexType>
@@ -89,34 +92,34 @@ <meta.section type="examples"/>
</appInfo>
<documentation>
- The following is an example of a value variable contribution with an initial value:
-
-<p>
-<pre>
- <extension point="org.eclipse.core.variables.valueVariables">
- <variable
- name="FOO_HOME"
- initialValue="/usr/local/foo">
- </variable>
- </extension>
-</pre>
-</p>
-
-In the example above, the specified variable is created with the initial value "/usr/local/foo".
-
- The following is an example of a value variable contribution with an initializer class:
-<p>
-<pre>
- <extension point="org.eclipse.core.variables.valueVariables">
- <variable
- name="FOO_HOME"
- initializerClass="com.example.FooLocator">
- </variable>
- </extension>
-</pre>
-</p>
-
-In the example above, the variable FOO_HOME is created and the class "com.example.FooLocator" will be
+ The following is an example of a value variable contribution with an initial value: + +<p> +<pre> + <extension point="org.eclipse.core.variables.valueVariables"> + <variable + name="FOO_HOME" + initialValue="/usr/local/foo"> + </variable> + </extension> +</pre> +</p> + +In the example above, the specified variable is created with the initial value "/usr/local/foo". + + The following is an example of a value variable contribution with an initializer class: +<p> +<pre> + <extension point="org.eclipse.core.variables.valueVariables"> + <variable + name="FOO_HOME" + initializerClass="com.example.FooLocator"> + </variable> + </extension> +</pre> +</p> + +In the example above, the variable FOO_HOME is created and the class "com.example.FooLocator" will be used to initialize the value the first time it's requested.
</documentation>
</annotation>
@@ -135,10 +138,10 @@ used to initialize the value the first time it's requested. <meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2003, 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
+ Copyright (c) 2003, 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>
|