From 7082dd9c9ab28760ad0148f50b8dd66bdb6622f7 Mon Sep 17 00:00:00 2001 From: Markus Keller Date: Mon, 2 Nov 2015 19:07:26 +0100 Subject: Bug 462633: Enable save actions for annotations Added missing @Override/@Deprecated in cocoa--- .../emulated/expand/org/eclipse/swt/widgets/ExpandBar.java | 6 ++++++ .../emulated/expand/org/eclipse/swt/widgets/ExpandItem.java | 3 +++ 2 files changed, 9 insertions(+) (limited to 'bundles/org.eclipse.swt/Eclipse SWT/emulated') diff --git a/bundles/org.eclipse.swt/Eclipse SWT/emulated/expand/org/eclipse/swt/widgets/ExpandBar.java b/bundles/org.eclipse.swt/Eclipse SWT/emulated/expand/org/eclipse/swt/widgets/ExpandBar.java index fc2e9dc3fc..9bf32060d4 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/emulated/expand/org/eclipse/swt/widgets/ExpandBar.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/emulated/expand/org/eclipse/swt/widgets/ExpandBar.java @@ -151,10 +151,12 @@ static int checkStyle (int style) { return style & ~SWT.H_SCROLL; } +@Override protected void checkSubclass () { if (!isValidSubclass ()) error (SWT.ERROR_INVALID_SUBCLASS); } +@Override public Point computeSize (int wHint, int hHint, boolean changed) { checkWidget (); int height = 0, width = 0; @@ -226,6 +228,7 @@ int getBandHeight () { return Math.max (ExpandItem.CHEVRON_SIZE, metrics.getHeight ()); } +@Override public Color getForeground () { checkWidget (); if (foreground == null) { @@ -379,6 +382,7 @@ public void removeExpandListener (ExpandListener listener) { eventTable.unhook (SWT.Collapse, listener); } +@Override void reskinChildren (int flags) { if (items != null) { for (int i=0; i