commit | e7a8fbb12aeff4d835d3e623093a4451ea7eeb0c | [log] [tgz] |
---|---|---|
author | mwenz <michael.wenz@sap.com> | Fri Apr 12 13:39:35 2013 +0200 |
committer | mwenz <michael.wenz@sap.com> | Fri Apr 12 13:39:35 2013 +0200 |
tree | cda0257b302b3bd857c9184769a473526b74cd9e | |
parent | ba29676c905061bf8c741d5a82417aa568c0d745 [diff] |
Bug 399777 - CreateConnectionFeatureForPattern does not return the delegate IConnectionPattern *Added method getPattern to CreateConnectionFeatureForPattern Change-Id: I1086c64b4dbb177f760877233fff199a082da2d2
diff --git a/plugins/org.eclipse.graphiti.pattern/src/org/eclipse/graphiti/pattern/CreateConnectionFeatureForPattern.java b/plugins/org.eclipse.graphiti.pattern/src/org/eclipse/graphiti/pattern/CreateConnectionFeatureForPattern.java index 854e220..ffbd26a 100644 --- a/plugins/org.eclipse.graphiti.pattern/src/org/eclipse/graphiti/pattern/CreateConnectionFeatureForPattern.java +++ b/plugins/org.eclipse.graphiti.pattern/src/org/eclipse/graphiti/pattern/CreateConnectionFeatureForPattern.java
@@ -127,4 +127,14 @@ public void canceledAttaching(ICreateConnectionContext context) { delegate.canceledAttaching(context); } + + /** + * Gets the pattern. + * + * @return the pattern + * @since 0.10 + */ + public IConnectionPattern getPattern() { + return delegate; + } }