Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordstadnik2008-05-15 05:35:43 -0400
committerdstadnik2008-05-15 05:35:43 -0400
commit4cf236519be2050bfbdf855b2846e7a8492f14c2 (patch)
tree0521386fcb689640a7086356f2fcfdab23689d14 /examples
parent651c3a47be2c9e872765553674d097ac90707c53 (diff)
downloadorg.eclipse.gmf-tooling-4cf236519be2050bfbdf855b2846e7a8492f14c2.tar.gz
org.eclipse.gmf-tooling-4cf236519be2050bfbdf855b2846e7a8492f14c2.tar.xz
org.eclipse.gmf-tooling-4cf236519be2050bfbdf855b2846e7a8492f14c2.zip
suppress warnings
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.gmf.examples.taipan.port.diagram/src/org/eclipse/gmf/examples/taipan/port/diagram/edit/parts/PortEditPart.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/org.eclipse.gmf.examples.taipan.port.diagram/src/org/eclipse/gmf/examples/taipan/port/diagram/edit/parts/PortEditPart.java b/examples/org.eclipse.gmf.examples.taipan.port.diagram/src/org/eclipse/gmf/examples/taipan/port/diagram/edit/parts/PortEditPart.java
index 5f0fa2fd8..e4a25633d 100644
--- a/examples/org.eclipse.gmf.examples.taipan.port.diagram/src/org/eclipse/gmf/examples/taipan/port/diagram/edit/parts/PortEditPart.java
+++ b/examples/org.eclipse.gmf.examples.taipan.port.diagram/src/org/eclipse/gmf/examples/taipan/port/diagram/edit/parts/PortEditPart.java
@@ -74,12 +74,14 @@ public class PortEditPart extends DiagramEditPart {
return super.getArrangeCommand(request);
}
+ @SuppressWarnings("unchecked")
public Runnable layoutNodes(List nodes, boolean offsetFromBoundingBox, IAdaptable layoutHint) {
return layoutProvider.layoutLayoutNodes(nodes, offsetFromBoundingBox, layoutHint);
}
});
}
+ @SuppressWarnings("unchecked")
public Command getCommand(Request request) {
Command command = super.getCommand(request);
if (request.getType().equals(REQ_CREATE) || request.getType().equals(REQ_MOVE_CHILDREN) || request.getType().equals(REQ_RESIZE_CHILDREN)) {

Back to the top