Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2016-02-25 03:27:54 -0500
committerDani Megert2016-02-25 03:27:54 -0500
commit90ec1d143b76de42d1a98c01e142ae90ebc0aec8 (patch)
tree6c7237d065718dee6309889f957a6e7afbe557ea /org.eclipse.text
parent9eed8099525346097ff1b50e9fa317249dc283b4 (diff)
downloadeclipse.platform.text-90ec1d143b76de42d1a98c01e142ae90ebc0aec8.tar.gz
eclipse.platform.text-90ec1d143b76de42d1a98c01e142ae90ebc0aec8.tar.xz
eclipse.platform.text-90ec1d143b76de42d1a98c01e142ae90ebc0aec8.zip
Added missing Javadoc for public constructor
Diffstat (limited to 'org.eclipse.text')
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/templates/GlobalTemplateVariables.java11
1 files changed, 8 insertions, 3 deletions
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/templates/GlobalTemplateVariables.java b/org.eclipse.text/src/org/eclipse/jface/text/templates/GlobalTemplateVariables.java
index c70305378..fd9d4fa26 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/templates/GlobalTemplateVariables.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/templates/GlobalTemplateVariables.java
@@ -51,13 +51,18 @@ public class GlobalTemplateVariables {
}
/**
- * The base class for text selection variables that allows to return the current text selection. Sub-classes can
- * define the name and the description of the variable via the constructor
- *
+ * The selection variable determines templates that work on a selection.
+ *
* @since 3.6
*/
public static class Selection extends SimpleTemplateVariableResolver {
+ /**
+ * Creates a word selection variable.
+ *
+ * @param name the name of the variable
+ * @param description the description of the variable
+ */
public Selection(String name, String description) {
super(name, description);
}

Back to the top