diff options
Diffstat (limited to 'plugins/uml/org.eclipse.papyrus.uml.navigation/src/org/eclipse/papyrus/uml/navigation/navigableElement/TypedElementNavigationContributor.java')
-rw-r--r-- | plugins/uml/org.eclipse.papyrus.uml.navigation/src/org/eclipse/papyrus/uml/navigation/navigableElement/TypedElementNavigationContributor.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/uml/org.eclipse.papyrus.uml.navigation/src/org/eclipse/papyrus/uml/navigation/navigableElement/TypedElementNavigationContributor.java b/plugins/uml/org.eclipse.papyrus.uml.navigation/src/org/eclipse/papyrus/uml/navigation/navigableElement/TypedElementNavigationContributor.java index 0ae43d449ca..a2dbe5b9e39 100644 --- a/plugins/uml/org.eclipse.papyrus.uml.navigation/src/org/eclipse/papyrus/uml/navigation/navigableElement/TypedElementNavigationContributor.java +++ b/plugins/uml/org.eclipse.papyrus.uml.navigation/src/org/eclipse/papyrus/uml/navigation/navigableElement/TypedElementNavigationContributor.java @@ -17,6 +17,7 @@ import java.util.List; import org.eclipse.papyrus.infra.services.navigation.service.NavigableElement; import org.eclipse.papyrus.infra.services.navigation.service.NavigationContributor; import org.eclipse.papyrus.uml.tools.utils.UMLUtil; +import org.eclipse.uml2.uml.Connector; import org.eclipse.uml2.uml.Element; import org.eclipse.uml2.uml.Operation; import org.eclipse.uml2.uml.TypedElement; @@ -37,6 +38,8 @@ public class TypedElementNavigationContributor implements NavigationContributor result.add(new TypedNavigableElement(((TypedElement) element).getType())); } else if (element instanceof Operation && ((Operation) element).getType() != null) { result.add(new OperationTypeNavigableElement((Operation) element)); + } else if (element instanceof Connector && ((Connector) element).getType() != null) { + result.add(new ConnectorTypeNavigableElement((Connector) element)); } return result; |