Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKalyan Prasad Tatavarthi2019-05-16 06:43:08 +0000
committerKalyan Prasad Tatavarthi2019-05-16 06:47:59 +0000
commitfaa0a0aef4b0376d723906320a6d325f22c07447 (patch)
tree6430c5e05b4282b186d4e5157aa458b2053ca917
parent9bfa97fadcef61fb92240ead91498d398118ac2d (diff)
downloadnews-faa0a0aef4b0376d723906320a6d325f22c07447.tar.gz
news-faa0a0aef4b0376d723906320a6d325f22c07447.tar.xz
news-faa0a0aef4b0376d723906320a6d325f22c07447.zip
Bug 545417 - [12] New Code templates for Switch case and Expression
Change-Id: I3b5e2aec5f8d185b83eeb1ecf7d980779dd16b0a Signed-off-by: Kalyan Prasad Tatavarthi <kalyan_prasad@in.ibm.com>
-rw-r--r--4.12/images/switch_case_expression.pngbin0 -> 52512 bytes
-rw-r--r--4.12/images/switch_expression_templates.pngbin0 -> 3817 bytes
-rw-r--r--4.12/images/switch_labeled_expression.pngbin0 -> 57033 bytes
-rw-r--r--4.12/images/switch_labeled_statement.pngbin0 -> 56684 bytes
-rw-r--r--4.12/jdt.html27
5 files changed, 26 insertions, 1 deletions
diff --git a/4.12/images/switch_case_expression.png b/4.12/images/switch_case_expression.png
new file mode 100644
index 00000000..c33ab530
--- /dev/null
+++ b/4.12/images/switch_case_expression.png
Binary files differ
diff --git a/4.12/images/switch_expression_templates.png b/4.12/images/switch_expression_templates.png
new file mode 100644
index 00000000..ff63ceee
--- /dev/null
+++ b/4.12/images/switch_expression_templates.png
Binary files differ
diff --git a/4.12/images/switch_labeled_expression.png b/4.12/images/switch_labeled_expression.png
new file mode 100644
index 00000000..33fd1529
--- /dev/null
+++ b/4.12/images/switch_labeled_expression.png
Binary files differ
diff --git a/4.12/images/switch_labeled_statement.png b/4.12/images/switch_labeled_statement.png
new file mode 100644
index 00000000..82580f68
--- /dev/null
+++ b/4.12/images/switch_labeled_statement.png
Binary files differ
diff --git a/4.12/jdt.html b/4.12/jdt.html
index 1c3a5c5b..1a96c254 100644
--- a/4.12/jdt.html
+++ b/4.12/jdt.html
@@ -193,7 +193,6 @@ ul {padding-left: 13px;}
<p>
<img src="images/ctrlclickimpl.png" alt=""/>
</p>
- <p>
</td>
</tr>
@@ -210,6 +209,32 @@ ul {padding-left: 13px;}
</p>
</td>
</tr>
+
+ <tr id="new-switch_labeled_statment_expression_template "> <!-- https://bugs.eclipse.org/bugs/show_bug.cgi?id=545417 -->
+ <td class="title">Template to create Switch Labeled Statement and Switch Expressions</td>
+ <td class="content">
+ The Java Editor now offers new template for the creation of a Switch Labeled Statement as well as Switch Expressions.
+ On a switch statement 3 new templates <b>Switch Labeled Statement</b>, <b>Switch Case Expression </b> and <b> Switch Labeled Expression</b>
+ templates are available as shown below
+ <p>
+ <img src="images/switch_labeled_statement.png" alt="" />
+ </p>
+ <p>
+ <img src="images/switch_case_expression.png" alt="" />
+ </p>
+ <p>
+ <img src="images/switch_labeled_expression.png" alt="" />
+ </p>
+
+ If <b>switch</b> is being used as an expression , then only <b>Switch Case Expression </b> and <b> Switch Labeled Expression</b>
+ templates are available as shown below
+ <p>
+ <img src="images/switch_expression_templates.png" alt="" />
+ </p>
+
+ </td>
+ </tr>
+
<!-- ******************* End of Java Editor ************************************* -->
<!-- ******************* Java Views and Dialogs ************************************* -->

Back to the top