public class MainTabSheetActionHandler
extends java.lang.Object
implements com.vaadin.event.Action.Handler
Modifier and Type | Class and Description |
---|---|
protected static class |
MainTabSheetActionHandler.MainTabSheetActionWrapper |
Modifier and Type | Field and Description |
---|---|
protected com.vaadin.event.Action |
analyzeLayout |
protected org.springframework.context.ApplicationContext |
applicationContext |
protected com.vaadin.event.Action |
closeAllTabs |
protected com.vaadin.event.Action |
closeCurrentTab |
protected com.vaadin.event.Action |
closeOtherTabs |
protected boolean |
initialized |
protected io.jmix.core.Messages |
messages |
protected UiScreenProperties |
screenProperties |
protected HasTabSheetBehaviour |
tabSheet |
Constructor and Description |
---|
MainTabSheetActionHandler(HasTabSheetBehaviour tabSheet,
org.springframework.context.ApplicationContext applicationContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
analyzeLayout(java.lang.Object target) |
protected java.util.List<com.vaadin.event.Action> |
collectAdditionalActions(java.lang.Object target) |
protected Screen |
findScreen(com.vaadin.ui.Layout layout) |
com.vaadin.event.Action[] |
getActions(java.lang.Object target,
java.lang.Object sender) |
void |
handleAction(com.vaadin.event.Action action,
java.lang.Object sender,
java.lang.Object target) |
protected com.vaadin.event.Action closeAllTabs
protected com.vaadin.event.Action closeOtherTabs
protected com.vaadin.event.Action closeCurrentTab
protected com.vaadin.event.Action analyzeLayout
protected boolean initialized
protected HasTabSheetBehaviour tabSheet
protected org.springframework.context.ApplicationContext applicationContext
protected io.jmix.core.Messages messages
protected UiScreenProperties screenProperties
public MainTabSheetActionHandler(HasTabSheetBehaviour tabSheet, org.springframework.context.ApplicationContext applicationContext)
public com.vaadin.event.Action[] getActions(java.lang.Object target, java.lang.Object sender)
getActions
in interface com.vaadin.event.Action.Handler
protected java.util.List<com.vaadin.event.Action> collectAdditionalActions(java.lang.Object target)
public void handleAction(com.vaadin.event.Action action, java.lang.Object sender, java.lang.Object target)
handleAction
in interface com.vaadin.event.Action.Handler
protected void analyzeLayout(java.lang.Object target)
@Nullable protected Screen findScreen(com.vaadin.ui.Layout layout)