Bug 387547: extension points must specify available variables for <enablement> elements
diff --git a/org.eclipse.jdt.core.manipulation/schema/changeMethodSignatureParticipants.exsd b/org.eclipse.jdt.core.manipulation/schema/changeMethodSignatureParticipants.exsd
index 5ac485e..3aab553 100644
--- a/org.eclipse.jdt.core.manipulation/schema/changeMethodSignatureParticipants.exsd
+++ b/org.eclipse.jdt.core.manipulation/schema/changeMethodSignatureParticipants.exsd
@@ -8,16 +8,17 @@
<documentation>
This extension point is used to define change method signature refactoring participants.
-The reader of the expression provides the following predefined variables which can be referenced via the &lt;with variable="..."&gt; expression element:
-
+<p>
+This extension point supports the <code>&lt;enablement&gt;</code> element.
+<!-- see org.eclipse.ltk.core.refactoring.participants.ParticipantExtensionPoint#createEvaluationContext(..): -->
+The default variable is the <code>org.eclipse.jdt.core.IMethod</code> to be changed.
+<br>Defined variables for <code>&lt;with&gt;</code> expressions are:
+</p>
<ul>
- <li>Object element: the method to be changed</li>
- <li>List&lt;String&gt; affectedNatures: a list containing the natures of the projects affected
- by the refactoring</li>
- <li>String processorId: the id of the refactoring processor that will own the participant.
+<li>"element": type <code>org.eclipse.jdt.core.IMethod</code>; the method to be changed (same as the default variable)</li>
+<li>"affectedNatures": type <code>java.util.List&lt;String&gt;</code>; the natures of all projects affected by the refactoring</li>
+<li>"processorIdentifier": type <code>java.lang.String</code>; the id of the refactoring processor that will own the participant</li>
</ul>
-
-The default variable used during expression evaluation is bound to the element variable.
</documentation>
</annotation>
@@ -149,7 +150,7 @@
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2007 IBM Corporation and others.<br>
+ Copyright (c) 2007, 2013 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>
diff --git a/org.eclipse.jdt.ui/schema/classpathFixProcessors.exsd b/org.eclipse.jdt.ui/schema/classpathFixProcessors.exsd
index c0b79e9..6e35cdc 100644
--- a/org.eclipse.jdt.ui/schema/classpathFixProcessors.exsd
+++ b/org.eclipse.jdt.ui/schema/classpathFixProcessors.exsd
@@ -7,15 +7,19 @@
</appinfo>
<documentation>
This extension point allows to add a processor to offer fixes for incomplete class paths when types cannot be resolved.
-<p>
-This extension point supports the <code>enablement</code> tag. Properties to test on are:
-<dl>
-<li>project: type IJavaProject; the current project</li>
-<li>sourceLevel: type String; the source compliance of the current project</li>
-</dl>
-A processor can specify to override another processor. An overridden processor is only asked to provide proposals when the overriding processor returns <code>null</code> as proposals.
+<p>
+This extension point supports the <code>&lt;enablement&gt;</code> element.
+<!-- see org.eclipse.jdt.internal.ui.text.correction.ClasspathFixProcessorDescriptor#matches(IJavaProject): -->
+The default variable is the containing <code>org.eclipse.jdt.core.IJavaProject</code>.
+<br>Defined variables for <code>&lt;with&gt;</code> expressions are:
</p>
+<ul>
+<li>"project": type <code>org.eclipse.jdt.core.IJavaProject</code>; the current project (same as the default variable)</li>
+<li>"sourceLevel": type <code>java.lang.String</code>; the source compliance level of the current project</li>
+</ul>
+
+A processor can specify to override another processor. An overridden processor is only asked to provide proposals when the overriding processor returns <code>null</code> as proposals.
</documentation>
</annotation>
@@ -97,7 +101,7 @@
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
- The id of the classspath fix processor that is overridden by the current processor. The current processor can choose to replace proposals of extended processor.
+ The id of the classspath fix processor that is overridden by the current processor. The current processor can choose to replace proposals of the extended processor.
</documentation>
<appinfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.jdt.ui.classpathFixProcessors/classpathFixProcessor/@id"/>
@@ -123,7 +127,6 @@
<documentation>
The following is an example of a Classpath Fix processor contribution:
-<p>
<pre>
<extension point="org.eclipse.jdt.ui.classpathFixProcessors">
<classpathFixProcessor
@@ -142,7 +145,6 @@
</classpathFixProcessor>
</extension>
</pre>
-</p>
</documentation>
</annotation>
@@ -161,7 +163,7 @@
<meta.section type="copyright"/>
</appinfo>
<documentation>
- Copyright (c) 2007, 2008 IBM Corporation and others.<br>
+ Copyright (c) 2007, 2013 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>
diff --git a/org.eclipse.jdt.ui/schema/javaCompletionProposalComputer.exsd b/org.eclipse.jdt.ui/schema/javaCompletionProposalComputer.exsd
index 6097afd..abf1586 100644
--- a/org.eclipse.jdt.ui/schema/javaCompletionProposalComputer.exsd
+++ b/org.eclipse.jdt.ui/schema/javaCompletionProposalComputer.exsd
@@ -7,11 +7,16 @@
</appInfo>
<documentation>
This extension point allows to contribute Java completion proposal computers to participate in the content assist process of the Java editor.
+
<p>
-This extension point supports the <code>enablement</code> tag. Properties to test on are:
-<dl>
-<li>project: type IJavaProject; the current project</li>
-</dl>
+This extension point supports the <code>&lt;enablement&gt;</code> element.
+<!-- see org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory#matches(IJavaProject): -->
+The default variable is the containing <code>org.eclipse.jdt.core.IJavaProject</code>.
+<br>Defined variables for <code>&lt;with&gt;</code> expressions are:
+</p>
+<ul>
+<li>"project": type <code>org.eclipse.jdt.core.IJavaProject</code>; the current project (same as the default variable)</li>
+</ul>
</documentation>
</annotation>
@@ -179,7 +184,6 @@
<documentation>
The following is an example of a Java completion proposal computer contribution:
-<p>
<pre>
<extension point="org.eclipse.jdt.ui.javaCompletionProposalComputer"
id="textual_proposals"
@@ -196,7 +200,6 @@
</javaCompletionProposalComputer>
</extension>
</pre>
-</p>
</documentation>
</annotation>
@@ -223,7 +226,7 @@
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2006, 2012 IBM Corporation and others.<br>
+ Copyright (c) 2006, 2013 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>
diff --git a/org.eclipse.jdt.ui/schema/quickAssistProcessors.exsd b/org.eclipse.jdt.ui/schema/quickAssistProcessors.exsd
index 813bf9c..e8e8b9a 100644
--- a/org.eclipse.jdt.ui/schema/quickAssistProcessors.exsd
+++ b/org.eclipse.jdt.ui/schema/quickAssistProcessors.exsd
@@ -7,13 +7,16 @@
</appInfo>
<documentation>
This extension point allows to add a Quick Assist processor to offer new Quick Assists in the Java editor.
-This extension point supports the <code>enablement</code> tag. Properties to test on are:
-<dl>
-<li>compilationUnit: type ICompilationUnit; the compilation unit the quick assist is applied on</li>
-<li>projectNatures: type Collection; all project natures of the current project</li>
-<li>sourceLevel: type String; the source compliance of the current project</li>
-</dl>
+This extension point supports the <code>&lt;enablement&gt;</code> element.
+<!-- see org.eclipse.jdt.internal.ui.text.correction.ContributedProcessorDescriptor#matches(ICompilationUnit): -->
+The default variable is the containing <code>org.eclipse.jdt.core.ICompilationUnit</code>.
+<br>Defined variables for <code>&lt;with&gt;</code> expressions are:
+<ul>
+<li>"compilationUnit": type <code>org.eclipse.jdt.core.ICompilationUnit</code>; the compilation unit the quick assist is applied on (same as the default variable)</li>
+<li>"projectNatures": type <code>java.util.Collection&lt;String&gt;</code>; all project natures of the current project</li>
+<li>"sourceLevel": type <code>java.lang.String</code>; the source compliance level of the current project</li>
+</ul>
</documentation>
</annotation>
@@ -103,7 +106,6 @@
<documentation>
The following is an example of a Quick Assist processor contribution:
-<p>
<pre>
<extension point="org.eclipse.jdt.ui.quickAssistProcessors">
<quickAssistProcessor
@@ -121,7 +123,6 @@
</enablement>
</extension>
</pre>
-</p>
</documentation>
</annotation>
@@ -157,7 +158,7 @@
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2001, 2004 IBM Corporation and others.<br>
+ Copyright (c) 2001, 2013 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>
diff --git a/org.eclipse.jdt.ui/schema/quickFixProcessors.exsd b/org.eclipse.jdt.ui/schema/quickFixProcessors.exsd
index e15be2f..fe45155 100644
--- a/org.eclipse.jdt.ui/schema/quickFixProcessors.exsd
+++ b/org.eclipse.jdt.ui/schema/quickFixProcessors.exsd
@@ -8,18 +8,19 @@
<documentation>
This extension point allows to add a Quick Fix processor to offer new Quick Fixes on Java problems.
<p>
-Since 3.2 an extension can specify which problem marker types it can handle. It will only get problems of these types to process.
-If no handled marker type are specified, the processor will only get problems of types org.eclipse.jdt.core.problem, org.eclipse.jdt.core.buildpath_problem and org.eclipse.jdt.core.task (compatible to the behaviour prior to 3.2).
+Since 3.2, an extension can specify which problem marker types it can handle. It will only get problems of these types to process.
+If no handled marker types are specified, the processor will only get problems of types org.eclipse.jdt.core.problem, org.eclipse.jdt.core.buildpath_problem and org.eclipse.jdt.core.task (compatible to the behaviour prior to 3.2).
</p>
-<p>
-This extension point supports the <code>enablement</code> tag. Properties to test on are:
-<dl>
-<li>compilationUnit: type ICompilationUnit; the compilation unit the quick assist is applied on</li>
-<li>projectNatures: type Collection; all project natures of the current project</li>
-<li>sourceLevel: type String; the source compliance of the current project</li>
-</dl>
-</p>
+This extension point supports the <code>&lt;enablement&gt;</code> element.
+<!-- see org.eclipse.jdt.internal.ui.text.correction.ContributedProcessorDescriptor#matches(ICompilationUnit): -->
+The default variable is the containing <code>org.eclipse.jdt.core.ICompilationUnit</code>.
+<br>Defined variables for <code>&lt;with&gt;</code> expressions are:
+<ul>
+<li>"compilationUnit": type <code>org.eclipse.jdt.core.ICompilationUnit</code>; the compilation unit the quick assist is applied on (same as the default variable)</li>
+<li>"projectNatures": type <code>java.util.Collection&lt;String&gt;</code>; all project natures of the current project</li>
+<li>"sourceLevel": type <code>java.lang.String</code>; the source compliance level of the current project</li>
+</ul>
</documentation>
</annotation>
@@ -139,7 +140,6 @@
<documentation>
The following is an example of a Quick Fix processor contribution:
-<p>
<pre>
<extension point="org.eclipse.jdt.ui.quickFixProcessors">
<quickFixProcessor
@@ -160,7 +160,6 @@
</quickFixProcessor>
</extension>
</pre>
-</p>
</documentation>
</annotation>
@@ -196,7 +195,7 @@
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2001, 2008 IBM Corporation and others.<br>
+ Copyright (c) 2001, 2013 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>
diff --git a/org.eclipse.ltk.core.refactoring/schema/copyParticipants.exsd b/org.eclipse.ltk.core.refactoring/schema/copyParticipants.exsd
index a864d7b..478d374 100644
--- a/org.eclipse.ltk.core.refactoring/schema/copyParticipants.exsd
+++ b/org.eclipse.ltk.core.refactoring/schema/copyParticipants.exsd
@@ -6,16 +6,19 @@
<meta.schema plugin="org.eclipse.ltk.core.refactoring" id="copyParticipants" name="Copy Participants"/>
</appInfo>
<documentation>
- This extension point is used to define refactoring copy participants. The reader of the expression provides the following predefined variables which can be referenced via the &lt;with variable="..."&gt; expression element:
+ This extension point is used to define refactoring copy participants.
+<p>
+This extension point supports the <code>&lt;enablement&gt;</code> element.
+<!-- see org.eclipse.ltk.core.refactoring.participants.ParticipantExtensionPoint#createEvaluationContext(..): -->
+The default variable is the element to be copied.
+<br>Defined variables for <code>&lt;with&gt;</code> expressions are:
+</p>
<ul>
- <li>Object element: the element to be copied</li>
- <li>List&lt;String&gt; affectedNatures: a list containing the natures of the projects affected
- by the refactoring</li>
- <li>String processorId: the id of the refactoring processor that will own the participant.
+<li>"element": type <code>java.lang.Object</code>; the element to be copied (same as the default variable)</li>
+<li>"affectedNatures": type <code>java.util.List&lt;String&gt;</code>; the natures of all projects affected by the refactoring</li>
+<li>"processorIdentifier": type <code>java.lang.String</code>; the id of the refactoring processor that will own the participant</li>
</ul>
-
-The default variable used during expression evaluation is bound to the element variable.
</documentation>
</annotation>
@@ -158,7 +161,7 @@
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2001, 2005 IBM Corporation and others.<br>
+ Copyright (c) 2001, 2013 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>
diff --git a/org.eclipse.ltk.core.refactoring/schema/createParticipants.exsd b/org.eclipse.ltk.core.refactoring/schema/createParticipants.exsd
index e366d4c..407bc4f 100644
--- a/org.eclipse.ltk.core.refactoring/schema/createParticipants.exsd
+++ b/org.eclipse.ltk.core.refactoring/schema/createParticipants.exsd
@@ -6,16 +6,19 @@
<meta.schema plugin="org.eclipse.ltk.core.refactoring" id="createParticipants" name="Create Participants"/>
</appInfo>
<documentation>
- This extension point is used to define refactoring create participants. The reader of the expression provides the following predefined variables which can be referenced via the &lt;with variable="..."&gt; expression element:
+ This extension point is used to define refactoring create participants.
+<p>
+This extension point supports the <code>&lt;enablement&gt;</code> element.
+<!-- see org.eclipse.ltk.core.refactoring.participants.ParticipantExtensionPoint#createEvaluationContext(..): -->
+The default variable is the element to be created
+<br>Defined variables for <code>&lt;with&gt;</code> expressions are:
+</p>
<ul>
- <li>Object element: the element to be create or a corresponding descriptor</li>
- <li>List&lt;String&gt; affectedNatures: a list containing the natures of the projects affected
- by the refactoring</li>
- <li>String processorId: the id of the refactoring processor that will own the participant.
+<li>"element": type <code>java.lang.Object</code>; the element to be created (same as the default variable)</li>
+<li>"affectedNatures": type <code>java.util.List&lt;String&gt;</code>; the natures of all projects affected by the refactoring</li>
+<li>"processorIdentifier": type <code>java.lang.String</code>; the id of the refactoring processor that will own the participant</li>
</ul>
-
-The default variable used during expression evaluation is bound to the element variable.
</documentation>
</annotation>
@@ -147,7 +150,7 @@
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2001, 2004 IBM Corporation and others.<br>
+ Copyright (c) 2001, 2013 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>
diff --git a/org.eclipse.ltk.core.refactoring/schema/deleteParticipants.exsd b/org.eclipse.ltk.core.refactoring/schema/deleteParticipants.exsd
index c02321b..a888791 100644
--- a/org.eclipse.ltk.core.refactoring/schema/deleteParticipants.exsd
+++ b/org.eclipse.ltk.core.refactoring/schema/deleteParticipants.exsd
@@ -6,16 +6,19 @@
<meta.schema plugin="org.eclipse.ltk.core.refactoring" id="deleteParticipants" name="Delete Participants"/>
</appInfo>
<documentation>
- This extension point is used to define refactoring delete participants. The reader of the expression provides the following predefined variables which can be referenced via the &lt;with variable="..."&gt; expression element:
+ This extension point is used to define refactoring delete participants.
+<p>
+This extension point supports the <code>&lt;enablement&gt;</code> element.
+<!-- see org.eclipse.ltk.core.refactoring.participants.ParticipantExtensionPoint#createEvaluationContext(..): -->
+The default variable is the element to be deleted.
+<br>Defined variables for <code>&lt;with&gt;</code> expressions are:
+</p>
<ul>
- <li>Object element: the element to be deleted</li>
- <li>List&lt;String&gt; affectedNatures: a list containing the natures of the projects affected
- by the refactoring</li>
- <li>String processorId: the id of the refactoring processor that will own the participant.
+<li>"element": type <code>java.lang.Object</code>; the element to be deleted (same as the default variable)</li>
+<li>"affectedNatures": type <code>java.util.List&lt;String&gt;</code>; the natures of all projects affected by the refactoring</li>
+<li>"processorIdentifier": type <code>java.lang.String</code>; the id of the refactoring processor that will own the participant</li>
</ul>
-
-The default variable used during expression evaluation is bound to the element variable.
</documentation>
</annotation>
@@ -147,7 +150,7 @@
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2001, 2004 IBM Corporation and others.<br>
+ Copyright (c) 2001, 2013 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>
diff --git a/org.eclipse.ltk.core.refactoring/schema/moveParticipants.exsd b/org.eclipse.ltk.core.refactoring/schema/moveParticipants.exsd
index 9218258..151cfb7 100644
--- a/org.eclipse.ltk.core.refactoring/schema/moveParticipants.exsd
+++ b/org.eclipse.ltk.core.refactoring/schema/moveParticipants.exsd
@@ -6,16 +6,19 @@
<meta.schema plugin="org.eclipse.ltk.core.refactoring" id="moveParticipants" name="Move Participants"/>
</appInfo>
<documentation>
- This extension point is used to define refactoring move participants. The reader of the expression provides the following predefined variables which can be referenced via the &lt;with variable="..."&gt; expression element:
+ This extension point is used to define refactoring move participants.
+<p>
+This extension point supports the <code>&lt;enablement&gt;</code> element.
+<!-- see org.eclipse.ltk.core.refactoring.participants.ParticipantExtensionPoint#createEvaluationContext(..): -->
+The default variable is the element to be moved.
+<br>Defined variables for <code>&lt;with&gt;</code> expressions are:
+</p>
<ul>
- <li>Object element: the element to be moved</li>
- <li>List&lt;String&gt; affectedNatures: a list containing the natures of the projects affected
- by the refactoring</li>
- <li>String processorId: the id of the refactoring processor that will own the participant.
+<li>"element": type <code>java.lang.Object</code>; the element to be moved (same as the default variable)</li>
+<li>"affectedNatures": type <code>java.util.List&lt;String&gt;</code>; the natures of all projects affected by the refactoring</li>
+<li>"processorIdentifier": type <code>java.lang.String</code>; the id of the refactoring processor that will own the participant</li>
</ul>
-
-The default variable used during expression evaluation is bound to the element variable.
</documentation>
</annotation>
@@ -148,7 +151,7 @@
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2001, 2004 IBM Corporation and others.<br>
+ Copyright (c) 2001, 2013 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>
diff --git a/org.eclipse.ltk.core.refactoring/schema/renameParticipants.exsd b/org.eclipse.ltk.core.refactoring/schema/renameParticipants.exsd
index 99a3327..b2810a0 100644
--- a/org.eclipse.ltk.core.refactoring/schema/renameParticipants.exsd
+++ b/org.eclipse.ltk.core.refactoring/schema/renameParticipants.exsd
@@ -6,16 +6,19 @@
<meta.schema plugin="org.eclipse.ltk.core.refactoring" id="renameParticipants" name="Rename Participants"/>
</appInfo>
<documentation>
- This extension point is used to define refactoring rename participants. The reader of the expression provides the following predefined variables which can be referenced via the &lt;with variable="..."&gt; expression element:
+ This extension point is used to define refactoring rename participants.
+<p>
+This extension point supports the <code>&lt;enablement&gt;</code> element.
+<!-- see org.eclipse.ltk.core.refactoring.participants.ParticipantExtensionPoint#createEvaluationContext(..): -->
+The default variable is the element to be renamed.
+<br>Defined variables for <code>&lt;with&gt;</code> expressions are:
+</p>
<ul>
- <li>Object element: the element to be renamed</li>
- <li>List&lt;String&gt; affectedNatures: a list containing the natures of the projects affected
- by the refactoring</li>
- <li>String processorId: the id of the refactoring processor that will own the participant.
+<li>"element": type <code>java.lang.Object</code>; the element to be renamed (same as the default variable)</li>
+<li>"affectedNatures": type <code>java.util.List&lt;String&gt;</code>; the natures of all projects affected by the refactoring</li>
+<li>"processorIdentifier": type <code>java.lang.String</code>; the id of the refactoring processor that will own the participant</li>
</ul>
-
-The default variable used during expression evaluation is bound to the element variable.
</documentation>
</annotation>
@@ -170,7 +173,7 @@
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2001, 2005 IBM Corporation and others.<br>
+ Copyright (c) 2001, 2013 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>
diff --git a/org.eclipse.ltk.ui.refactoring/schema/changePreviewViewers.exsd b/org.eclipse.ltk.ui.refactoring/schema/changePreviewViewers.exsd
index a0242e1..a22cb52 100644
--- a/org.eclipse.ltk.ui.refactoring/schema/changePreviewViewers.exsd
+++ b/org.eclipse.ltk.ui.refactoring/schema/changePreviewViewers.exsd
@@ -6,16 +6,17 @@
<meta.schema plugin="org.eclipse.ltk.ui.refactoring" id="changePreviewViewers" name="Refactoring Change Preview Viewers"/>
</appInfo>
<documentation>
- This extension point is used to define a special viewer capable to present change objects. The reader of
- the extension point provides the following predefined variables which can be accessed during
- expression evaluation using the &lt;with variable="..."/&gt; tag:
+ This extension point is used to define a special viewer capable to present change objects.
+
<p>
-<dl>
- <dt>change</dt>
- <dd>the change object to present a preview for</dd>
-</dl>
+This extension point supports the <code>&lt;enablement&gt;</code> element.
+<!-- see org.eclipse.ltk.internal.ui.refactoring.AbstractDescriptor#matches(Object, String): -->
+The default variable is the change object to present a preview for.
+<br>Defined variables for <code>&lt;with&gt;</code> expressions are:
</p>
-The default variable used during expression evaluation is bound to the change variable.
+<ul>
+<li>"change": type <code>org.eclipse.ltk.core.refactoring.Change</code>; the change object to present a preview for (same as the default variable)</li>
+</ul>
</documentation>
</annotation>
@@ -131,7 +132,7 @@
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2001, 2004 IBM Corporation and others.<br>
+ Copyright (c) 2001, 2013 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>
diff --git a/org.eclipse.ltk.ui.refactoring/schema/statusContextViewers.exsd b/org.eclipse.ltk.ui.refactoring/schema/statusContextViewers.exsd
index 38bec24..7428c7e 100644
--- a/org.eclipse.ltk.ui.refactoring/schema/statusContextViewers.exsd
+++ b/org.eclipse.ltk.ui.refactoring/schema/statusContextViewers.exsd
@@ -6,15 +6,17 @@
<meta.schema plugin="org.eclipse.ltk.ui.refactoring" id="statusContextViewers" name="Refactoring Status Context Viewers"/>
</appInfo>
<documentation>
- This extension point is used to define a special viewer capable to present the context of a refactoring status entry to the user. The reader of the extension point provides the following predefined variables which can be accessed during expression evaluation using the &lt;with variable="..."/&gt; tag:
+ This extension point is used to define a special viewer capable to present the context of a refactoring status entry to the user.
+
<p>
-<dl>
- <dt>context</dt>
- <dd>the context object managed by the refactoring status entry that is to be presented
- in the user interface.</dd>
-</dl>
+This extension point supports the <code>&lt;enablement&gt;</code> element.
+<!-- see org.eclipse.ltk.internal.ui.refactoring.AbstractDescriptor#matches(Object, String): -->
+The default variable is the refactoring status context.
+<br>Defined variables for <code>&lt;with&gt;</code> expressions are:
</p>
-Variables can be accessed using the &lt;with variable="..."/&gt; expression. The default variable used during expression evaluation is bound to the context variable.
+<ul>
+<li>"context": type <code>org.eclipse.ltk.core.refactoring.RefactoringStatusContext</code>; the context object managed by the refactoring status entry that is to be presented in the user interface (same as the default variable)</li>
+</ul>
</documentation>
</annotation>
@@ -130,7 +132,7 @@
<meta.section type="copyright"/>
</appInfo>
<documentation>
- Copyright (c) 2001, 2004 IBM Corporation and others.<br>
+ Copyright (c) 2001, 2013 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>