OpenLocationAction
instead.@Deprecated public class CreateItemAction extends info.magnolia.ui.api.action.AbstractAction<CreateItemActionDefinition>
DetailSubApp
only gets a location containing nodePath and DetailView.ViewType
.
When creating a new node, we either create it here and pass the new path to the subapp or
we pass all needed parameters to the location. This is less messy, but not optimal.. at all.
See MGNLUI-222.CreateItemActionDefinition
Constructor and Description |
---|
CreateItemAction(CreateItemActionDefinition definition,
info.magnolia.ui.api.location.LocationController locationController,
com.vaadin.v7.data.Item parentItem,
ContentConnector contentConnector)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Deprecated.
|
public CreateItemAction(CreateItemActionDefinition definition, info.magnolia.ui.api.location.LocationController locationController, com.vaadin.v7.data.Item parentItem, ContentConnector contentConnector)
Copyright © 2020 Magnolia International Ltd.. All rights reserved.