public class WorkbenchViewImpl extends com.vaadin.ui.VerticalLayout implements WorkbenchView, Serializable
WorkbenchView.Listener
com.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.SpacingHandler
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Modifier and Type | Field and Description |
---|---|
protected com.vaadin.ui.Panel |
keyboardEventPanel |
Constructor and Description |
---|
WorkbenchViewImpl(info.magnolia.i18nsystem.SimpleTranslator i18n) |
Modifier and Type | Method and Description |
---|---|
void |
addContentTool(View view)
Use this method to add content tools.
|
void |
addContentView(String viewType,
ContentView view,
ContentPresenterDefinition contentViewDefintion)
Use this method to add sub views hosted by this view.
|
com.vaadin.ui.Component |
asVaadinComponent()
Returns the Vaadin component managed by this view.
|
void |
bindKeyboardHandlers() |
ContentView |
getSelectedView() |
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.
|
void |
setViewType(String type) |
addComponent, addComponent, addComponentAsFirst, addLayoutClickListener, addListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getCustomAttributes, getDefaultComponentAlignment, getExpandRatio, getMargin, getState, getState, isSpacing, iterator, readDesign, removeComponent, removeLayoutClickListener, removeListener, replaceComponent, setComponentAlignment, setDefaultComponentAlignment, setExpandRatio, setMargin, setMargin, setSpacing, writeDesign
addComponentAttachListener, addComponentDetachListener, addComponents, addListener, addListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, removeListener, removeListener, setHeight, setWidth
addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isImmediate, isOrHasAncestor, isReadOnly, isVisible, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeightUndefined, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addComponents, addListener, addListener, getComponentIterator, moveComponentsFrom, removeAllComponents, removeListener, removeListener
addListener, addStyleName, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisible
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
@Inject public WorkbenchViewImpl(info.magnolia.i18nsystem.SimpleTranslator i18n)
public void bindKeyboardHandlers()
public void setSearchQuery(String query)
WorkbenchView
setSearchQuery
in interface WorkbenchView
public void addContentView(String viewType, ContentView view, ContentPresenterDefinition contentViewDefintion)
WorkbenchView
addContentView
in interface WorkbenchView
public void setViewType(String type)
setViewType
in interface WorkbenchView
public void setStatusBarView(StatusBarView statusBar)
WorkbenchView
setStatusBarView
in interface WorkbenchView
public ContentView getSelectedView()
getSelectedView
in interface WorkbenchView
public com.vaadin.ui.Component asVaadinComponent()
View
asVaadinComponent
in interface View
public void setListener(WorkbenchView.Listener listener)
setListener
in interface WorkbenchView
public void setMultiselect(boolean multiselect)
WorkbenchView
setMultiselect
in interface WorkbenchView
public void addContentTool(View view)
WorkbenchView
addContentTool
in interface WorkbenchView
Copyright © 2015 Magnolia International Ltd.. All rights reserved.