public class IsComponentMovableRule extends AbstractElementAvailabilityRule<info.magnolia.ui.vaadin.gwt.client.shared.ComponentElement>
PageEditorPresenter.selectedElement
in the page editor is a component
and the component is movable.Constructor and Description |
---|
IsComponentMovableRule(PageEditorPresenter pageEditorPresenter) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAvailableForElement(info.magnolia.ui.vaadin.gwt.client.shared.ComponentElement element) |
isAvailableForItem
@Inject public IsComponentMovableRule(PageEditorPresenter pageEditorPresenter)
protected boolean isAvailableForElement(info.magnolia.ui.vaadin.gwt.client.shared.ComponentElement element)
isAvailableForElement
in class AbstractElementAvailabilityRule<info.magnolia.ui.vaadin.gwt.client.shared.ComponentElement>
Copyright © 2016 Magnolia International Ltd.. All rights reserved.