public class FactPatternWidget extends RuleModellerWidget
modeller| Constructor and Description |
|---|
FactPatternWidget(RuleModeller mod,
com.google.gwt.event.shared.EventBus eventBus,
org.drools.workbench.models.datamodel.rule.IPattern p,
boolean canBind) |
FactPatternWidget(RuleModeller ruleModeller,
com.google.gwt.event.shared.EventBus eventBus,
org.drools.workbench.models.datamodel.rule.IPattern pattern,
boolean canBind,
Boolean readOnly)
Creates a new FactPatternWidget
|
FactPatternWidget(RuleModeller mod,
com.google.gwt.event.shared.EventBus eventBus,
org.drools.workbench.models.datamodel.rule.IPattern p,
boolean isAll0WithLabel,
boolean canBind,
Boolean readOnly) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawConstraints(List<org.drools.workbench.models.datamodel.rule.FieldConstraint> sortedConst,
org.drools.workbench.models.datamodel.rule.HasConstraints hasConstraints)
Render a hierarchy of constraints, hierarchy here means constraints that
may themselves depend on members of constraint objects.
|
boolean |
isFactTypeKnown()
Does the Fact Type the Widget represents known to the
SuggestionCompletionEngine.
|
boolean |
isReadOnly()
Dictates if the widget's state is RO or not.
|
addFactTypeKnownValueChangeHandler, addOnModifiedCommand, getEventBus, getModeller, isModified, setModifiedclaimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringpublic FactPatternWidget(RuleModeller mod, com.google.gwt.event.shared.EventBus eventBus, org.drools.workbench.models.datamodel.rule.IPattern p, boolean canBind)
public FactPatternWidget(RuleModeller ruleModeller, com.google.gwt.event.shared.EventBus eventBus, org.drools.workbench.models.datamodel.rule.IPattern pattern, boolean canBind, Boolean readOnly)
canBind - readOnly - if the widget should be in RO mode. If this parameter is null,
the readOnly attribute is calculated.public FactPatternWidget(RuleModeller mod, com.google.gwt.event.shared.EventBus eventBus, org.drools.workbench.models.datamodel.rule.IPattern p, boolean isAll0WithLabel, boolean canBind, Boolean readOnly)
protected void drawConstraints(List<org.drools.workbench.models.datamodel.rule.FieldConstraint> sortedConst, org.drools.workbench.models.datamodel.rule.HasConstraints hasConstraints)
sortedConst - a sorted list of constraints to display.public boolean isReadOnly()
RuleModellerWidgetisReadOnly in class RuleModellerWidgetpublic boolean isFactTypeKnown()
RuleModellerWidgetisFactTypeKnown in class RuleModellerWidgetCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.