public class FunctionGrid extends BaseExpressionGrid<FunctionDefinition,DMNGridData,FunctionUIModelMapper> implements HasListSelectorControl, HasParametersControl, HasKindSelectControl
com.ait.lienzo.client.core.shape.Group.GroupFactory
com.ait.lienzo.client.core.shape.GroupOf.GroupOfFactory<T extends com.ait.lienzo.client.core.shape.IPrimitive<?>,C extends com.ait.lienzo.client.core.shape.GroupOf<T,C>>
com.ait.lienzo.client.core.shape.ContainerNode.ContainerNodeFactory<C extends com.ait.lienzo.client.core.shape.json.IJSONSerializable<C> & com.ait.lienzo.client.core.shape.IContainer<C,?>>
com.ait.lienzo.client.core.shape.Node.NodeFactory<N extends com.ait.lienzo.client.core.shape.json.IJSONSerializable<N>>
HasListSelectorControl.ListSelectorDividerItem, HasListSelectorControl.ListSelectorHeaderItem, HasListSelectorControl.ListSelectorItem, HasListSelectorControl.ListSelectorTextItem
DEFAULT_PADDING, definitionUtils, editorSelectedEvent, gridPanel, listSelector, nesting, parent, RESIZE_EXISTING, RESIZE_EXISTING_MINIMUM, uiModelMapper
canvasCommandFactory, cellEditorControls, domainObjectSelectionEvent, gridLayer, hasExpression, hasName, isOnlyVisualChangeAllowed, nodeUUID, refreshFormPropertiesEvent, selectedDomainObject, sessionCommandManager, sessionManager, translationService
allColumns, body, bodyColumns, bodySelections, bodyTransformer, boundary, floatingBody, floatingBodySelections, floatingColumns, floatingColumnsTransformer, floatingHeader, floatingHeaderSelections, header, headerSelections, model, renderer, rendererHelper, renderingInformation, renderQueue
Constructor and Description |
---|
FunctionGrid(GridCellTuple parent,
Optional<String> nodeUUID,
HasExpression hasExpression,
Optional<HasName> hasName,
DMNGridPanel gridPanel,
DMNGridLayer gridLayer,
DMNGridData gridData,
DefinitionUtils definitionUtils,
SessionManager sessionManager,
SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
DefaultCanvasCommandFactory canvasCommandFactory,
javax.enterprise.event.Event<ExpressionEditorChanged> editorSelectedEvent,
javax.enterprise.event.Event<RefreshFormPropertiesEvent> refreshFormPropertiesEvent,
javax.enterprise.event.Event<DomainObjectSelectionEvent> domainObjectSelectionEvent,
CellEditorControlsView.Presenter cellEditorControls,
ListSelectorView.Presenter listSelector,
org.jboss.errai.ui.client.local.spi.TranslationService translationService,
boolean isOnlyVisualChangeAllowed,
int nesting,
Supplier<ExpressionEditorDefinitions> expressionEditorDefinitionsSupplier,
Supplier<ExpressionEditorDefinitions> supplementaryEditorDefinitionsSupplier,
NameAndDataTypePopoverView.Presenter headerEditor,
ParametersPopoverView.Presenter parametersEditor,
KindPopoverView.Presenter kindEditor) |
Modifier and Type | Method and Description |
---|---|
void |
addParameter(org.uberfire.mvp.Command onSuccess) |
void |
doAfterHeaderSelectionChange(int uiHeaderRowIndex,
int uiHeaderColumnIndex) |
protected void |
doInitialisation() |
List<HasListSelectorControl.ListSelectorItem> |
getItems(int uiRowIndex,
int uiColumnIndex) |
List<InformationItem> |
getParameters() |
void |
initialiseUiCells() |
protected void |
initialiseUiColumns() |
void |
initialiseUiRows() |
FunctionUIModelMapper |
makeUiModelMapper() |
void |
onItemSelected(HasListSelectorControl.ListSelectorItem item) |
void |
removeParameter(InformationItem parameter,
org.uberfire.mvp.Command onSuccess) |
void |
setFunctionKind(FunctionDefinition.Kind kind) |
void |
updateParameterName(InformationItem parameter,
String name,
org.uberfire.mvp.Command onSuccess) |
void |
updateParameterTypeRef(InformationItem parameter,
QName typeRef) |
adjustSelection, clearDisplayNameConsumer, deselect, doAfterSelectionChange, doResize, extractEditableHeaderMetaData, findParentGrid, getAutocompleteTextareaFactory, getBodyListBoxFactory, getBodyTextAreaFactory, getGridPanel, getHeaderTextAreaFactory, getHeaderTextBoxFactory, getLayer, getMinimumWidth, getNodeMouseClickEventHandlers, getNodeMouseDoubleClickEventHandlers, getPadding, getParentInformation, getUpdateStunnerTitleCommand, getViewport, hasAnyHeaderCellSelected, hasMultipleCellsSelected, isCacheable, newCellHasNoValueCommand, newCellHasValueCommand, newHasNameHasNoValueCommand, newHasNameHasValueCommand, newHeaderHasNoValueCommand, newHeaderHasValueCommand, onDragHandle, resize, select, selectCell, selectCell, selectExpressionEditorFirstCell, selectFirstCell, selectHeaderCell, selectHeaderCell, setDisplayNameConsumer, setTypeRefConsumer
fireDomainObjectSelectionEvent, fireDomainObjectSelectionEvent, getAndSetInitialWidth, getExpression, getNodeUUID, isOnlyVisualChangeAllowed, registerColumnResizeCompleted, showContextMenuForCell, showContextMenuForHeader
addCommandsToRenderQueue, addCommandToRenderQueue, drawBody, drawHeader, drawWithoutTransforms, executeRenderQueueCommands, getBaseGridRendererHelper, getBody, getCellSelectionManager, getGridMouseClickHandler, getGridMouseDoubleClickHandler, getHeader, getHeight, getModel, getRenderer, getRendererHelper, getWidth, isSelected, onGroupingToggle, onNodeMouseClick, renderGridBodyWidget, renderGridBoundary, renderGridHeaderWidget, renderSelectedRanges, setRenderer, setVisible, startEditingCell, startEditingCell
asGroup, getDefaultStorageEngine
add, add, asContainer, asGroupOf, asPrimitive, attachToLayerColorMap, batch, destroy, destroy, detachFromLayerColorMap, draw, find, getAlpha, getBoundingBoxAttributes, getControlHandleFactory, getControlHandles, getControlHandles, getDragBounds, getDragConstraint, getDragConstraints, getDragMode, getEventPropagationMode, getFactory, getFillAlpha, getGroupType, getLocation, getOffset, getRotation, getRotationDegrees, getScale, getShear, getStrokeAlpha, getTransformingAttributes, getX, getY, isDraggable, isDragging, isEditable, moveDown, moveToBottom, moveToTop, moveUp, refresh, remove, removeAll, removeFromParent, setAlpha, setControlHandleFactory, setDragBounds, setDragConstraint, setDragConstraints, setDraggable, setDragging, setDragMode, setEditable, setEventPropagationMode, setFillAlpha, setGroupType, setLocation, setOffset, setOffset, setOffset, setRotation, setRotationDegrees, setScale, setScale, setScale, setShear, setShear, setStrokeAlpha, setX, setY, toJSONObject
asContainerNode, copy, find, findByID, getBoundingBox, getChildNodes, getChildNodes, getPathClipper, getStorageBounds, getStorageEngine, length, moveDown, moveToBottom, moveToTop, moveUp, setPathClipper, setStorageBounds, setStorageEngine
addAttributesChangedHandler, addEnsureHandler, addNodeDragEndHandler, addNodeDragMoveHandler, addNodeDragStartHandler, addNodeGestureChangeHandler, addNodeGestureEndHandler, addNodeGestureStartHandler, addNodeMouseClickHandler, addNodeMouseDoubleClickHandler, addNodeMouseDownHandler, addNodeMouseEnterHandler, addNodeMouseExitHandler, addNodeMouseMoveHandler, addNodeMouseOutHandler, addNodeMouseOverHandler, addNodeMouseUpHandler, addNodeMouseWheelHandler, addNodeTouchCancelHandler, addNodeTouchEndHandler, addNodeTouchMoveHandler, addNodeTouchStartHandler, addParentsLocations, animate, animate, asAttributes, asAttributes, asGuide, asLayer, asList, asMultiPointShape, asNode, asScene, asShape, asViewport, cancelAttributesChangedBatcher, cast, copyUnchecked, doAnimating, drawWithTransforms, drawWithTransforms, equals, fireEvent, getAbsoluteLocation, getAbsoluteTransform, getAttributes, getAttributeSheet, getBoundingPoints, getBoundingPoints, getComputedBoundingPoints, getComputedLocation, getID, getMetaData, getName, getNodeType, getOverLayer, getParent, getPossibleNodeTransform, getRequiredAttributes, getScene, getScratchPad, getUserData, hashCode, hasMetaData, isAnimating, isEventHandled, isEventHandledGlobally, isListening, isVisible, onWire, setAttributesChangedBatcher, setID, setListening, setName, setNodeType, setParent, setUserData, toJSONString, toString, unAnimating, uuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
attachToLayerColorMap, detachFromLayerColorMap, getAlpha, getControlHandleFactory, getDragBounds, getDragConstraint, getDragConstraints, getDragMode, getEventPropagationMode, getFillAlpha, getLocation, getOffset, getRotation, getRotationDegrees, getScale, getShear, getStrokeAlpha, getX, getY, isDraggable, isDragging, isEditable, setAlpha, setControlHandleFactory, setDragBounds, setDragConstraint, setDragConstraints, setDraggable, setDragging, setDragMode, setEditable, setEventPropagationMode, setFillAlpha, setLocation, setOffset, setOffset, setOffset, setRotation, setRotationDegrees, setScale, setScale, setScale, setShear, setShear, setStrokeAlpha, setX, setY
addAttributesChangedHandler, addNodeDragEndHandler, addNodeDragMoveHandler, addNodeDragStartHandler, addNodeGestureChangeHandler, addNodeGestureEndHandler, addNodeGestureStartHandler, addNodeMouseClickHandler, addNodeMouseDoubleClickHandler, addNodeMouseDownHandler, addNodeMouseEnterHandler, addNodeMouseExitHandler, addNodeMouseMoveHandler, addNodeMouseOutHandler, addNodeMouseOverHandler, addNodeMouseUpHandler, addNodeMouseWheelHandler, addNodeTouchCancelHandler, addNodeTouchEndHandler, addNodeTouchMoveHandler, addNodeTouchStartHandler, animate, animate, asContainer, asContainerNode, asGroup, asGroupOf, asGuide, asLayer, asMultiPointShape, asNode, asPrimitive, asScene, asShape, asViewport, batch, cancelAttributesChangedBatcher, copy, draw, drawWithTransforms, fireEvent, getAbsoluteLocation, getAbsoluteTransform, getAttributes, getAttributeSheet, getBoundingBox, getBoundingBoxAttributes, getBoundingPoints, getComputedBoundingPoints, getComputedLocation, getID, getMetaData, getName, getNodeType, getOverLayer, getParent, getRequiredAttributes, getScene, getScratchPad, getTransformingAttributes, getUserData, hasMetaData, isEventHandled, isListening, isVisible, moveDown, moveToBottom, moveToTop, moveUp, refresh, removeFromParent, setAttributesChangedBatcher, setID, setListening, setName, setUserData, uuid
public FunctionGrid(GridCellTuple parent, Optional<String> nodeUUID, HasExpression hasExpression, Optional<HasName> hasName, DMNGridPanel gridPanel, DMNGridLayer gridLayer, DMNGridData gridData, DefinitionUtils definitionUtils, SessionManager sessionManager, SessionCommandManager<AbstractCanvasHandler> sessionCommandManager, DefaultCanvasCommandFactory canvasCommandFactory, javax.enterprise.event.Event<ExpressionEditorChanged> editorSelectedEvent, javax.enterprise.event.Event<RefreshFormPropertiesEvent> refreshFormPropertiesEvent, javax.enterprise.event.Event<DomainObjectSelectionEvent> domainObjectSelectionEvent, CellEditorControlsView.Presenter cellEditorControls, ListSelectorView.Presenter listSelector, org.jboss.errai.ui.client.local.spi.TranslationService translationService, boolean isOnlyVisualChangeAllowed, int nesting, Supplier<ExpressionEditorDefinitions> expressionEditorDefinitionsSupplier, Supplier<ExpressionEditorDefinitions> supplementaryEditorDefinitionsSupplier, NameAndDataTypePopoverView.Presenter headerEditor, ParametersPopoverView.Presenter parametersEditor, KindPopoverView.Presenter kindEditor)
protected void doInitialisation()
doInitialisation
in class BaseExpressionGrid<FunctionDefinition,DMNGridData,FunctionUIModelMapper>
public FunctionUIModelMapper makeUiModelMapper()
makeUiModelMapper
in class BaseExpressionGrid<FunctionDefinition,DMNGridData,FunctionUIModelMapper>
protected void initialiseUiColumns()
initialiseUiColumns
in class BaseExpressionGrid<FunctionDefinition,DMNGridData,FunctionUIModelMapper>
public void initialiseUiRows()
initialiseUiRows
in class BaseExpressionGrid<FunctionDefinition,DMNGridData,FunctionUIModelMapper>
public void initialiseUiCells()
initialiseUiCells
in class BaseExpressionGrid<FunctionDefinition,DMNGridData,FunctionUIModelMapper>
public List<HasListSelectorControl.ListSelectorItem> getItems(int uiRowIndex, int uiColumnIndex)
getItems
in interface HasListSelectorControl
public void onItemSelected(HasListSelectorControl.ListSelectorItem item)
onItemSelected
in interface HasListSelectorControl
public List<InformationItem> getParameters()
getParameters
in interface HasParametersControl
public void addParameter(org.uberfire.mvp.Command onSuccess)
addParameter
in interface HasParametersControl
public void removeParameter(InformationItem parameter, org.uberfire.mvp.Command onSuccess)
removeParameter
in interface HasParametersControl
public void updateParameterName(InformationItem parameter, String name, org.uberfire.mvp.Command onSuccess)
updateParameterName
in interface HasParametersControl
public void updateParameterTypeRef(InformationItem parameter, QName typeRef)
updateParameterTypeRef
in interface HasParametersControl
public void doAfterHeaderSelectionChange(int uiHeaderRowIndex, int uiHeaderColumnIndex)
doAfterHeaderSelectionChange
in class BaseExpressionGrid<FunctionDefinition,DMNGridData,FunctionUIModelMapper>
public void setFunctionKind(FunctionDefinition.Kind kind)
setFunctionKind
in interface HasKindSelectControl
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.