@Component(value="ui_PresentationEditor") @Scope(value="prototype") public class PresentationEditor extends JmixWindow implements org.springframework.beans.factory.InitializingBean
JmixWindow.PreCloseEvent, JmixWindow.PreCloseListenercom.vaadin.ui.Window.CloseEvent, com.vaadin.ui.Window.CloseListener, com.vaadin.ui.Window.CloseShortcut, com.vaadin.ui.Window.ResizeEvent, com.vaadin.ui.Window.ResizeListener, com.vaadin.ui.Window.WindowModeChangeEvent, com.vaadin.ui.Window.WindowModeChangeListener, com.vaadin.ui.Window.WindowOrderChangeEvent, com.vaadin.ui.Window.WindowOrderChangeListenercom.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandlercom.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, com.vaadin.ui.Component.Listenercom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListenercom.vaadin.server.Sizeable.Unitcom.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener| Modifier and Type | Field and Description |
|---|---|
protected io.jmix.core.AccessManager |
accessManager |
protected boolean |
allowGlobalPresentations |
protected com.vaadin.ui.CheckBox |
autoSaveField |
protected HasTablePresentations |
component |
protected io.jmix.core.security.CurrentAuthentication |
currentAuthentication |
protected com.vaadin.ui.CheckBox |
defaultField |
protected io.jmix.core.EntityStates |
entityStates |
protected FrameOwner |
frameOwner |
protected com.vaadin.ui.CheckBox |
globalField |
protected boolean |
isNew |
protected io.jmix.core.Messages |
messages |
protected com.vaadin.ui.TextField |
nameField |
protected TablePresentation |
presentation |
protected ComponentSettingsBinder |
settingsBinder |
BEFORE_WINDOW_CLOSE_METHOD, contextActionHandlers, contextActionMapper, rpc| Constructor and Description |
|---|
PresentationEditor(FrameOwner frameOwner,
TablePresentation presentation,
HasTablePresentations component,
ComponentSettingsBinder settingsBinder) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected void |
commit() |
protected java.lang.String |
getMessage(java.lang.String key) |
protected java.lang.String |
getPresentationCaption() |
protected java.lang.String |
getStringSettings() |
protected void |
initLayout() |
protected void |
initWindow() |
protected boolean |
validate() |
addContextActionHandler, addPreCloseListener, beforeClientResponse, close, forceClose, getCloseOnClickOutside, getContextActions, getState, getState, removeContextActionHandler, removePreCloseListener, setCloseOnClickOutsideaddBlurListener, addCloseListener, addCloseShortcut, addFocusListener, addResizeListener, addWindowModeChangeListener, addWindowOrderChangeListener, bringToFront, center, changeVariables, fireClose, fireResize, fireWindowOrderChange, fireWindowWindowModeChange, focus, getAssistiveDescription, getAssistivePostfix, getAssistivePrefix, getAssistiveRole, getBringToFront, getCloseShortcuts, getCustomAttributes, getOrderPosition, getPositionX, getPositionY, getTabStopBottomAssistiveText, getTabStopTopAssistiveText, getWindowMode, hasCloseShortcut, isClosable, isDraggable, isModal, isResizable, isResizeLazy, isTabStopEnabled, paintContent, readDesign, readDesignChildren, removeAllCloseShortcuts, removeCloseListener, removeCloseShortcut, removeCloseShortcut, removeResizeListener, removeWindowModeChangeListener, setAssistiveDescription, setAssistivePostfix, setAssistivePrefix, setAssistiveRole, setClosable, setCloseShortcut, setDraggable, setModal, setParent, setPosition, setPositionX, setPositionY, setResizable, setResizeLazy, setTabStopBottomAssistiveText, setTabStopEnabled, setTabStopTopAssistiveText, setWindowMode, writeDesignaddAction, addActionHandler, addClickListener, getActionManager, getScrollLeft, getScrollTop, getTabIndex, removeAction, removeActionHandler, removeAllActionHandlers, removeClickListener, setCaption, setScrollLeft, setScrollTop, setTabIndexaddComponentAttachListener, addComponentDetachListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentCount, getContent, iterator, removeComponentAttachListener, removeComponentDetachListener, removeFromParent, setContent, setHeight, setWidthaddContextClickListener, addContextHelpIconClickListener, addListener, addShortcutListener, addStyleName, attach, detach, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getJTestId, getLocale, getParent, getPrimaryStyleName, getRequiredError, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setJTestId, setLocale, setPrimaryStyleName, setReadOnly, setRequiredError, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthFull, setWidthUndefinedaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getJTestId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setEnabled, setIcon, setId, setJTestId, setPrimaryStyleName, setStyleName, setStyleName, setVisibleaddAttachListener, addDetachListener, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerprotected TablePresentation presentation
protected ComponentSettingsBinder settingsBinder
protected FrameOwner frameOwner
protected HasTablePresentations component
protected com.vaadin.ui.TextField nameField
protected com.vaadin.ui.CheckBox autoSaveField
protected com.vaadin.ui.CheckBox defaultField
protected com.vaadin.ui.CheckBox globalField
protected boolean isNew
protected boolean allowGlobalPresentations
@Autowired protected io.jmix.core.Messages messages
@Autowired protected io.jmix.core.security.CurrentAuthentication currentAuthentication
@Autowired protected io.jmix.core.AccessManager accessManager
@Autowired protected io.jmix.core.EntityStates entityStates
public PresentationEditor(FrameOwner frameOwner, TablePresentation presentation, HasTablePresentations component, ComponentSettingsBinder settingsBinder)
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionprotected void initWindow()
protected void initLayout()
protected boolean validate()
protected void commit()
protected java.lang.String getStringSettings()
protected java.lang.String getPresentationCaption()
protected java.lang.String getMessage(java.lang.String key)