org.drools.guvnor.client.decisiontable.widget
Class DecisionTableCellFactory
java.lang.Object
org.drools.guvnor.client.widgets.drools.decoratedgrid.AbstractCellFactory<org.drools.ide.common.client.modeldriven.dt52.BaseColumn>
org.drools.guvnor.client.decisiontable.widget.DecisionTableCellFactory
public class DecisionTableCellFactory
- extends AbstractCellFactory<org.drools.ide.common.client.modeldriven.dt52.BaseColumn>
A Factory to provide the Cells for given coordinate for Decision Tables.
|
Constructor Summary |
DecisionTableCellFactory(org.drools.ide.common.client.modeldriven.SuggestionCompletionEngine sce,
com.google.gwt.event.shared.EventBus eventBus)
Construct a Cell Factory for a specific Decision Table |
|
Method Summary |
DecoratedGridCellValueAdaptor<? extends Comparable<?>> |
getCell(org.drools.ide.common.client.modeldriven.dt52.BaseColumn column)
Create a Cell for the given DTColumnConfig |
void |
setModel(org.drools.ide.common.client.modeldriven.dt52.GuidedDecisionTable52 model)
Set the model for which cells will be created |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecisionTableCellFactory
public DecisionTableCellFactory(org.drools.ide.common.client.modeldriven.SuggestionCompletionEngine sce,
com.google.gwt.event.shared.EventBus eventBus)
- Construct a Cell Factory for a specific Decision Table
- Parameters:
sce - SuggestionCompletionEngine to assist with drop-downsmodel - The Decision Table model to assist data-type derivationeventBus - An EventBus on which cells can subscribe to events
setModel
public void setModel(org.drools.ide.common.client.modeldriven.dt52.GuidedDecisionTable52 model)
- Set the model for which cells will be created
- Parameters:
model -
getCell
public DecoratedGridCellValueAdaptor<? extends Comparable<?>> getCell(org.drools.ide.common.client.modeldriven.dt52.BaseColumn column)
- Create a Cell for the given DTColumnConfig
- Specified by:
getCell in class AbstractCellFactory<org.drools.ide.common.client.modeldriven.dt52.BaseColumn>
- Parameters:
column - The Decision Table model column
- Returns:
- A Cell
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.