bibliothek.gui.dock.layout
Interface DockSituationIgnore


public interface DockSituationIgnore

A DockSituationIgnore is used in a DockSituation to decide, which elements (stations and dockables) should be written into a stream. Elements can be filtered by this Ignore, and will not reappear if the situation is read again.

Author:
Benjamin Sigg

Method Summary
 boolean ignoreChildren(DockStation station)
          Tells whether to ignore the children of the station when saving or not.
 boolean ignoreChildren(PerspectiveStation station)
          Tells whether to ignore the children of the station when saving or not.
 boolean ignoreElement(DockElement element)
          Tells whether to ignore this element when saving.
 boolean ignoreElement(PerspectiveElement element)
          Tells whether to ignore this element when saving.
 

Method Detail

ignoreElement

boolean ignoreElement(DockElement element)
Tells whether to ignore this element when saving. If an element is ignored, no factory is needed for it.

Parameters:
element - the element which might not be saved
Returns:
true if the element should not be saved

ignoreElement

boolean ignoreElement(PerspectiveElement element)
Tells whether to ignore this element when saving. If an element is ignored, no factory is needed for it.

Parameters:
element - the element which might not be saved
Returns:
true if the element should not be saved

ignoreChildren

boolean ignoreChildren(DockStation station)
Tells whether to ignore the children of the station when saving or not. If the children are ignored, no factories are needed for them.

Parameters:
station - the station whose children might be ignored
Returns:
true if the station is saved as having no children

ignoreChildren

boolean ignoreChildren(PerspectiveStation station)
Tells whether to ignore the children of the station when saving or not. If the children are ignored, no factories are needed for them.

Parameters:
station - the station whose children might be ignored
Returns:
true if the station is saved as having no children