Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordstadnik2007-04-19 07:24:30 -0400
committerdstadnik2007-04-19 07:24:30 -0400
commit45c04b5f2ddb9186fc7efb27fd64144395be0b7d (patch)
tree00f4f8e33fdfd7450be1948c01a9ac4d94fb4053
parent6d7f359053225f15e83e8c7c372c23dfdf9cf10a (diff)
downloadorg.eclipse.gmf-tooling-45c04b5f2ddb9186fc7efb27fd64144395be0b7d.tar.gz
org.eclipse.gmf-tooling-45c04b5f2ddb9186fc7efb27fd64144395be0b7d.tar.xz
org.eclipse.gmf-tooling-45c04b5f2ddb9186fc7efb27fd64144395be0b7d.zip
regenerated
-rw-r--r--examples/org.eclipse.gmf.examples.taipan.gmf.editor/src/org/eclipse/gmf/examples/taipan/gmf/editor/edit/commands/PortRegisterCreateCommand.java2
-rw-r--r--examples/org.eclipse.gmf.examples.taipan.gmf.editor/src/org/eclipse/gmf/examples/taipan/gmf/editor/edit/commands/ShipDestinationCreateCommand.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/org.eclipse.gmf.examples.taipan.gmf.editor/src/org/eclipse/gmf/examples/taipan/gmf/editor/edit/commands/PortRegisterCreateCommand.java b/examples/org.eclipse.gmf.examples.taipan.gmf.editor/src/org/eclipse/gmf/examples/taipan/gmf/editor/edit/commands/PortRegisterCreateCommand.java
index c0b0a5204..8e0d98632 100644
--- a/examples/org.eclipse.gmf.examples.taipan.gmf.editor/src/org/eclipse/gmf/examples/taipan/gmf/editor/edit/commands/PortRegisterCreateCommand.java
+++ b/examples/org.eclipse.gmf.examples.taipan.gmf.editor/src/org/eclipse/gmf/examples/taipan/gmf/editor/edit/commands/PortRegisterCreateCommand.java
@@ -59,7 +59,7 @@ public class PortRegisterCreateCommand extends EditElementCommand {
if (target != null && !(target instanceof Ship)) {
return false;
}
- if (getSource() != null && getTarget() != null) {
+ if (getSource() != null) {
return TaiPanBaseItemSemanticEditPolicy.LinkConstraints.canCreatePortRegister_4007(getSource(), getTarget());
}
return true; // link creation is in progress; only one end is defined
diff --git a/examples/org.eclipse.gmf.examples.taipan.gmf.editor/src/org/eclipse/gmf/examples/taipan/gmf/editor/edit/commands/ShipDestinationCreateCommand.java b/examples/org.eclipse.gmf.examples.taipan.gmf.editor/src/org/eclipse/gmf/examples/taipan/gmf/editor/edit/commands/ShipDestinationCreateCommand.java
index 8d25899f2..c678d1b70 100644
--- a/examples/org.eclipse.gmf.examples.taipan.gmf.editor/src/org/eclipse/gmf/examples/taipan/gmf/editor/edit/commands/ShipDestinationCreateCommand.java
+++ b/examples/org.eclipse.gmf.examples.taipan.gmf.editor/src/org/eclipse/gmf/examples/taipan/gmf/editor/edit/commands/ShipDestinationCreateCommand.java
@@ -59,7 +59,7 @@ public class ShipDestinationCreateCommand extends EditElementCommand {
if (target != null && !(target instanceof Port)) {
return false;
}
- if (getSource() != null && getTarget() != null) {
+ if (getSource() != null) {
return TaiPanBaseItemSemanticEditPolicy.LinkConstraints.canCreateShipDestination_4001(getSource(), getTarget());
}
return true; // link creation is in progress; only one end is defined

Back to the top