public interface CLocationMode extends LocationMode
LocationMode
offering methods to work with CLocation
.Modifier and Type | Method and Description |
---|---|
LocationModePerspective |
createPerspective()
Gets an object that represents this type of mode in a
CPerspective . |
CLocation |
getCLocation(Dockable dockable)
Gets the location of
dockable which is in this mode. |
CLocation |
getCLocation(Dockable dockable,
Location location)
Gets the location of
dockable which might or might not
be a child of this mode. |
boolean |
isBasicMode()
Tells whether this mode is a basic mode or not.
|
boolean |
respectWorkingAreas(DockStation station)
Tells whether
Dockable s which have this mode applied should
respect the settings for CWorkingArea s. |
addLocationModeListener, aside, ensureNotHidden, getExtendedMode, getManager, getRepresentation, getRepresentationIds, isCurrentMode, isRepresenting, removeLocationModeListener, setController, setManager, shouldAutoFocus
apply, current, getActionsFor, getSettingFactory, getUniqueIdentifier, isDefaultMode, readSetting, writeSetting
CLocation getCLocation(Dockable dockable)
dockable
which is in this mode.dockable
- the element whose location is askednull
if it cannot be determinedCLocation getCLocation(Dockable dockable, Location location)
dockable
which might or might not
be a child of this mode.dockable
- the elementlocation
- the location dockable
is supposed to be in
if in this mode.null
if it cannot be determinedboolean isBasicMode()
DockStation
s), but if in doubt the
basic mode has more weight.true
if this is a basic modeboolean respectWorkingAreas(DockStation station)
Dockable
s which have this mode applied should
respect the settings for CWorkingArea
s.station
- the station which is the parent of the Dockable
strue
if the settings should be respected, false
otherwiseLocationModePerspective createPerspective()
CPerspective
.this