public interface LocationModePerspective
CLocationMode
in a perspective.Modifier and Type | Method and Description |
---|---|
ExtendedMode |
getIdentifier()
Gets the unique identifier for this mode.
|
boolean |
isCurrentMode(PerspectiveDockable dockable)
Checks whether
dockable currently is in this mode. |
boolean |
isCurrentMode(String root,
DockableProperty location)
Checks whether the dockable at location
root /location
should be in the mode represented by this . |
void |
readSetting(ModeSetting<Location> setting)
Reads settings belonging to this mode from
setting . |
void |
setPerspective(CPerspective perspective)
Informs this mode of what perspective is going to use it.
|
void |
writeSetting(ModeSetting<Location> setting)
Writes settings that belong to this mode to
setting . |
void setPerspective(CPerspective perspective)
perspective
- the perspective that uses this modeExtendedMode getIdentifier()
null
boolean isCurrentMode(PerspectiveDockable dockable)
dockable
currently is in this
mode.dockable
- the element whose mode is searchedtrue
if this mode describes the situation of dockable
boolean isCurrentMode(String root, DockableProperty location)
root
/location
should be in the mode represented by this
.root
- the unique identifer of the root DockStation
location
- the location on the root stationvoid readSetting(ModeSetting<Location> setting)
setting
.setting
- some settingsvoid writeSetting(ModeSetting<Location> setting)
setting
.setting
- the settings to write