|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MissingDockableStrategy
Used by the DockFrontend to handle missing Dockables. The
methods of this interface are called to find out, for which missing Dockable
information should be stored, and for which not.
| Field Summary | |
|---|---|
static MissingDockableStrategy |
DISCARD_ALL
This strategy throws away all information. |
static MissingDockableStrategy |
STORE_ALL
This strategy stores all information. |
| Method Summary | ||
|---|---|---|
|
shouldCreate(DockFactory<?,?,L> factory,
L data)
Tells whether factory should be used to create a new
Dockable using data. |
|
boolean |
shouldStoreHidden(String key)
Tells whether the location of the hidden and missing Dockable
key should be stored anyway. |
|
boolean |
shouldStoreShown(String key)
Tells whether the location of the shown but missing Dockable
key should be stored anyway. |
|
| Field Detail |
|---|
static final MissingDockableStrategy DISCARD_ALL
static final MissingDockableStrategy STORE_ALL
| Method Detail |
|---|
boolean shouldStoreHidden(String key)
Dockable
key should be stored anyway. A DockFrontend will
create an empty info for all
keys which pass this method.
key - the name of a missing element
true if its location should be stored for the
case that it becomes known later, or false if its location
should be discardedboolean shouldStoreShown(String key)
Dockable
key should be stored anyway. A DockFrontend will
create an empty info for all
keys which pass this method.
key - the name of a missing element
true if its location should be stored for the
case that it becomes known later, or false if its location
should be discarded
<L> boolean shouldCreate(DockFactory<?,?,L> factory,
L data)
factory should be used to create a new
Dockable using data. This method is only called
when the element would be created outside the normal setup phase, i.e.
when a new factory has become known and old data is revisited.
L - the kind of data to use for factoryfactory - the factory which might create new elementsdata - the information factory would convert
true if factory is allowed to convert
data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||