Skip to content
Snippets Groups Projects
Commit bb189166 authored by dgelessus's avatar dgelessus
Browse files

Remove useless "non-Javadoc" comments

parent 4ca6ff73
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 190 deletions
......@@ -59,13 +59,6 @@ public class BMotionEditorPlugin extends AbstractUIPlugin {
public BMotionEditorPlugin() {
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
* )
*/
@Override
public void start(final BundleContext context) throws Exception {
super.start(context);
......@@ -73,13 +66,6 @@ public class BMotionEditorPlugin extends AbstractUIPlugin {
initExtensionClasses();
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
* )
*/
@Override
public void stop(final BundleContext context) throws Exception {
plugin = null;
......
......@@ -257,11 +257,6 @@ public class BMotionStudioEditorPage extends GraphicalEditorWithFlyoutPalette {
}
}
/*
* (non-Javadoc)
*
* @see org.eclipse.ui.IWorkbenchPart#dispose()
*/
public void dispose() {
// remove CommandStackListener
getCommandStack().removeCommandStackListener(getCommandStackListener());
......
......@@ -67,11 +67,6 @@ public class ConnectionCreateCommand extends Command {
this.source = source;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.gef.commands.Command#canExecute()
*/
public boolean canExecute() {
// disallow source -> source connections
if (source.equals(target)) {
......@@ -88,11 +83,6 @@ public class ConnectionCreateCommand extends Command {
return true;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.gef.commands.Command#execute()
*/
public void execute() {
// create a new connection between source and target
connection.setSource(source);
......@@ -100,11 +90,6 @@ public class ConnectionCreateCommand extends Command {
connection.reconnect();
}
/*
* (non-Javadoc)
*
* @see org.eclipse.gef.commands.Command#redo()
*/
public void redo() {
connection.reconnect();
}
......@@ -124,11 +109,6 @@ public class ConnectionCreateCommand extends Command {
this.target = target;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.gef.commands.Command#undo()
*/
public void undo() {
connection.disconnect();
}
......
......@@ -41,20 +41,10 @@ public class ConnectionDeleteCommand extends Command {
this.connection = conn;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.gef.commands.Command#execute()
*/
public void execute() {
connection.disconnect();
}
/*
* (non-Javadoc)
*
* @see org.eclipse.gef.commands.Command#undo()
*/
public void undo() {
connection.reconnect();
}
......
......@@ -58,11 +58,6 @@ public class ConnectionReconnectCommand extends Command {
/** The original target endpoint. */
private BControl oldTarget;
/*
* (non-Javadoc)
*
* @see org.eclipse.gef.commands.Command#canExecute()
*/
public boolean canExecute() {
if (newSource != null) {
return checkSourceReconnection();
......
......@@ -75,22 +75,12 @@ public class TextEditorWindow extends Window {
super.configureShell(newShell);
}
/*
* (non-Javadoc)
*
* @see org.eclipse.jface.window.Window#setReturnCode(int)
*/
@Override
protected void setReturnCode(int code) {
result.setReturncode(code);
super.setReturnCode(code);
}
/*
* (non-Javadoc)
*
* @see org.eclipse.jface.window.Window#close()
*/
@Override
public boolean close() {
result.setValue(text.getText());
......
......@@ -17,14 +17,6 @@ import de.bmotionstudio.gef.editor.model.BConnection;
import de.bmotionstudio.gef.editor.model.BControl;
public class BMSConnectionEditPolicy extends GraphicalNodeEditPolicy {
/*
* (non-Javadoc)
*
* @see org.eclipse.gef.editpolicies.GraphicalNodeEditPolicy#
* getConnectionCompleteCommand
* (org.eclipse.gef.requests.CreateConnectionRequest)
*/
protected Command getConnectionCompleteCommand(
CreateConnectionRequest request) {
ConnectionCreateCommand cmd = null;
......@@ -36,13 +28,6 @@ public class BMSConnectionEditPolicy extends GraphicalNodeEditPolicy {
return cmd;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.gef.editpolicies.GraphicalNodeEditPolicy#
* getConnectionCreateCommand
* (org.eclipse.gef.requests.CreateConnectionRequest)
*/
protected Command getConnectionCreateCommand(CreateConnectionRequest request) {
ConnectionCreateCommand cmd = null;
Object newObject = request.getNewObject();
......@@ -57,12 +42,6 @@ public class BMSConnectionEditPolicy extends GraphicalNodeEditPolicy {
return cmd;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.gef.editpolicies.GraphicalNodeEditPolicy#
* getReconnectSourceCommand (org.eclipse.gef.requests.ReconnectRequest)
*/
protected Command getReconnectSourceCommand(ReconnectRequest request) {
ConnectionReconnectCommand cmd = null;
Object newObject = request.getConnectionEditPart().getModel();
......@@ -76,12 +55,6 @@ public class BMSConnectionEditPolicy extends GraphicalNodeEditPolicy {
return cmd;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.gef.editpolicies.GraphicalNodeEditPolicy#
* getReconnectTargetCommand (org.eclipse.gef.requests.ReconnectRequest)
*/
protected Command getReconnectTargetCommand(ReconnectRequest request) {
ConnectionReconnectCommand cmd = null;
Object newObject = request.getConnectionEditPart().getModel();
......
......@@ -77,11 +77,6 @@ public class BMSImageFigure extends AbstractBMotionFigure {
}
/*
* (non-Javadoc)
*
* @see de.bmotionstudio.gef.editor.figure.IBMotionFigure#deactivateFigure()
*/
@Override
public void deactivateFigure() {
if (currentGIFThread != null)
......
......@@ -53,11 +53,6 @@ public class ButtonFigure extends AbstractBMotionFigure {
repaint();
}
/*
* (non-Javadoc)
*
* @see de.bmotionstudio.gef.editor.figure.IBMotionFigure#deactivateFigure()
*/
@Override
public void deactivateFigure() {
if (backgroundColor != null)
......
......@@ -131,11 +131,6 @@ public class CompositeFigure extends AbstractBMotionFigure {
getParent().setConstraint(this, rect);
}
/*
* (non-Javadoc)
*
* @see de.bmotionstudio.gef.editor.figure.IBMotionFigure#deactivateFigure()
*/
@Override
public void deactivateFigure() {
if (layerImage != null)
......
......@@ -79,11 +79,6 @@ public class FixedConnectionAnchor extends AbstractConnectionAnchor {
fireAnchorMoved();
}
/*
* (non-Javadoc)
*
* @see java.lang.Object#equals(java.lang.Object)
*/
public boolean equals(Object o) {
if (o instanceof FixedConnectionAnchor) {
FixedConnectionAnchor fa = (FixedConnectionAnchor) o;
......@@ -99,11 +94,6 @@ public class FixedConnectionAnchor extends AbstractConnectionAnchor {
return false;
}
/*
* (non-Javadoc)
*
* @see java.lang.Object#hashCode()
*/
public int hashCode() {
return ((this.leftToRight ? 31 : 0) + (this.topDown ? 37 : 0)
+ this.offsetH * 43 + this.offsetV * 47)
......
......@@ -52,11 +52,6 @@ public class RadioButtonFigure extends AbstractBMotionFigure {
repaint();
}
/*
* (non-Javadoc)
*
* @see de.bmotionstudio.gef.editor.figure.IBMotionFigure#deactivateFigure()
*/
@Override
public void deactivateFigure() {
if (foregroundColor != null)
......
......@@ -412,11 +412,6 @@ public class ShapeFigure extends AbstractBMotionFigure {
repaint();
}
/*
* (non-Javadoc)
*
* @see de.bmotionstudio.gef.editor.figure.IBMotionFigure#deactivateFigure()
*/
@Override
public void deactivateFigure() {
if (img != null)
......
......@@ -100,20 +100,10 @@ public class SignalFigure extends AbstractBMotionFigure {
add(panel);
}
/*
* (non-Javadoc)
*
* @see de.bmotionstudio.gef.editor.figure.IBMotionFigure#deactivateFigure()
*/
@Override
public void deactivateFigure() {
}
/*
* (non-Javadoc)
*
* @see de.bmotionstudio.gef.editor.figure.IBMotionFigure#activateFigure()
*/
@Override
public void activateFigure() {
}
......
......@@ -83,11 +83,6 @@ public class TextFigure extends AbstractBMotionFigure {
getParent().setConstraint(this, rect);
}
/*
* (non-Javadoc)
*
* @see de.bmotionstudio.gef.editor.figure.IBMotionFigure#deactivateFigure()
*/
@Override
public void deactivateFigure() {
if (foregroundColor != null)
......
......@@ -49,11 +49,6 @@ public class TextfieldFigure extends AbstractBMotionFigure {
return lb.getText();
}
/*
* (non-Javadoc)
*
* @see de.bmotionstudio.gef.editor.figure.IBMotionFigure#deactivateFigure()
*/
@Override
public void deactivateFigure() {
if (foregroundColor != null)
......
......@@ -35,11 +35,6 @@ public class BRadioButton extends BControl {
super(visualization);
}
/*
* (non-Javadoc)
*
* @see de.bmotionstudio.gef.editor.model.BControl#getType()
*/
@Override
public String getType() {
return TYPE;
......
......@@ -20,24 +20,11 @@ import de.bmotionstudio.gef.editor.part.BButtonPart;
*/
public class BButtonService extends AbstractBControlService implements
IBControlService {
/*
* (non-Javadoc)
*
* @see
* de.bmotionstudio.gef.editor.IBControlService#createControl(de.bmotionstudio
* .gef.editor.model.Visualization)
*/
@Override
public BControl createControl(Visualization visualization) {
return new BButton(visualization);
}
/*
* (non-Javadoc)
*
* @see de.bmotionstudio.gef.editor.IBControlService#createEditPart()
*/
@Override
public BMSAbstractEditPart createEditPart() {
return new BButtonPart();
......
......@@ -20,24 +20,11 @@ import de.bmotionstudio.gef.editor.part.BCheckboxPart;
*/
public class BCheckboxService extends AbstractBControlService implements
IBControlService {
/*
* (non-Javadoc)
*
* @see
* de.bmotionstudio.gef.editor.IBControlService#createControl(de.bmotionstudio
* .gef.editor.model.Visualization)
*/
@Override
public BControl createControl(Visualization visualization) {
return new BCheckbox(visualization);
}
/*
* (non-Javadoc)
*
* @see de.bmotionstudio.gef.editor.IBControlService#createEditPart()
*/
@Override
public BMSAbstractEditPart createEditPart() {
return new BCheckboxPart();
......
......@@ -20,24 +20,11 @@ import de.bmotionstudio.gef.editor.part.BCompositePart;
*/
public class BCompositeService extends AbstractBControlService implements
IBControlService {
/*
* (non-Javadoc)
*
* @see
* de.bmotionstudio.gef.editor.IBControlService#createControl(de.bmotionstudio
* .gef.editor.model.Visualization)
*/
@Override
public BControl createControl(Visualization visualization) {
return new BComposite(visualization);
}
/*
* (non-Javadoc)
*
* @see de.bmotionstudio.gef.editor.IBControlService#createEditPart()
*/
@Override
public BMSAbstractEditPart createEditPart() {
return new BCompositePart();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment