Guvnor web application Drools 6.0.0-SNAPSHOT

org.drools.guvnor.client.decisiontable
Class BRLActionColumnViewImpl

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.Panel
              extended by com.google.gwt.user.client.ui.SimplePanel
                  extended by com.google.gwt.user.client.ui.PopupPanel
                      extended by org.kie.uberfirebootstrap.client.widgets.Popup
                          extended by org.drools.guvnor.client.decisiontable.AbstractBRLColumnViewImpl<IAction,BRLActionVariableColumn>
                              extended by org.drools.guvnor.client.decisiontable.BRLActionColumnViewImpl
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.shared.EventHandler, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.EventPreview, com.google.gwt.user.client.ui.AcceptsOneWidget, com.google.gwt.user.client.ui.HasAnimation, com.google.gwt.user.client.ui.HasOneWidget, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, com.google.gwt.user.client.ui.SourcesPopupEvents, Iterable<com.google.gwt.user.client.ui.Widget>, TemplateVariablesChangedEvent.Handler, RuleModelEditor, EditorWidget, BRLActionColumnView

public class BRLActionColumnViewImpl
extends AbstractBRLColumnViewImpl<IAction,BRLActionVariableColumn>
implements BRLActionColumnView

An editor for a BRL Action Columns


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel
com.google.gwt.user.client.ui.PopupPanel.PositionCallback
 
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.guvnor.client.decisiontable.BRLActionColumnView
BRLActionColumnView.Presenter
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
 
Field Summary
 
Fields inherited from class org.drools.guvnor.client.decisiontable.AbstractBRLColumnViewImpl
clientFactory, editingCol, eventBus, isNew, isReadOnly, MIN_HEIGHT, MIN_WIDTH, model, originalCol, ruleModel
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
BRLActionColumnViewImpl(SuggestionCompletionEngine sce, GuidedDecisionTable52 model, boolean isNew, Asset asset, BRLActionColumn column, ClientFactory clientFactory, com.google.gwt.event.shared.EventBus eventBus)
           
 
Method Summary
protected  BRLColumn<IAction,BRLActionVariableColumn> cloneBRLColumn(BRLColumn<IAction,BRLActionVariableColumn> col)
           
protected  List<BRLActionVariableColumn> convertInterpolationVariables(Map<InterpolationVariable,Integer> ivs)
           
protected  void doInsertColumn()
           
protected  void doUpdateColumn()
           
protected  BRLRuleModel getRuleModel(BRLColumn<IAction,BRLActionVariableColumn> column)
           
protected  RuleModellerConfiguration getRuleModellerConfiguration()
           
protected  boolean isHeaderUnique(String header)
           
 void setPresenter(BRLActionColumnView.Presenter presenter)
           
 
Methods inherited from class org.drools.guvnor.client.decisiontable.AbstractBRLColumnViewImpl
getContent, getPopupHeight, getRuleModeller, onTemplateVariablesChanged, show
 
Methods inherited from class org.kie.uberfirebootstrap.client.widgets.Popup
getClientHeight, setAfterCloseEvent, setAfterShow, setPopupPosition
 
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addAutoHidePartner, addCloseHandler, addPopupListener, center, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, hide, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onPreviewNativeEvent, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setModal, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidget, setWidth, showRelativeTo
 
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getWidget, iterator, remove, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, 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
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Constructor Detail

BRLActionColumnViewImpl

public BRLActionColumnViewImpl(SuggestionCompletionEngine sce,
                               GuidedDecisionTable52 model,
                               boolean isNew,
                               Asset asset,
                               BRLActionColumn column,
                               ClientFactory clientFactory,
                               com.google.gwt.event.shared.EventBus eventBus)
Method Detail

isHeaderUnique

protected boolean isHeaderUnique(String header)
Specified by:
isHeaderUnique in class AbstractBRLColumnViewImpl<IAction,BRLActionVariableColumn>

getRuleModel

protected BRLRuleModel getRuleModel(BRLColumn<IAction,BRLActionVariableColumn> column)
Specified by:
getRuleModel in class AbstractBRLColumnViewImpl<IAction,BRLActionVariableColumn>

getRuleModellerConfiguration

protected RuleModellerConfiguration getRuleModellerConfiguration()
Specified by:
getRuleModellerConfiguration in class AbstractBRLColumnViewImpl<IAction,BRLActionVariableColumn>

setPresenter

public void setPresenter(BRLActionColumnView.Presenter presenter)
Specified by:
setPresenter in interface BRLActionColumnView

doInsertColumn

protected void doInsertColumn()
Specified by:
doInsertColumn in class AbstractBRLColumnViewImpl<IAction,BRLActionVariableColumn>

doUpdateColumn

protected void doUpdateColumn()
Specified by:
doUpdateColumn in class AbstractBRLColumnViewImpl<IAction,BRLActionVariableColumn>

convertInterpolationVariables

protected List<BRLActionVariableColumn> convertInterpolationVariables(Map<InterpolationVariable,Integer> ivs)
Specified by:
convertInterpolationVariables in class AbstractBRLColumnViewImpl<IAction,BRLActionVariableColumn>

cloneBRLColumn

protected BRLColumn<IAction,BRLActionVariableColumn> cloneBRLColumn(BRLColumn<IAction,BRLActionVariableColumn> col)
Specified by:
cloneBRLColumn in class AbstractBRLColumnViewImpl<IAction,BRLActionVariableColumn>

Guvnor web application Drools 6.0.0-SNAPSHOT

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