diff options
| author | Lars Vogel | 2014-01-24 05:46:12 +0000 |
|---|---|---|
| committer | Lars Vogel | 2014-01-24 19:46:15 +0000 |
| commit | cc7f0894dff41a67d5e732bc15e60d4c1c2fd15c (patch) | |
| tree | f57d19a4729c8e340a869df99f9dc27c9d32c521 | |
| parent | 92ed79170250f3b070e129d54c165b31a9a430dd (diff) | |
| download | eclipse.platform.ui-cc7f0894dff41a67d5e732bc15e60d4c1c2fd15c.tar.gz eclipse.platform.ui-cc7f0894dff41a67d5e732bc15e60d4c1c2fd15c.tar.xz eclipse.platform.ui-cc7f0894dff41a67d5e732bc15e60d4c1c2fd15c.zip | |
Bug 425962 - Remove (non-Javadoc) @see statements if @Override is used
Also fixes a cut and paste comment error and removes two line of comment
out code
Change-Id: If1cebeb67057d61a84033902e71525bffb8d320d
Signed-off-by: Lars Vogel <Lars.Vogel@gmail.com>
| -rw-r--r-- | bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/ToolBarRenderer.java | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/ToolBarRenderer.java b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/ToolBarRenderer.java index 1c3840c0ed0..c62502eca95 100644 --- a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/ToolBarRenderer.java +++ b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/ToolBarRenderer.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2009, 2013 IBM Corporation and others. + * Copyright (c) 2009, 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 @@ -10,11 +10,10 @@ *******************************************************************************/ package org.eclipse.e4.ui.workbench.renderers.swt; -import org.eclipse.e4.core.commands.ExpressionContext; - import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; +import org.eclipse.e4.core.commands.ExpressionContext; import org.eclipse.e4.core.contexts.IEclipseContext; import org.eclipse.e4.core.contexts.RunAndTrack; import org.eclipse.e4.ui.internal.workbench.ContributionsAnalyzer; @@ -40,20 +39,13 @@ import org.eclipse.swt.widgets.ToolItem; import org.eclipse.swt.widgets.Widget; /** - * Create a contribute part. + * Create a toolbar */ public class ToolBarRenderer extends SWTPartRenderer { private MApplication application; HashMap<MToolBar, ArrayList<ArrayList<MToolBarElement>>> pendingCleanup = new HashMap<MToolBar, ArrayList<ArrayList<MToolBarElement>>>(); - /* - * (non-Javadoc) - * - * @see - * org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer#init(org.eclipse - * .e4.core.contexts.IEclipseContext) - */ @Override public void init(IEclipseContext context) { super.init(context); @@ -83,8 +75,6 @@ public class ToolBarRenderer extends SWTPartRenderer { layout.marginLeft = 3; layout.center = true; intermediate.setLayout(layout); - // new Label(intermediate, (orientation == SWT.HORIZONTAL ? SWT.VERTICAL - // : SWT.HORIZONTAL) | SWT.SEPARATOR); ToolBar separatorToolBar = new ToolBar(intermediate, orientation | SWT.WRAP | SWT.FLAT | SWT.RIGHT); new ToolItem(separatorToolBar, SWT.SEPARATOR); |
