Method Summary |
|
public static void | collectAllComponentReferences(PropertyValue propertyValue, Collection<DesignComponent> references) Collects all component references from a property value. |
public static void | dumpComponent(DesignComponent component) |
public static void | dumpDocument(DesignDocument document) Prints the tree of components stored in the document. |
public static RuntimeException | error(Object... messages) Shows an error dialog with error message. |
public static RuntimeException | illegalArgument(Object... messages) Shows an error dialog with illegal-argument message. |
public static RuntimeException | illegalState(Object... messages) Shows an error dialog with illegal-state message. |
public static boolean | isComponentReferencedInRootTree(DesignComponent referenceComponent) Checks whether a specified component is referenced from the main tree of components under document root. |
public static boolean | isFriend(Class clazz) Checks whether a method (from where this isFriend method is called) is called from a specified class. |
public static boolean | isFriend(Class clazz, String method) Checks whether a method (from where this isFriend method is called) is called from a specified method of a specified class. |
public static boolean | isFriend(String className, String method) Checks whether a method (from where this isFriend method is called) is called from a specified method of a specified class. |
public static void | warning(Object... messages) Prints a warning message. |