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
Dockables which have this mode applied should
respect the settings for CWorkingAreas. |
addLocationModeListener, aside, ensureNotHidden, getExtendedMode, getManager, getRepresentation, getRepresentationIds, isCurrentMode, isRepresenting, removeLocationModeListener, setController, setManager, shouldAutoFocusapply, current, getActionsFor, getSettingFactory, getUniqueIdentifier, isDefaultMode, readSetting, writeSettingCLocation 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()
DockStations), but if in doubt the
basic mode has more weight.true if this is a basic modeboolean respectWorkingAreas(DockStation station)
Dockables which have this mode applied should
respect the settings for CWorkingAreas.station - the station which is the parent of the Dockablestrue if the settings should be respected, false
otherwiseLocationModePerspective createPerspective()
CPerspective.thisCopyright © 2018. All rights reserved.