Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2015-01-16 08:19:33 +0000
committerAlexander Kurtakov2015-01-16 08:19:33 +0000
commitcf782bef8144c630c0ea9521c42cfc62b7b28749 (patch)
tree4dd68e1f6d8d0c6d5128b50a518fd670d24ca77b /examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/paint/PencilTool.java
parent1ad398c952cf65a06a8c45b79460569993773afe (diff)
downloadeclipse.platform.swt-cf782bef8144c630c0ea9521c42cfc62b7b28749.tar.gz
eclipse.platform.swt-cf782bef8144c630c0ea9521c42cfc62b7b28749.tar.xz
eclipse.platform.swt-cf782bef8144c630c0ea9521c42cfc62b7b28749.zip
Bug 457657 - Move swt.examples to Java 1.6
Bump BREE, fix new warnings and enable save actions. Change-Id: I4b64b22e5b05a296a9704255684346972c4afad6 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/paint/PencilTool.java')
-rw-r--r--examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/paint/PencilTool.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/paint/PencilTool.java b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/paint/PencilTool.java
index 305ac9b4e3..bcb63daf26 100644
--- a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/paint/PencilTool.java
+++ b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/paint/PencilTool.java
@@ -11,7 +11,7 @@
package org.eclipse.swt.examples.paint;
-import org.eclipse.swt.graphics.*;
+import org.eclipse.swt.graphics.Point;
/**
* A pencil tool.
@@ -35,6 +35,7 @@ public class PencilTool extends ContinuousPaintSession implements PaintTool {
*
* @param toolSettings the new tool settings
*/
+ @Override
public void set(ToolSettings toolSettings) {
settings = toolSettings;
}
@@ -44,6 +45,7 @@ public class PencilTool extends ContinuousPaintSession implements PaintTool {
*
* @return the localized name of this tool
*/
+ @Override
public String getDisplayName() {
return PaintExample.getResourceString("tool.Pencil.label");
}

Back to the top