Skip to content
Snippets Groups Projects
Commit 8544ec29 authored by Christoph Döbber's avatar Christoph Döbber
Browse files

reviewed portion of tooling.base.ui

refs 311
parent f84e4791
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ import org.eclipse.gef.requests.ChangeBoundsRequest; ...@@ -28,7 +28,7 @@ import org.eclipse.gef.requests.ChangeBoundsRequest;
* @author hoelzl * @author hoelzl
* @author $Author$ * @author $Author$
* @version $Rev$ * @version $Rev$
* @ConQAT.Rating YELLOW Hash: C9178C428EEB9D5F404EAF7BF1A0AC07 * @ConQAT.Rating GREEN Hash: B69AF7C192C2DA85F62E392EFED666F4
*/ */
public abstract class ChangeBoundsRequestCommandBase extends Command { public abstract class ChangeBoundsRequestCommandBase extends Command {
/** The creation request */ /** The creation request */
......
...@@ -33,7 +33,7 @@ import org.fortiss.tooling.kernel.service.IConnectionCompositorService; ...@@ -33,7 +33,7 @@ import org.fortiss.tooling.kernel.service.IConnectionCompositorService;
* @author hoelzl * @author hoelzl
* @author $Author$ * @author $Author$
* @version $Rev$ * @version $Rev$
* @ConQAT.Rating YELLOW Hash: 7791FA91BCC608A8043C019544D34B42 * @ConQAT.Rating GREEN Hash: 032DFA20DC9449DB023C623C5B467635
*/ */
public class ConnectCommand extends Command { public class ConnectCommand extends Command {
......
...@@ -33,7 +33,7 @@ import org.fortiss.tooling.base.ui.utils.LayoutDataUtils; ...@@ -33,7 +33,7 @@ import org.fortiss.tooling.base.ui.utils.LayoutDataUtils;
* @author hoelzl * @author hoelzl
* @author $Author$ * @author $Author$
* @version $Rev$ * @version $Rev$
* @ConQAT.Rating YELLOW Hash: B6F68F3F16FCCB14CEA9010FAF6E9253 * @ConQAT.Rating GREEN Hash: D77509B4DC3030D691C452F0365C364E
*/ */
public class MoveWithinDiagramCommand extends ChangeBoundsRequestCommandBase { public class MoveWithinDiagramCommand extends ChangeBoundsRequestCommandBase {
......
...@@ -31,7 +31,7 @@ import org.fortiss.tooling.base.ui.editpart.StickyConnectorEditPartBase; ...@@ -31,7 +31,7 @@ import org.fortiss.tooling.base.ui.editpart.StickyConnectorEditPartBase;
* @author hoelzl * @author hoelzl
* @author $Author$ * @author $Author$
* @version $Rev$ * @version $Rev$
* @ConQAT.Rating YELLOW Hash: 0A679B93BB27E11F9524222C9BB74AAA * @ConQAT.Rating GREEN Hash: 930132173F760C9E1EDB5B98F71C0494
*/ */
public class MoveWithinElementCommand extends ChangeBoundsRequestCommandBase { public class MoveWithinElementCommand extends ChangeBoundsRequestCommandBase {
......
...@@ -31,7 +31,7 @@ import org.fortiss.tooling.kernel.service.IConnectionCompositorService; ...@@ -31,7 +31,7 @@ import org.fortiss.tooling.kernel.service.IConnectionCompositorService;
* @author hoelzl * @author hoelzl
* @author $Author$ * @author $Author$
* @version $Rev$ * @version $Rev$
* @ConQAT.Rating YELLOW Hash: C792E06111B81A009ED464F85FA83E90 * @ConQAT.Rating RED Hash: 014CBB9569896D0AA2554DE850E8F91E
*/ */
public class ReconnectCommand extends ConnectCommand { public class ReconnectCommand extends ConnectCommand {
...@@ -54,6 +54,8 @@ public class ReconnectCommand extends ConnectCommand { ...@@ -54,6 +54,8 @@ public class ReconnectCommand extends ConnectCommand {
} }
if (context.getSource().getModel() instanceof EObject if (context.getSource().getModel() instanceof EObject
&& context.getTarget().getModel() instanceof EObject && context.getTarget().getModel() instanceof EObject
// TODO @review CD: why check source's parent? - C&P from
// Connect?
&& context.getSource().getParent().getModel() instanceof EObject) { && context.getSource().getParent().getModel() instanceof EObject) {
return IConnectionCompositorService.INSTANCE.canReconnect( return IConnectionCompositorService.INSTANCE.canReconnect(
connection, (EObject) context.getSource().getModel(), connection, (EObject) context.getSource().getModel(),
......
...@@ -28,7 +28,7 @@ import org.fortiss.tooling.kernel.service.IElementCompositorService; ...@@ -28,7 +28,7 @@ import org.fortiss.tooling.kernel.service.IElementCompositorService;
* @author hoelzl * @author hoelzl
* @author $Author$ * @author $Author$
* @version $Rev$ * @version $Rev$
* @ConQAT.Rating YELLOW Hash: D5B0D83636D2C71A946182020FBD15CB * @ConQAT.Rating GREEN Hash: 1538EA3CEED7E1A44E6AEFAD983D31B8
*/ */
public class RemoveCommand extends Command { public class RemoveCommand extends Command {
/** The entity to be removed. */ /** The entity to be removed. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment