public class TemplateEditor extends com.haulmont.cuba.gui.components.AbstractEditor<ReportTemplate>
com.haulmont.cuba.gui.screen.Screen.AfterCloseEvent, com.haulmont.cuba.gui.screen.Screen.AfterDetachEvent, com.haulmont.cuba.gui.screen.Screen.AfterInitEvent, com.haulmont.cuba.gui.screen.Screen.AfterShowEvent, com.haulmont.cuba.gui.screen.Screen.BeforeCloseEvent, com.haulmont.cuba.gui.screen.Screen.BeforeShowEvent, com.haulmont.cuba.gui.screen.Screen.InitEvent
com.haulmont.cuba.gui.components.Window.BeforeCloseEvent, com.haulmont.cuba.gui.components.Window.BeforeCloseWithCloseButtonEvent, com.haulmont.cuba.gui.components.Window.BeforeCloseWithShortcutEvent, com.haulmont.cuba.gui.components.Window.CloseListener, com.haulmont.cuba.gui.components.Window.CloseOrigin, com.haulmont.cuba.gui.components.Window.CloseWithCommitListener, com.haulmont.cuba.gui.components.Window.Committable, com.haulmont.cuba.gui.components.Window.ContentSwitchMode, com.haulmont.cuba.gui.components.Window.Editor<T extends com.haulmont.cuba.core.entity.Entity>, com.haulmont.cuba.gui.components.Window.HasFoldersPane, com.haulmont.cuba.gui.components.Window.HasUserIndicator, com.haulmont.cuba.gui.components.Window.HasWorkArea, com.haulmont.cuba.gui.components.Window.Lookup<T extends com.haulmont.cuba.core.entity.Entity>, com.haulmont.cuba.gui.components.Window.TopLevelWindow, com.haulmont.cuba.gui.components.Window.Wrapper
com.haulmont.cuba.gui.components.Frame.MessageMode, com.haulmont.cuba.gui.components.Frame.MessageType, com.haulmont.cuba.gui.components.Frame.NotificationType
com.haulmont.cuba.gui.components.ExpandingLayout.ExpandDirection
com.haulmont.cuba.gui.components.Component.Alignment, com.haulmont.cuba.gui.components.Component.BelongToFrame, com.haulmont.cuba.gui.components.Component.Disposable, com.haulmont.cuba.gui.components.Component.Editable, com.haulmont.cuba.gui.components.Component.Focusable, com.haulmont.cuba.gui.components.Component.HasCaption, com.haulmont.cuba.gui.components.Component.HasDescription, com.haulmont.cuba.gui.components.Component.HasIcon, com.haulmont.cuba.gui.components.Component.HasXmlDescriptor, com.haulmont.cuba.gui.components.Component.OptionsStyleProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CUSTOM |
static java.lang.String |
CUSTOM_DEFINE_BY |
static java.lang.String |
REPORT_OUTPUT_TYPE |
BROWSE_WINDOW_SUFFIX, CLOSE_ACTION_ID, COMMIT_ACTION_ID, CREATE_WINDOW_SUFFIX, EDITOR_WINDOW_SUFFIX, LOOKUP_WINDOW_SUFFIX, SELECT_ACTION_ID
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE, UNITS_PERCENTAGE, UNITS_PIXELS
Constructor and Description |
---|
TemplateEditor() |
Modifier and Type | Method and Description |
---|---|
void |
init(java.util.Map<java.lang.String,java.lang.Object> params) |
boolean |
preCommit() |
void |
ready() |
void |
showCustomDefinitionHelp() |
void |
showGroovyScriptEditorDialog() |
closeWithCommit, commit, commit, commitAndClose, getEditedEntity, getItem, getParentDs, hasUnsavedChanges, isCrossFieldValidate, isLocked, isModified, isReadOnly, isShowSaveNotification, releaseLock, setCrossFieldValidate, setEntityToEdit, setItem, setParentDs, setReadOnly, setShowSaveNotification, validateAdditionalRules
add, add, addAction, addAction, addBeforeWindowCloseListener, addFacet, addStyleName, addTimer, applySettings, closeWithDiscard, deleteSettings, expand, expand, getAction, getActions, getActionsPermissions, getAlignment, getCaption, getCompanion, getComponent, getComponent, getComponent, getComponents, getComposition, getContentSwitchMode, getContext, getDescription, getDialogOptions, getDsContext, getExpandDirection, getExpandRatio, getFacet, getFacets, getFocusComponent, getFrame, getFrameOwner, getHeight, getHeightSizeUnit, getIcon, getMargin, getMaxHeight, getMaxWidth, getMessagesPack, getMinHeight, getMinWidth, getOwnComponent, getOwnComponents, getOwnComponentsStream, getParent, getSettings, getSpacing, getStyleName, getTimer, getWidth, getWidthSizeUnit, getWindowManager, getWrappedFrame, getWrappedWindow, getXmlDescriptor, indexOf, isAttributeAccessControlEnabled, isCloseable, isEnabled, isEnabledRecursive, isExpanded, isResponsive, isValid, isVisible, isVisibleRecursive, remove, removeAction, removeAction, removeAll, removeAllActions, removeBeforeWindowCloseListener, removeFacet, removeStyleName, resetExpanded, saveSettings, setAlignment, setCaption, setCloseable, setCompanion, setContentSwitchMode, setDescription, setDsContext, setEnabled, setExpandRatio, setFocusComponent, setFrame, setHeight, setIcon, setIconFromSet, setId, setMargin, setMaxHeight, setMaxWidth, setMessagesPack, setMinHeight, setMinWidth, setParent, setResponsive, setSpacing, setStyleName, setVisible, setWidth, setXmlDescriptor, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, validate, validate, validateAll, withUnwrapped, withUnwrappedComposition
addAfterCloseListener, addAfterShowListener, close, close, closeWithDefaultAction, getId, getWindow, show
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addBeforeCloseWithCloseButtonListener, addBeforeCloseWithShortcutListener, addBeforeWindowCloseListener, addCloseListener, addCloseWithCommitListener, addListener, addTimer, applySettings, close, close, closeAndRun, deleteSettings, getContext, getDialogOptions, getFocusComponent, getFrameOwner, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getSettings, getTimer, getWindowManager, isCloseable, removeBeforeCloseWithCloseButtonListener, removeBeforeCloseWithShortcutListener, removeBeforeWindowCloseListener, removeCloseListener, removeCloseWithCommitListener, removeListener, saveSettings, setCloseable, setFocusComponent, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, validate, validateAll
addFacet, getFacet, getFacetNN, getFacets, isValid, removeFacet, validate
expand, expand, getExpandDirection, isExpanded, resetExpanded
add, getComponent, getComponentNN, indexOf
add, add, focusFirstComponent, getComponent, getComponentNN, getComponents, getOwnComponent, getOwnComponents, getOwnComponentsStream, remove, remove, removeAll
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, getWidthUnits, isEnabled, isEnabledItself, isEnabledRecursive, isResponsive, isVisible, isVisibleItself, isVisibleRecursive, removeStyleName, requestFocus, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
getFrame, setFrame
getMargin, setMargin, setMargin, setMargin
addAction, addAction, getAction, getActionNN, getActions, getSubPart, removeAction, removeAction, removeAllActions
getIcon, setIcon, setIconFromSet
getCaption, setCaption
getDescription, setDescription
openEditor, openEditor, openEditor, openEditor, openEditor, openEditor, openEditor, openFrame, openFrame, openLookup, openLookup, openLookup, openLookup, openWindow, openWindow, showMessageDialog, showNotification, showNotification, showNotification, showOptionDialog, showOptionDialog, showWebPage
getExpandRatio, setExpandRatio
getCompanion, getContext, getDsContext, getMessagesPack, getXmlDescriptor, isValid, setDsContext, setMessagesPack, setXmlDescriptor, validate, validate, validateAll
public static final java.lang.String CUSTOM_DEFINE_BY
public static final java.lang.String CUSTOM
public static final java.lang.String REPORT_OUTPUT_TYPE
public void init(java.util.Map<java.lang.String,java.lang.Object> params)
init
in class com.haulmont.cuba.gui.components.AbstractWindow
public void ready()
ready
in class com.haulmont.cuba.gui.components.AbstractWindow
public boolean preCommit()
preCommit
in class com.haulmont.cuba.gui.components.AbstractEditor<ReportTemplate>
public void showGroovyScriptEditorDialog()
public void showCustomDefinitionHelp()