public class CollectionEditorSingletonDOMElementFactory extends org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,CollectionViewImpl,CollectionEditorDOMElement>
Modifier and Type | Field and Description |
---|---|
protected ScenarioSimulationContext |
scenarioSimulationContext |
protected ViewsProvider |
viewsProvider |
Constructor and Description |
---|
CollectionEditorSingletonDOMElementFactory(org.uberfire.ext.wires.core.grids.client.widget.layer.impl.GridLienzoPanel gridPanel,
org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer gridLayer,
org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget,
ScenarioSimulationContext scenarioSimulationContext,
ViewsProvider viewsProvider) |
Modifier and Type | Method and Description |
---|---|
protected void |
commonCloseHandling(CollectionEditorDOMElement collectionEditorDOMElement) |
CollectionEditorDOMElement |
createDomElement(org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer gridLayer,
org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget) |
CollectionEditorDOMElement |
createDomElementInternal(CollectionViewImpl collectionEditorView,
org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer gridLayer,
org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget) |
CollectionViewImpl |
createWidget() |
protected Map<String,Map<String,String>> |
getExpandablePropertiesMap(String typeName) |
protected String |
getRuleComplexType(String genericTypeName0) |
protected Map<String,String> |
getSimplePropertiesMap(String typeName)
Retrieve a
Map with the property name/type of the given typeName
If typeName is a simple class (see ScenarioSimulationUtils.isSimpleJavaType(java.lang.String) )
the returned Map will have an entry with value as key and (typeName) as value |
protected String |
getValue() |
protected void |
manageList(CollectionViewImpl collectionEditorView,
String key,
String genericTypeName0,
org.drools.scenariosimulation.api.model.ScenarioSimulationModel.Type type) |
protected void |
manageMap(CollectionViewImpl collectionEditorView,
String key,
String genericTypeName0,
String genericTypeName1,
org.drools.scenariosimulation.api.model.ScenarioSimulationModel.Type type) |
void |
registerHandlers(CollectionViewImpl widget,
CollectionEditorDOMElement widgetDomElement) |
protected void |
setCollectionEditorStructureData(CollectionViewImpl collectionEditorView,
org.drools.scenariosimulation.api.model.FactMapping factMapping) |
protected ViewsProvider viewsProvider
protected ScenarioSimulationContext scenarioSimulationContext
public CollectionEditorSingletonDOMElementFactory(org.uberfire.ext.wires.core.grids.client.widget.layer.impl.GridLienzoPanel gridPanel, org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer gridLayer, org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget, ScenarioSimulationContext scenarioSimulationContext, ViewsProvider viewsProvider)
public CollectionViewImpl createWidget()
public CollectionEditorDOMElement createDomElement(org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer gridLayer, org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget)
createDomElement
in interface org.uberfire.ext.wires.core.grids.client.widget.dom.DOMElementFactory<CollectionViewImpl,CollectionEditorDOMElement>
createDomElement
in class org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,CollectionViewImpl,CollectionEditorDOMElement>
protected String getValue()
getValue
in class org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,CollectionViewImpl,CollectionEditorDOMElement>
protected void setCollectionEditorStructureData(CollectionViewImpl collectionEditorView, org.drools.scenariosimulation.api.model.FactMapping factMapping)
protected void manageList(CollectionViewImpl collectionEditorView, String key, String genericTypeName0, org.drools.scenariosimulation.api.model.ScenarioSimulationModel.Type type)
protected void manageMap(CollectionViewImpl collectionEditorView, String key, String genericTypeName0, String genericTypeName1, org.drools.scenariosimulation.api.model.ScenarioSimulationModel.Type type)
public CollectionEditorDOMElement createDomElementInternal(CollectionViewImpl collectionEditorView, org.uberfire.ext.wires.core.grids.client.widget.layer.GridLayer gridLayer, org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget gridWidget)
createDomElementInternal
in class org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,CollectionViewImpl,CollectionEditorDOMElement>
protected Map<String,String> getSimplePropertiesMap(String typeName)
Map
with the property name/type of the given typeName
If typeName is a simple class (see ScenarioSimulationUtils.isSimpleJavaType(java.lang.String)
)
the returned Map
will have an entry with value as key and (typeName) as valuetypeName
- protected Map<String,Map<String,String>> getExpandablePropertiesMap(String typeName)
protected void commonCloseHandling(CollectionEditorDOMElement collectionEditorDOMElement)
public void registerHandlers(CollectionViewImpl widget, CollectionEditorDOMElement widgetDomElement)
registerHandlers
in interface org.uberfire.ext.wires.core.grids.client.widget.dom.DOMElementFactory<CollectionViewImpl,CollectionEditorDOMElement>
registerHandlers
in class org.uberfire.ext.wires.core.grids.client.widget.dom.single.impl.BaseSingletonDOMElementFactory<String,CollectionViewImpl,CollectionEditorDOMElement>
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.