Drools Workbench - Guided Decision Table Editor - Client 6.2.0.CR2

org.drools.workbench.screens.guided.dtable.client.wizard.pages
Class FactPatternConstraintsPageViewImpl

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.drools.workbench.screens.guided.dtable.client.wizard.pages.FactPatternConstraintsPageViewImpl
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget, FactPatternConstraintsPageView, RequiresValidator, org.uberfire.client.mvp.UberView<FactPatternConstraintsPageView.Presenter>

@Dependent
public class FactPatternConstraintsPageViewImpl
extends com.google.gwt.user.client.ui.Composite
implements FactPatternConstraintsPageView

An implementation of the Fact Patterns Constraints page


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Nested classes/interfaces inherited from interface org.drools.workbench.screens.guided.dtable.client.wizard.pages.FactPatternConstraintsPageView
FactPatternConstraintsPageView.Presenter
 
Field Summary
protected  com.google.gwt.user.client.ui.ScrollPanel availableFieldsContainer
           
protected  com.google.gwt.user.client.ui.ScrollPanel availablePatternsContainer
           
protected  com.google.gwt.user.client.ui.PushButton btnAdd
           
protected  com.google.gwt.user.client.ui.PushButton btnRemove
           
protected  com.google.gwt.user.client.ui.ScrollPanel chosenConditionsContainer
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
FactPatternConstraintsPageViewImpl()
           
 
Method Summary
 void btnAddClick(com.google.gwt.event.dom.client.ClickEvent event)
           
 void btnRemoveClick(com.google.gwt.event.dom.client.ClickEvent event)
           
 void init(FactPatternConstraintsPageView.Presenter presenter)
           
 void setAreConditionsDefined(boolean areConditionsDefined)
           
 void setArePatternBindingsUnique(boolean arePatternBindingsUnique)
           
 void setAvailableFields(List<AvailableField> fields)
           
 void setAvailablePatterns(List<org.drools.workbench.models.guided.dtable.shared.model.Pattern52> patterns)
           
 void setChosenConditions(List<org.drools.workbench.models.guided.dtable.shared.model.ConditionCol52> conditions)
           
 void setDTCellValueUtilities(DTCellValueUtilities cellUtils)
           
 void setDTCellValueWidgetFactory(DTCellValueWidgetFactory factory)
           
 void setup()
           
 void setValidator(Validator validator)
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, 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, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget
asWidget
 

Field Detail

availablePatternsContainer

@UiField
protected com.google.gwt.user.client.ui.ScrollPanel availablePatternsContainer

availableFieldsContainer

@UiField
protected com.google.gwt.user.client.ui.ScrollPanel availableFieldsContainer

chosenConditionsContainer

@UiField
protected com.google.gwt.user.client.ui.ScrollPanel chosenConditionsContainer

btnAdd

@UiField
protected com.google.gwt.user.client.ui.PushButton btnAdd

btnRemove

@UiField
protected com.google.gwt.user.client.ui.PushButton btnRemove
Constructor Detail

FactPatternConstraintsPageViewImpl

public FactPatternConstraintsPageViewImpl()
Method Detail

setup

@PostConstruct
public void setup()

setValidator

public void setValidator(Validator validator)
Specified by:
setValidator in interface RequiresValidator

setDTCellValueUtilities

public void setDTCellValueUtilities(DTCellValueUtilities cellUtils)
Specified by:
setDTCellValueUtilities in interface FactPatternConstraintsPageView

init

public void init(FactPatternConstraintsPageView.Presenter presenter)
Specified by:
init in interface org.uberfire.client.mvp.UberView<FactPatternConstraintsPageView.Presenter>

setDTCellValueWidgetFactory

public void setDTCellValueWidgetFactory(DTCellValueWidgetFactory factory)
Specified by:
setDTCellValueWidgetFactory in interface FactPatternConstraintsPageView

setAreConditionsDefined

public void setAreConditionsDefined(boolean areConditionsDefined)
Specified by:
setAreConditionsDefined in interface FactPatternConstraintsPageView

setArePatternBindingsUnique

public void setArePatternBindingsUnique(boolean arePatternBindingsUnique)
Specified by:
setArePatternBindingsUnique in interface FactPatternConstraintsPageView

setAvailablePatterns

public void setAvailablePatterns(List<org.drools.workbench.models.guided.dtable.shared.model.Pattern52> patterns)
Specified by:
setAvailablePatterns in interface FactPatternConstraintsPageView

setAvailableFields

public void setAvailableFields(List<AvailableField> fields)
Specified by:
setAvailableFields in interface FactPatternConstraintsPageView

setChosenConditions

public void setChosenConditions(List<org.drools.workbench.models.guided.dtable.shared.model.ConditionCol52> conditions)
Specified by:
setChosenConditions in interface FactPatternConstraintsPageView

btnAddClick

@UiHandler(value="btnAdd")
public void btnAddClick(com.google.gwt.event.dom.client.ClickEvent event)

btnRemoveClick

@UiHandler(value="btnRemove")
public void btnRemoveClick(com.google.gwt.event.dom.client.ClickEvent event)

Drools Workbench - Guided Decision Table Editor - Client 6.2.0.CR2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.