aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatiasbargas2014-03-18 23:10:24 (EDT)
committerPaul Webster2014-03-18 23:28:05 (EDT)
commit2ae9ac674fcf03bda5b85d1a554668a90deae6f3 (patch)
tree1a383ea7ca6df57cfa95070793974942312f2069
parent9dddb1b7b97c6502a9140e2dac80672f413b8415 (diff)
downloadeclipse.platform.ui-2ae9ac674fcf03bda5b85d1a554668a90deae6f3.zip
eclipse.platform.ui-2ae9ac674fcf03bda5b85d1a554668a90deae6f3.tar.gz
eclipse.platform.ui-2ae9ac674fcf03bda5b85d1a554668a90deae6f3.tar.bz2
Bug 425962 - [New Contributors] Remove (non-Javadoc) @see statements ifrefs/changes/70/23570/3
@Override is used Change-Id: Ia76c10f8defef60396a6597e44be111d9641dec9 Signed-off-by: matiasbargas <matiasbargas@gmail.com>
-rw-r--r--bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/dom/SWTElementProvider.java24
1 files changed, 5 insertions, 19 deletions
diff --git a/bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/dom/SWTElementProvider.java b/bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/dom/SWTElementProvider.java
index 3b9c7ac..5f4a348 100644
--- a/bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/dom/SWTElementProvider.java
+++ b/bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/dom/SWTElementProvider.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008, 2012 Angelo Zerr and others.
+ * Copyright (c) 2008, 2014 Angelo Zerr and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -31,33 +31,21 @@ import org.w3c.dom.Element;
/**
* {@link IElementProvider} SWT implementation to retrieve w3c Element
* {@link SWTElement} linked to SWT widget.
- *
+ *
* @version 1.0.0
* @author <a href="mailto:angelo.zerr@gmail.com">Angelo ZERR</a>
- *
+ *
*/
public class SWTElementProvider implements IElementProvider {
public static final IElementProvider INSTANCE = new SWTElementProvider();
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.e4.ui.core.css.dom.IElementProvider#getElement(java.lang.
- * Object)
- */
+
+ @Override
public Element getElement(Object element, CSSEngine engine) {
return createElement(element, engine);
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.e4.ui.core.css.dom.IElementProvider#getElement(java.lang.
- * Object)
- */
public CSSStylableElement createElement(Object element, CSSEngine engine) {
if (element instanceof Text) {
return new TextElement((Text) element, engine);
@@ -77,8 +65,6 @@ public class SWTElementProvider implements IElementProvider {
if (element instanceof ToolBar) {
return new ToolBarElement((ToolBar) element, engine);
}
-
-
if (element instanceof Composite) {
return new CompositeElement((Composite) element, engine);
}