org.drools.guvnor.client.decisiontable.widget
Class DecisionTableDropDownManager
java.lang.Object
org.drools.guvnor.client.decisiontable.widget.DecisionTableDropDownManager
- All Implemented Interfaces:
- CellTableDropDownDataValueMapProvider, DropDownDataValueMapProvider<com.google.gwt.cell.client.Cell.Context>
public class DecisionTableDropDownManager
- extends Object
- implements CellTableDropDownDataValueMapProvider
A utility class to get the values of all Constraints\Actions in the scope of
a Template Key to drive dependent enumerations. A value is in scope if it is
on a Constraint or Action on the same Pattern of the base column.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecisionTableDropDownManager
public DecisionTableDropDownManager(GuidedDecisionTable52 model,
SuggestionCompletionEngine sce)
DecisionTableDropDownManager
public DecisionTableDropDownManager(GuidedDecisionTable52 model,
DynamicData data,
SuggestionCompletionEngine sce)
setData
public void setData(DynamicData data)
- Specified by:
setData
in interface CellTableDropDownDataValueMapProvider
getCurrentValueMap
public Map<String,String> getCurrentValueMap(com.google.gwt.cell.client.Cell.Context context)
- Create a map of Field Values keyed on Field Names used by
SuggestionCompletionEngine.getEnums(String, String, Map)
to drive dependent enumerations.
- Specified by:
getCurrentValueMap
in interface DropDownDataValueMapProvider<com.google.gwt.cell.client.Cell.Context>
- Parameters:
context
- The Context of the cell being edited containing physical
coordinate in the data-space.
getDependentColumnIndexes
public Set<Integer> getDependentColumnIndexes(com.google.gwt.cell.client.Cell.Context context)
- Specified by:
getDependentColumnIndexes
in interface DropDownDataValueMapProvider<com.google.gwt.cell.client.Cell.Context>
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.