Browser
.@Deprecated public class BrowserPresenter extends Object implements ActionbarPresenter.Listener, BrowserView.Listener
Its main configuration point is the WorkbenchDefinition
through which one defines the JCR workspace to connect to, the columns/properties to display, the available actions and so on.
Constructor and Description |
---|
BrowserPresenter(BrowserView view,
SubAppContext subAppContext,
ActionExecutor actionExecutor,
info.magnolia.event.EventBus admincentralEventBus,
info.magnolia.event.EventBus subAppEventBus,
ContentConnector contentConnector,
ImageProvider imageProvider,
WorkbenchPresenter workbenchPresenter,
ActionbarPresenter actionbarPresenter,
AvailabilityChecker availabilityChecker)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
bindHandlers()
Deprecated.
|
protected void |
executeAction(String actionName)
Deprecated.
|
ActionbarPresenter |
getActionbarPresenter()
Deprecated.
|
String |
getDefaultViewType()
Deprecated.
|
protected Object |
getPreviewImageForId(Object itemId)
Deprecated.
|
List<Object> |
getSelectedItemIds()
Deprecated.
|
BrowserView |
getView()
Deprecated.
|
boolean |
hasViewType(String viewType)
Deprecated.
|
void |
onActionbarItemClicked(String actionName)
Deprecated.
|
void |
onActionBarSelection(String actionName)
Deprecated.
|
protected Object[] |
prepareActionArgs()
Deprecated.
|
void |
resync(List<Object> itemIds,
String viewType,
String query)
Deprecated.
Synchronizes the underlying view to reflect the status extracted from the Location token, i.e.
|
BrowserView |
start()
Deprecated.
|
protected boolean |
verifyItemExists(Object itemId)
Deprecated.
|
@Inject public BrowserPresenter(BrowserView view, SubAppContext subAppContext, ActionExecutor actionExecutor, @Named(value="admincentral") info.magnolia.event.EventBus admincentralEventBus, @Named(value="subapp") info.magnolia.event.EventBus subAppEventBus, ContentConnector contentConnector, ImageProvider imageProvider, WorkbenchPresenter workbenchPresenter, ActionbarPresenter actionbarPresenter, AvailabilityChecker availabilityChecker)
public BrowserView start()
protected void bindHandlers()
protected boolean verifyItemExists(Object itemId)
public String getDefaultViewType()
public boolean hasViewType(String viewType)
public BrowserView getView()
public ActionbarPresenter getActionbarPresenter()
public void resync(List<Object> itemIds, String viewType, String query)
public void onActionbarItemClicked(String actionName)
onActionbarItemClicked
in interface ActionbarPresenter.Listener
public void onActionBarSelection(String actionName)
onActionBarSelection
in interface BrowserView.Listener
protected void executeAction(String actionName)
protected Object[] prepareActionArgs()
Copyright © 2020 Magnolia International Ltd.. All rights reserved.