diff options
author | Alexander Kurtakov | 2015-01-16 08:19:33 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2015-01-16 08:19:33 +0000 |
commit | cf782bef8144c630c0ea9521c42cfc62b7b28749 (patch) | |
tree | 4dd68e1f6d8d0c6d5128b50a518fd670d24ca77b /examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/paint/PencilTool.java | |
parent | 1ad398c952cf65a06a8c45b79460569993773afe (diff) | |
download | eclipse.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.java | 4 |
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"); } |