Package | Description |
---|---|
org.drools.workbench.screens.scenariosimulation.client.collectioneditor |
Classes/html inside this package are used inside the collection editor
|
org.drools.workbench.screens.scenariosimulation.client.utils |
Modifier and Type | Class and Description |
---|---|
class |
CollectionViewImpl
This class is used as
Collection editor
The overall architecture is:
this widget contains a series of elements
if this widget represent a list, each element will show a single item of it, represented by a ListEditorElementViewImpl
if this widget represent a map, each element will show a single entry (key/value) of it, represented by a MapEditorElementViewImpl
PropertyEditorViewImpl represents a single property (label with name and textbox for value)
each item/key/value could be a simple java object or a complex one
for complex java object, for each property a PropertyEditorViewImpl will be created
the presenter will be responsible to choose which kind of elements are to be populated |
Modifier and Type | Field and Description |
---|---|
protected CollectionView |
CollectionPresenter.collectionView |
Modifier and Type | Method and Description |
---|---|
protected void |
CollectionPresenter.commonInit(String key,
CollectionView collectionView) |
void |
CollectionPresenter.initListStructure(String key,
Map<String,String> simplePropertiesMap,
Map<String,Map<String,String>> expandablePropertiesMap,
CollectionView collectionView) |
void |
CollectionView.Presenter.initListStructure(String key,
Map<String,String> instancePropertyMap,
Map<String,Map<String,String>> expandablePropertiesMap,
CollectionView collectionView)
Actual implementations should invoke this method first to retrieve information about the collection
generic type and the structure of such type
|
void |
CollectionPresenter.initMapStructure(String key,
Map<String,String> keyPropertyMap,
Map<String,String> valuePropertyMap,
CollectionView collectionView) |
void |
CollectionView.Presenter.initMapStructure(String key,
Map<String,String> keyPropertyMap,
Map<String,String> valuePropertyMap,
CollectionView collectionEditorView)
Actual implementations should invoke this method first to retrieve information about the collection
generic type and the structure of such type
|
Modifier and Type | Method and Description |
---|---|
CollectionView |
ViewsProvider.getCollectionEditorView() |
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.