Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2004-11-18 18:14:32 +0000
committerDarin Swanson2004-11-18 18:14:32 +0000
commit872891c9ec61260c722c4f22c897a869cfb92368 (patch)
tree486c80cdc75a61ada552e372ae9187ff401fe01b /org.eclipse.core.variables/schema
parent191b3a206897c63c5ad7fcd3c45e3a843769f459 (diff)
downloadeclipse.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.exsd31
-rw-r--r--org.eclipse.core.variables/schema/valueVariables.exsd71
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 &lt;samp&gt;org.eclipse.core.variables.IDynamicVariableResolver&lt;/samp&gt;, which is used to determine the value of the variable
+ specifies a Java class which implements &lt;code&gt;org.eclipse.core.variables.IDynamicVariableResolver&lt;/code&gt;, 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:
-&lt;pre&gt;
- &lt;extension point=&quot;org.eclipse.core.variables.dynamicVariables&quot;&gt;
- &lt;variable
- name=&quot;resource_name&quot;
- expanderClass=&quot;com.example.ResourceNameExpander&quot;
- description=&quot;The name of the selected resource&quot;&gt;
- &lt;/variable&gt;
- &lt;/extension&gt;
+ The following is a definition of a dynamic variable that resolves to the name of the selected resource:
+&lt;pre&gt;
+ &lt;extension point=&quot;org.eclipse.core.variables.dynamicVariables&quot;&gt;
+ &lt;variable
+ name=&quot;resource_name&quot;
+ expanderClass=&quot;com.example.ResourceNameExpander&quot;
+ description=&quot;The name of the selected resource&quot;&gt;
+ &lt;/variable&gt;
+ &lt;/extension&gt;
&lt;/pre&gt;
</documentation>
</annotation>
@@ -116,10 +119,10 @@
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2003, 2004 IBM Corporation and others.&lt;br&gt;
-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.&lt;br&gt;
+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
&lt;a href=&quot;http://www.eclipse.org/legal/cpl-v10.html&quot;&gt;http://www.eclipse.org/legal/cpl-v10.html&lt;/a&gt;
</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 &lt;samp&gt;initializerClass&lt;/samp&gt; attribute must not be specified.
+ specifies the initial value for this variable. When specified, an &lt;code&gt;initializerClass&lt;/code&gt; 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 &lt;samp&gt;org.eclipse.core.variables.IValueVariableInitializer&lt;/samp&gt;. When specified, an &lt;samp&gt;initialValue&lt;/samp&gt; attribute must not be specified.
+ specifies the fully qualified name of the Java class that implements &lt;code&gt;org.eclipse.core.variables.IValueVariableInitializer&lt;/code&gt;. When specified, an &lt;code&gt;initialValue&lt;/code&gt; 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:
-
-&lt;p&gt;
-&lt;pre&gt;
- &lt;extension point=&quot;org.eclipse.core.variables.valueVariables&quot;&gt;
- &lt;variable
- name=&quot;FOO_HOME&quot;
- initialValue=&quot;/usr/local/foo&quot;&gt;
- &lt;/variable&gt;
- &lt;/extension&gt;
-&lt;/pre&gt;
-&lt;/p&gt;
-
-In the example above, the specified variable is created with the initial value &quot;/usr/local/foo&quot;.
-
- The following is an example of a value variable contribution with an initializer class:
-&lt;p&gt;
-&lt;pre&gt;
- &lt;extension point=&quot;org.eclipse.core.variables.valueVariables&quot;&gt;
- &lt;variable
- name=&quot;FOO_HOME&quot;
- initializerClass=&quot;com.example.FooLocator&quot;&gt;
- &lt;/variable&gt;
- &lt;/extension&gt;
-&lt;/pre&gt;
-&lt;/p&gt;
-
-In the example above, the variable FOO_HOME is created and the class &quot;com.example.FooLocator&quot; will be
+ The following is an example of a value variable contribution with an initial value:
+
+&lt;p&gt;
+&lt;pre&gt;
+ &lt;extension point=&quot;org.eclipse.core.variables.valueVariables&quot;&gt;
+ &lt;variable
+ name=&quot;FOO_HOME&quot;
+ initialValue=&quot;/usr/local/foo&quot;&gt;
+ &lt;/variable&gt;
+ &lt;/extension&gt;
+&lt;/pre&gt;
+&lt;/p&gt;
+
+In the example above, the specified variable is created with the initial value &quot;/usr/local/foo&quot;.
+
+ The following is an example of a value variable contribution with an initializer class:
+&lt;p&gt;
+&lt;pre&gt;
+ &lt;extension point=&quot;org.eclipse.core.variables.valueVariables&quot;&gt;
+ &lt;variable
+ name=&quot;FOO_HOME&quot;
+ initializerClass=&quot;com.example.FooLocator&quot;&gt;
+ &lt;/variable&gt;
+ &lt;/extension&gt;
+&lt;/pre&gt;
+&lt;/p&gt;
+
+In the example above, the variable FOO_HOME is created and the class &quot;com.example.FooLocator&quot; will be
used to initialize the value the first time it&apos;s requested.
</documentation>
</annotation>
@@ -135,10 +138,10 @@ used to initialize the value the first time it&apos;s requested.
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2003, 2004 IBM Corporation and others.&lt;br&gt;
-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.&lt;br&gt;
+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
&lt;a href=&quot;http://www.eclipse.org/legal/cpl-v10.html&quot;&gt;http://www.eclipse.org/legal/cpl-v10.html&lt;/a&gt;
</documentation>
</annotation>

Back to the top