ConfiguredActionbarSectionDefinition
,
and set the 'multiple' property to true in config where applicable.@Deprecated public class DeprecatedActionbarSectionDefinition extends ConfiguredActionbarSectionDefinition
Concretely, the multiple property for section availability is barely ever configured (not even for sections specifically intended for multi-selection). Therefore, this hack makes sure the actionbar never goes blank upon multi-selection, while relying of *action-availability* for acting on multi-selection.
Note that, as of 5.4.3, this definition is (still) the default implementation of
ActionbarSectionDefinition
,
until further improvements.
Constructor and Description |
---|
DeprecatedActionbarSectionDefinition()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
setAvailability(AvailabilityDefinition availability)
Deprecated.
|
addGroup, getAvailability, getGroups, getI18nBasename, getLabel, getName, setGroups, setI18nBasename, setLabel, setName
public DeprecatedActionbarSectionDefinition()
public void setAvailability(AvailabilityDefinition availability)
setAvailability
in class ConfiguredActionbarSectionDefinition
Copyright © 2021 Magnolia International Ltd.. All rights reserved.