|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FrontendPerspectiveCache
This cache is used by a DockFrontend
to create a Perspective
. The strategy
will be provided with the registered DockElement
s of the frontend (root-stations and
dockables) and has to convert them into PerspectiveElement
s.
Method Summary | |
---|---|
java.lang.String |
get(PerspectiveElement element)
Gets the unique identifier of element . |
PerspectiveElement |
get(java.lang.String id,
boolean rootStation)
Called to convert id to a PerspectiveElement . |
PerspectiveElement |
get(java.lang.String id,
DockElement element,
boolean isRootStation)
Given an element that was earlier created by the client and added to a
DockFrontend , this method converts element to a PerspectiveElement . |
boolean |
isRootStation(PerspectiveStation station)
Tells whether station is supposed to be a root-station. |
Method Detail |
---|
PerspectiveElement get(java.lang.String id, DockElement element, boolean isRootStation)
element
that was earlier created by the client and added to a
DockFrontend
, this method converts element
to a PerspectiveElement
.
id
- the unique identifier under which element
is known to the DockFrontend
element
- the element whose perspective must be createdisRootStation
- whether element
is registered as root-station at the DockFrontend
or as Dockable
null
PerspectiveElement get(java.lang.String id, boolean rootStation)
id
to a PerspectiveElement
. This method will only be called
with identifiers that were not used for get(String, DockElement, boolean)
.
id
- the identifier of some elementrootStation
- whether id
represents a root-station or not
null
java.lang.String get(PerspectiveElement element)
element
.
element
- some element, can be either a dockable or a root-station
null
if this element can be recreated at any timeboolean isRootStation(PerspectiveStation station)
station
is supposed to be a root-station.
station
- the element which may be a root-station
true
if station
should be treated as root-station
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |