Package org.eclipse.gef.util
Class EditPartUtilities
- java.lang.Object
-
- org.eclipse.gef.util.EditPartUtilities
-
public final class EditPartUtilities extends java.lang.ObjectUtility class comprising functions related toEditParts- Since:
- 3.6
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.LinkedHashSetgetAllChildren(GraphicalEditPart parentEditPart)Returns the transitive child edit part set of the given parentGraphicalEditPart.static java.util.HashSetgetAllNestedConnectionEditParts(GraphicalEditPart graphicalEditPart)Returns the transitive nested connection edit parts.static java.util.HashSetgetNestedConnectionEditParts(GraphicalEditPart graphicalEditPart)Returns the set ofConnectionEditParts that are linked to the child edit parts of the givenGraphicalEditPart.
-
-
-
Method Detail
-
getAllChildren
public static java.util.LinkedHashSet getAllChildren(GraphicalEditPart parentEditPart)
Returns the transitive child edit part set of the given parentGraphicalEditPart.- Parameters:
parentEditPart- the parent graphical edit part for which to retrieve the transitive child edit part set.- Returns:
- the transitive child edit part set
-
getAllNestedConnectionEditParts
public static java.util.HashSet getAllNestedConnectionEditParts(GraphicalEditPart graphicalEditPart)
Returns the transitive nested connection edit parts.- Parameters:
graphicalEditPart- the graphical edit part- Returns:
- the transitive nested connection edit parts
-
getNestedConnectionEditParts
public static java.util.HashSet getNestedConnectionEditParts(GraphicalEditPart graphicalEditPart)
Returns the set ofConnectionEditParts that are linked to the child edit parts of the givenGraphicalEditPart.- Parameters:
graphicalEditPart- the graphical edit part- Returns:
- the set of child
ConnectionEditParts for the givenGraphicalEditPart
-
-