Method Summary |
|
public static Collection<T> | filterPresentersForClass(Collection<? extends Presenter> presenters, Class<T> clazz) Returns a collection of all presenters of a specified class that are in a specified collection. |
public static List<DesignComponent> | gatherAllComponentsContainingPresenterClass(DesignDocument document, Class<T> presenterClass) Gathers all components in a document that are containing presenter of presenterClass. |
public static List<DesignComponent> | gatherAllComponentsOfTypeID(DesignDocument document, TypeID typeID) Gathers all components in main tree of components in a specific document. |
public static List<DesignComponent> | gatherAllComponentsOfTypeID(DesignComponent component, TypeID typeID) Gathers all components under specified component. |
public static Collection<T> | gatherAllPresentersOfClass(DesignDocument document, Class<T> clazz) Gathers all presenters of a specified class that are currently attached to a component in the main tree of components in a specific document. |
public static List<DesignComponent> | gatherSubComponentsOfType(DesignComponent component, TypeID typeID) Returns a list of children components for a specified component. |
public static ComponentProducer | getComponentProducer(DesignDocument document, String producerID) Returns a design component producer for given producer id. |
public static Collection<ComponentProducer> | getComponentProducers(DesignDocument document, TypeID typeID) Returns component producers for given type. |
public static void | removePresentersOfClass(ArrayList<? super Presenter> presenters, Class presenterClass) Takes a specified list of presenters and removed those presenters which are compatible with specified presenter class. |
public static void | removePresentersOfPresenterID(ArrayList<Presenter> presenters, String presenterID) Takes a specified list of presenters and removed those presenters which are compatible with specified presenter id. |
public static void | sortPresentersByOrder(ArrayList<? extends OrderablePresenter> presenters) Sorts a list of presenters by their order defined by OrderablePresenter. |