Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2015-06-18 09:03:52 +0000
committerDani Megert2015-06-18 09:03:52 +0000
commit51e6314d57a071d117179811c7110251016dc584 (patch)
tree2d27d9a66dd84bb3f842e321b250d6f8f34d92f8
parentd6c0eebcf07bc162a5bc2d4c82b74ef5b99f0f86 (diff)
downloadeclipse.platform.ui-51e6314d57a071d117179811c7110251016dc584.tar.gz
eclipse.platform.ui-51e6314d57a071d117179811c7110251016dc584.tar.xz
eclipse.platform.ui-51e6314d57a071d117179811c7110251016dc584.zip
Revert "Bug 470365 - Add missing annotations to org.eclipse.jface.snippets"
-rw-r--r--examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/dialogs/Snippet012DialogWithImageButtons.java1
-rw-r--r--examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/dialogs/Snippet060DialogWithURLImageButtons.java1
-rw-r--r--examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/window/Snippet020CustomizedControlTooltips.java7
3 files changed, 0 insertions, 9 deletions
diff --git a/examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/dialogs/Snippet012DialogWithImageButtons.java b/examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/dialogs/Snippet012DialogWithImageButtons.java
index 57011102cef..578ec8f61bd 100644
--- a/examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/dialogs/Snippet012DialogWithImageButtons.java
+++ b/examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/dialogs/Snippet012DialogWithImageButtons.java
@@ -44,7 +44,6 @@ public class Snippet012DialogWithImageButtons {
return desc;
}
- @Override
protected Button createButton(Composite parent, int id, String label, boolean defaultButton) {
Button b = super.createButton(parent, id, label, defaultButton);
if( id == IDialogConstants.OK_ID ) {
diff --git a/examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/dialogs/Snippet060DialogWithURLImageButtons.java b/examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/dialogs/Snippet060DialogWithURLImageButtons.java
index 712c870bbfa..79682909a14 100644
--- a/examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/dialogs/Snippet060DialogWithURLImageButtons.java
+++ b/examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/dialogs/Snippet060DialogWithURLImageButtons.java
@@ -51,7 +51,6 @@ public class Snippet060DialogWithURLImageButtons {
return desc;
}
- @Override
protected Button createButton(Composite parent, int id,
String label, boolean defaultButton) {
Button b = super.createButton(parent, id, label, defaultButton);
diff --git a/examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/window/Snippet020CustomizedControlTooltips.java b/examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/window/Snippet020CustomizedControlTooltips.java
index 0c73a938d21..c5505a27bad 100644
--- a/examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/window/Snippet020CustomizedControlTooltips.java
+++ b/examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/window/Snippet020CustomizedControlTooltips.java
@@ -66,7 +66,6 @@ public class Snippet020CustomizedControlTooltips {
this.parentShell = control.getShell();
}
- @Override
protected Composite createToolTipContentArea(Event event,
Composite parent) {
Composite comp = new Composite(parent,SWT.NONE);
@@ -123,7 +122,6 @@ public class Snippet020CustomizedControlTooltips {
helpIcon.setImage(JFaceResources.getImage(HEADER_HELP_ICON));
helpIcon.addMouseListener(new MouseAdapter() {
- @Override
public void mouseDown(MouseEvent e) {
hide();
openHelp();
@@ -136,7 +134,6 @@ public class Snippet020CustomizedControlTooltips {
closeIcon.setImage(JFaceResources.getImage(HEADER_CLOSE_ICON));
closeIcon.addMouseListener(new MouseAdapter() {
- @Override
public void mouseDown(MouseEvent e) {
parentShell.setFocus();
hide();
@@ -170,7 +167,6 @@ public class Snippet020CustomizedControlTooltips {
MyToolTip myTooltipLabel = new MyToolTip(text) {
- @Override
protected Composite createContentArea(Composite parent) {
Composite comp = super.createContentArea(parent);
comp.setBackground(parent.getDisplay().getSystemColor(SWT.COLOR_INFO_BACKGROUND));
@@ -181,7 +177,6 @@ public class Snippet020CustomizedControlTooltips {
l.setText("This a custom tooltip you can: \n- pop up any control you want\n- define delays\n - ... \nGo and get Eclipse M4 from <a>http://www.eclipse.org</a>");
l.setBackground(parent.getDisplay().getSystemColor(SWT.COLOR_INFO_BACKGROUND));
l.addSelectionListener(new SelectionAdapter() {
- @Override
public void widgetSelected(SelectionEvent e) {
openURL();
}
@@ -196,7 +191,6 @@ public class Snippet020CustomizedControlTooltips {
box.open();
}
- @Override
protected void openHelp() {
MessageBox box = new MessageBox(parent,SWT.ICON_INFORMATION);
box.setText("Info");
@@ -224,7 +218,6 @@ public class Snippet020CustomizedControlTooltips {
toolTipDelayed.setHideDelay(2000);
b.addSelectionListener(new SelectionAdapter() {
- @Override
public void widgetSelected(SelectionEvent e) {
toolTipDelayed.show(new Point(0,0));
}

Back to the top