public class IsAreaOptionalRule extends AbstractElementAvailabilityRule<AreaElement>
PageEditorPresenter.selectedElement
in the page editor is an area
and is optional.Constructor and Description |
---|
IsAreaOptionalRule(PageEditorPresenter pageEditorPresenter) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAvailableForElement(AreaElement element) |
isAvailableForItem
isAvailable
@Inject public IsAreaOptionalRule(PageEditorPresenter pageEditorPresenter)
protected boolean isAvailableForElement(AreaElement element)
isAvailableForElement
in class AbstractElementAvailabilityRule<AreaElement>
Copyright © 2015 Magnolia International Ltd.. All rights reserved.