public class RelatedEntitiesImpl<E> extends PopupButtonImpl implements RelatedEntities<E>
PopupButtonImpl.PopupMenuButton
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.Wrapper
PopupButton.PopupOpenDirection, PopupButton.PopupVisibilityEvent
HasContextHelp.ContextHelpIconClickEvent
Modifier and Type | Field and Description |
---|---|
protected io.jmix.core.AccessManager |
accessManager |
protected Actions |
actions |
protected java.lang.String |
excludeRegex |
protected ListComponent<E> |
listComponent |
protected io.jmix.core.Messages |
messages |
protected io.jmix.core.MessageTools |
messageTools |
protected io.jmix.core.MetadataTools |
metadataTools |
protected OpenMode |
openMode |
protected java.util.Map<java.lang.String,PropertyOption> |
propertyOptions |
protected ScreensHelper |
screensHelper |
actionButtons, actionOrder, actionPropertyChangeListener, actionsPermissions, CONTEXT_MENU_BUTTON_STYLENAME, popupComponent, popupVisibilityListenerRegistration, showActionIcons, vActionsContainer, vPopupComponent
alignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parent
NAME
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
NAME
Constructor and Description |
---|
RelatedEntitiesImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
addNavigationAction(io.jmix.core.metamodel.model.MetaProperty metaProperty) |
void |
addPropertyOption(PropertyOption propertyOption) |
protected Action |
createRelatedAction(io.jmix.core.metamodel.model.MetaProperty metaProperty,
WindowInfo defaultScreen,
PropertyOption propertyOption) |
java.lang.String |
getExcludePropertiesRegex() |
ListComponent<E> |
getListComponent() |
protected io.jmix.core.metamodel.model.MetaClass |
getMetaClass(ListComponent<E> listComponent) |
OpenMode |
getOpenMode() |
protected boolean |
isSuitableProperty(io.jmix.core.metamodel.model.MetaClass metaClass,
io.jmix.core.metamodel.model.MetaProperty metaProperty,
java.util.regex.Pattern excludePattern) |
protected void |
refreshNavigationActions() |
void |
removePropertyOption(java.lang.String property) |
void |
setAccessManager(io.jmix.core.AccessManager accessManager) |
void |
setActions(Actions actions) |
void |
setExcludePropertiesRegex(java.lang.String excludeRegex) |
void |
setListComponent(ListComponent<E> listComponent) |
void |
setMessages(io.jmix.core.Messages messages) |
void |
setMessageTools(io.jmix.core.MessageTools messageTools) |
void |
setMetadataTools(io.jmix.core.MetadataTools metadataTools) |
void |
setOpenMode(OpenMode openMode) |
void |
setScreensHelper(ScreensHelper screensHelper) |
actionPropertyChanged, addAction, addAction, addPopupVisibilityListener, createActionButton, createActionsContainer, createComponent, focus, getAction, getActions, getActionsPermissions, getMenuWidth, getMenuWidthSizeUnit, getPopupContent, getPopupOpenDirection, getTabIndex, hasVisibleActions, internalRemovePopupVisibilityListener, isAutoClose, isClosePopupOnOutsideClick, isPopupVisible, isShowActionIcons, isTogglePopupVisibilityOnClick, removeAction, removeAction, removeAllActions, setAutoClose, setClosePopupOnOutsideClick, setDebugId, setMenuWidth, setPopupButtonAction, setPopupButtonIcon, setPopupContent, setPopupOpenDirection, setPopupVisible, setShowActionIcons, setTabIndex, setThemeConstantsManager, setTogglePopupVisibilityOnClick, updateActionsIcons
addAttachListener, addDetachListener, addStyleName, assignDebugId, attached, detached, getAlignment, getCaption, getComponent, getComposition, getContextHelpIconClickHandler, getContextHelpText, getDebugId, getDescription, getEventHub, getFrame, getHeight, getHeightSizeUnit, getHtmlSanitizer, getIcon, getIconName, getIconResource, getId, getParent, getStyleName, getUiComponentProperties, getUiProperties, getWidth, getWidthSizeUnit, getXmlDescriptor, hasSubscriptions, hasValidationError, isAttached, isCaptionAsHtml, isContextHelpTextHtmlEnabled, isDescriptionAsHtml, isEnabled, isEnabledRecursive, isHtmlSanitizerEnabled, isResponsive, isVisible, isVisibleRecursive, onContextHelpIconClick, publish, removeStyleName, sanitize, setAlignment, setApplicationContext, setCaption, setCaptionAsHtml, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled, setDescription, setDescriptionAsHtml, setEnabled, setFrame, setHeight, setHtmlSanitizerEnabled, setIcon, setIconFromSet, setId, setParent, setResponsive, setStyleName, setValidationError, setVisible, setWidth, setXmlDescriptor, unsubscribe, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFrame, setFrame
getIcon, setIcon, setIconFromSet
focus, getTabIndex, isFocusable, setFocusable, setTabIndex
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
isCaptionAsHtml, setCaptionAsHtml
getCaption, setCaption
getDescription, setDescription
isDescriptionAsHtml, setDescriptionAsHtml
isHtmlSanitizerEnabled, setHtmlSanitizerEnabled
getActionNN, getSubPart
protected Actions actions
protected io.jmix.core.Messages messages
protected io.jmix.core.MessageTools messageTools
protected io.jmix.core.AccessManager accessManager
protected io.jmix.core.MetadataTools metadataTools
protected ScreensHelper screensHelper
protected ListComponent<E> listComponent
protected OpenMode openMode
protected java.util.Map<java.lang.String,PropertyOption> propertyOptions
protected java.lang.String excludeRegex
@Autowired public void setActions(Actions actions)
@Autowired public void setMessages(io.jmix.core.Messages messages)
@Autowired public void setAccessManager(io.jmix.core.AccessManager accessManager)
@Autowired public void setMessageTools(io.jmix.core.MessageTools messageTools)
@Autowired public void setMetadataTools(io.jmix.core.MetadataTools metadataTools)
@Autowired public void setScreensHelper(ScreensHelper screensHelper)
public OpenMode getOpenMode()
getOpenMode
in interface RelatedEntities<E>
public void setOpenMode(OpenMode openMode)
setOpenMode
in interface RelatedEntities<E>
@Nullable public java.lang.String getExcludePropertiesRegex()
getExcludePropertiesRegex
in interface RelatedEntities<E>
public void setExcludePropertiesRegex(@Nullable java.lang.String excludeRegex)
setExcludePropertiesRegex
in interface RelatedEntities<E>
public void addPropertyOption(PropertyOption propertyOption)
addPropertyOption
in interface RelatedEntities<E>
public void removePropertyOption(java.lang.String property)
removePropertyOption
in interface RelatedEntities<E>
@Nullable public ListComponent<E> getListComponent()
getListComponent
in interface RelatedEntities<E>
public void setListComponent(@Nullable ListComponent<E> listComponent)
setListComponent
in interface RelatedEntities<E>
protected void refreshNavigationActions()
protected boolean isSuitableProperty(io.jmix.core.metamodel.model.MetaClass metaClass, io.jmix.core.metamodel.model.MetaProperty metaProperty, @Nullable java.util.regex.Pattern excludePattern)
protected io.jmix.core.metamodel.model.MetaClass getMetaClass(ListComponent<E> listComponent)
protected void addNavigationAction(io.jmix.core.metamodel.model.MetaProperty metaProperty)
protected Action createRelatedAction(io.jmix.core.metamodel.model.MetaProperty metaProperty, @Nullable WindowInfo defaultScreen, @Nullable PropertyOption propertyOption)