aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Cabrera2014-03-18 22:58:03 (EDT)
committerpablocabrera852014-03-18 23:12:36 (EDT)
commit9dddb1b7b97c6502a9140e2dac80672f413b8415 (patch)
tree1ba5b5146caf1f48ab5d7310ccba41ca6e94a36b
parentdc8c2e2a43871bbd8232a6931660a6a628c4cd8a (diff)
downloadeclipse.platform.ui-9dddb1b7b97c6502a9140e2dac80672f413b8415.zip
eclipse.platform.ui-9dddb1b7b97c6502a9140e2dac80672f413b8415.tar.gz
eclipse.platform.ui-9dddb1b7b97c6502a9140e2dac80672f413b8415.tar.bz2
Bug 425962 - [New Contributors] Remove (non-Javadoc) @see statements ifrefs/changes/68/23568/2
@Override is used Change-Id: I46b8b453efdca1bb77612b256f95727f7a9c6909 Signed-off-by: pcabrera <pablo.cabrera@mulesoft.com>
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/activities/ActivityCategoryPreferencePage.java57
1 files changed, 10 insertions, 47 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/activities/ActivityCategoryPreferencePage.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/activities/ActivityCategoryPreferencePage.java
index 9df34f3..448f28e 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/activities/ActivityCategoryPreferencePage.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/activities/ActivityCategoryPreferencePage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 20014 IBM Corporation and others.
+ * Copyright (c) 2005, 2014 IBM Corporation 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
@@ -193,12 +193,7 @@ public final class ActivityCategoryPreferencePage extends PreferencePage impleme
PlatformUI.PLUGIN_ID, "icons/full/ovr16/lock_ovr.png"); //$NON-NLS-1$
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.jface.viewers.ITableLabelProvider#getColumnImage(java.lang.Object,
- * int)
- */
+ @Override
public Image getColumnImage(Object element, int columnIndex) {
ICategory category = (ICategory) element;
ImageDescriptor descriptor = PlatformUI.getWorkbench()
@@ -240,9 +235,7 @@ public final class ActivityCategoryPreferencePage extends PreferencePage impleme
return name;
}
- /* (non-Javadoc)
- * @see org.eclipse.jface.viewers.ITableLabelProvider#getColumnText(java.lang.Object, int)
- */
+ @Override
public String getColumnText(Object element, int columnIndex) {
return getText(element);
}
@@ -253,11 +246,7 @@ public final class ActivityCategoryPreferencePage extends PreferencePage impleme
manager.dispose();
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.activities.IActivityManagerListener#activityManagerChanged(org.eclipse.ui.activities.ActivityManagerEvent)
- */
+ @Override
public void activityManagerChanged(
ActivityManagerEvent activityManagerEvent) {
if (activityManagerEvent.haveEnabledActivityIdsChanged()) {
@@ -269,32 +258,19 @@ public final class ActivityCategoryPreferencePage extends PreferencePage impleme
private class CategoryContentProvider implements IStructuredContentProvider {
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object)
- */
+ @Override
public Object[] getElements(Object inputElement) {
// convert to category objects
return WorkbenchActivityHelper.resolveCategories(workingCopy,
(Set) inputElement);
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.jface.viewers.IContentProvider#dispose()
- */
+ @Override
public void dispose() {
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer,
- * java.lang.Object, java.lang.Object)
- */
+ @Override
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
}
@@ -524,11 +500,7 @@ public final class ActivityCategoryPreferencePage extends PreferencePage impleme
categoryViewer
.addSelectionChangedListener(new ISelectionChangedListener() {
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.jface.viewers.ISelectionChangedListener#selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent)
- */
+ @Override
public void selectionChanged(SelectionChangedEvent event) {
ICategory element = (ICategory) ((IStructuredSelection) event
.getSelection()).getFirstElement();
@@ -600,11 +572,7 @@ public final class ActivityCategoryPreferencePage extends PreferencePage impleme
descriptionText.setText(""); //$NON-NLS-1$
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
- */
+ @Override
public void init(IWorkbench workbench) {
this.workbench = workbench;
workingCopy = workbench.getActivitySupport().createWorkingCopy();
@@ -657,12 +625,7 @@ public final class ActivityCategoryPreferencePage extends PreferencePage impleme
workingCopy.setEnabledActivityIds(defaultEnabled);
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.core.runtime.IExecutableExtension#setInitializationData(org.eclipse.core.runtime.IConfigurationElement,
- * java.lang.String, java.lang.Object)
- */
+ @Override
public void setInitializationData(IConfigurationElement config,
String propertyName, Object data) {
if (data instanceof Hashtable) {