GEF (MVC)
3.8.1.201211122107

org.eclipse.gef.util
Class EditPartUtilities

java.lang.Object
  extended by org.eclipse.gef.util.EditPartUtilities

public final class EditPartUtilities
extends java.lang.Object

Utility class comprising functions related to EditParts

Since:
3.6

Method Summary
static java.util.LinkedHashSet getAllChildren(GraphicalEditPart parentEditPart)
          Returns the transitive child edit part set of the given parent GraphicalEditPart.
static java.util.HashSet getAllNestedConnectionEditParts(GraphicalEditPart graphicalEditPart)
          Returns the transitive nested connection edit parts.
static java.util.HashSet getNestedConnectionEditParts(GraphicalEditPart graphicalEditPart)
          Returns the set of ConnectionEditParts that are linked to the child edit parts of the given GraphicalEditPart.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAllChildren

public static java.util.LinkedHashSet getAllChildren(GraphicalEditPart parentEditPart)
Returns the transitive child edit part set of the given parent GraphicalEditPart.

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 of ConnectionEditParts that are linked to the child edit parts of the given GraphicalEditPart.

Parameters:
graphicalEditPart - the graphical edit part
Returns:
the set of child ConnectionEditParts for the given GraphicalEditPart

GEF (MVC)
3.8.1.201211122107

Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.