public interface WorkbenchView extends View
Modifier and Type | Interface and Description |
---|---|
static interface |
WorkbenchView.Listener
Listener interface for events concerning the workbench.
|
Modifier and Type | Method and Description |
---|---|
void |
addContentTool(View view)
Use this method to add content tools.
|
void |
addContentView(String type,
ContentView view,
ContentPresenterDefinition contentViewDefintion)
Use this method to add sub views hosted by this view.
|
ContentView |
getSelectedView() |
default View |
getStatusBarView() |
void |
setListener(WorkbenchView.Listener listener) |
void |
setMultiselect(boolean multiselect)
Whether the user can select more items.
|
void |
setSearchQuery(String query)
Updates the search box with given search query.
|
void |
setStatusBarView(StatusBarView statusBar)
Use this method to add a status bar to this sub app view.
|
default void |
setTitle(String title) |
void |
setViewType(String type) |
asVaadinComponent
void setListener(WorkbenchView.Listener listener)
default void setTitle(String title)
void setSearchQuery(String query)
void addContentView(String type, ContentView view, ContentPresenterDefinition contentViewDefintion)
void addContentTool(View view)
void setViewType(String type)
void setStatusBarView(StatusBarView statusBar)
default View getStatusBarView()
ContentView getSelectedView()
void setMultiselect(boolean multiselect)
Copyright © 2018 Magnolia International Ltd.. All rights reserved.