Class AutocompleteTextAreaDOMElementFactory
- java.lang.Object
-
- org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,MonacoEditorWidget,MonacoEditorDOMElement>
-
- org.kie.workbench.common.dmn.client.widgets.grid.columns.factory.AutocompleteTextAreaDOMElementFactory
-
- All Implemented Interfaces:
org.uberfire.ext.wires.core.grids.client.widget.dom.DOMElementFactory<MonacoEditorWidget,MonacoEditorDOMElement>,org.uberfire.ext.wires.core.grids.client.widget.dom.HasDOMElementResources,org.uberfire.ext.wires.core.grids.client.widget.dom.single.HasSingletonDOMElementResource,org.uberfire.ext.wires.core.grids.client.widget.dom.single.SingletonDOMElementFactory<MonacoEditorWidget,MonacoEditorDOMElement>
public class AutocompleteTextAreaDOMElementFactory extends org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,MonacoEditorWidget,MonacoEditorDOMElement>
-
-
Constructor Summary
Constructors Constructor Description AutocompleteTextAreaDOMElementFactory(DMNGridPanel gridPanel, org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer gridLayer, org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget, org.kie.workbench.common.stunner.core.client.api.SessionManager sessionManager, org.kie.workbench.common.stunner.core.client.command.SessionCommandManager<org.kie.workbench.common.stunner.core.client.canvas.AbstractCanvasHandler> sessionCommandManager, Function<GridCellTuple,org.kie.workbench.common.stunner.core.command.Command> hasNoValueCommand, Function<GridCellValueTuple,org.kie.workbench.common.stunner.core.command.Command> hasValueCommand)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MonacoEditorDOMElementcreateDomElementInternal(MonacoEditorWidget widget, org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer gridLayer, org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget)MonacoEditorWidgetcreateWidget()protected org.uberfire.ext.wires.core.grids.client.widget.grid.keyboard.KeyDownHandlerCommondestroyOrFlushKeyDownHandler()Function<GridCellTuple,org.kie.workbench.common.stunner.core.command.Command>getHasNoValueCommand()Function<GridCellValueTuple,org.kie.workbench.common.stunner.core.command.Command>getHasValueCommand()protected StringgetValue()protected MonacoEditorDOMElementmakeMonacoEditorDOMElement(MonacoEditorWidget widget, org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer gridLayer, org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget)
-
-
-
Constructor Detail
-
AutocompleteTextAreaDOMElementFactory
public AutocompleteTextAreaDOMElementFactory(DMNGridPanel gridPanel, org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer gridLayer, org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget, org.kie.workbench.common.stunner.core.client.api.SessionManager sessionManager, org.kie.workbench.common.stunner.core.client.command.SessionCommandManager<org.kie.workbench.common.stunner.core.client.canvas.AbstractCanvasHandler> sessionCommandManager, Function<GridCellTuple,org.kie.workbench.common.stunner.core.command.Command> hasNoValueCommand, Function<GridCellValueTuple,org.kie.workbench.common.stunner.core.command.Command> hasValueCommand)
-
-
Method Detail
-
getHasNoValueCommand
public Function<GridCellTuple,org.kie.workbench.common.stunner.core.command.Command> getHasNoValueCommand()
-
getHasValueCommand
public Function<GridCellValueTuple,org.kie.workbench.common.stunner.core.command.Command> getHasValueCommand()
-
createWidget
public MonacoEditorWidget createWidget()
-
getValue
protected String getValue()
- Specified by:
getValuein classorg.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,MonacoEditorWidget,MonacoEditorDOMElement>
-
destroyOrFlushKeyDownHandler
protected org.uberfire.ext.wires.core.grids.client.widget.grid.keyboard.KeyDownHandlerCommon destroyOrFlushKeyDownHandler()
- Overrides:
destroyOrFlushKeyDownHandlerin classorg.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,MonacoEditorWidget,MonacoEditorDOMElement>
-
createDomElementInternal
protected MonacoEditorDOMElement createDomElementInternal(MonacoEditorWidget widget, org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer gridLayer, org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget)
- Specified by:
createDomElementInternalin classorg.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,MonacoEditorWidget,MonacoEditorDOMElement>
-
makeMonacoEditorDOMElement
protected MonacoEditorDOMElement makeMonacoEditorDOMElement(MonacoEditorWidget widget, org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer gridLayer, org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget)
-
-