org.drools.workbench.screens.guided.rule.client.editor
Class AbstractRuleModellerSelectorPopup
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
com.google.gwt.user.client.ui.FlowPanel
com.github.gwtbootstrap.client.ui.base.DivWidget
com.github.gwtbootstrap.client.ui.Modal
org.kie.uberfire.client.common.popups.KieBaseModal
org.drools.workbench.screens.guided.rule.client.editor.AbstractRuleModellerSelectorPopup
- All Implemented Interfaces:
- com.github.gwtbootstrap.client.ui.base.HasId, com.github.gwtbootstrap.client.ui.base.HasStyle, com.github.gwtbootstrap.client.ui.base.HasVisibleHandlers, com.github.gwtbootstrap.client.ui.base.IsAnimated, com.github.gwtbootstrap.client.ui.base.IsResponsive, 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.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.InsertPanel, com.google.gwt.user.client.ui.InsertPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>
- Direct Known Subclasses:
- RuleModellerActionSelectorPopup, RuleModellerConditionSelectorPopup
public abstract class AbstractRuleModellerSelectorPopup
- extends org.kie.uberfire.client.common.popups.KieBaseModal
Base class for Pop-ups used by RuleModeller
| 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 com.google.gwt.user.client.ui.InsertPanel |
com.google.gwt.user.client.ui.InsertPanel.ForIsWidget |
| Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
|
Method Summary |
protected int |
getChoicesHeight()
Height of pop-up, 1/2 of the client height or MIN_HEIGHT |
protected int |
getChoicesWidth()
Width of pop-up, 1/4 of the client width or MIN_WIDTH |
protected abstract com.google.gwt.user.client.ui.Widget |
getContent()
Get content for the pop-up |
protected abstract String |
getPopupTitle()
Get a title for the pop-up |
protected void |
selectSomething()
Executed when a selection has been made. |
| Methods inherited from class org.kie.uberfire.client.common.popups.KieBaseModal |
handleDefaultAction, setFocus |
| Methods inherited from class com.github.gwtbootstrap.client.ui.Modal |
add, addHiddenHandler, addHideHandler, addShowHandler, addShownHandler, getAnimation, getBackdropType, hide, insert, isKeyboardEnable, onAttach, onHidden, onHide, onShow, onShown, reconfigure, setAnimation, setBackdrop, setCloseVisible, setDynamicSafe, setHideOthers, setKeyboard, setMaxHeigth, setSize, setTitle, setWidth, show, toggle |
| Methods inherited from class com.github.gwtbootstrap.client.ui.base.DivWidget |
addStyle, getId, pullRight, removeStyle, setHideOn, setId, setShowOn, setStyle |
| Methods inherited from class com.google.gwt.user.client.ui.FlowPanel |
clear, insert |
| Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove |
| Methods inherited from class com.google.gwt.user.client.ui.Panel |
add, adopt, adopt, 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, onBrowserEvent, onDetach, 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, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget |
add |
| Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget |
getWidgetIndex |
| Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel |
getWidget, getWidgetCount, getWidgetIndex, remove |
SECTION_SEPARATOR
protected static final String SECTION_SEPARATOR
- See Also:
- Constant Field Values
MIN_WIDTH
protected int MIN_WIDTH
MIN_HEIGHT
protected int MIN_HEIGHT
onlyShowDSLStatements
protected boolean onlyShowDSLStatements
model
protected final org.drools.workbench.models.datamodel.rule.RuleModel model
ruleModeller
protected final RuleModeller ruleModeller
oracle
protected final org.kie.workbench.common.widgets.client.datamodel.AsyncPackageDataModelOracle oracle
cmds
protected final Map<String,com.google.gwt.user.client.Command> cmds
position
protected Integer position
choicesPanel
protected final com.google.gwt.user.client.ui.SimplePanel choicesPanel
layoutPanel
protected final org.kie.uberfire.client.common.FormStyleLayout layoutPanel
positionCbo
protected final com.google.gwt.user.client.ui.ListBox positionCbo
choices
protected com.google.gwt.user.client.ui.ListBox choices
AbstractRuleModellerSelectorPopup
public AbstractRuleModellerSelectorPopup(org.drools.workbench.models.datamodel.rule.RuleModel model,
RuleModeller ruleModeller,
Integer position,
org.kie.workbench.common.widgets.client.datamodel.AsyncPackageDataModelOracle oracle)
getPopupTitle
protected abstract String getPopupTitle()
- Get a title for the pop-up
- Returns:
getContent
protected abstract com.google.gwt.user.client.ui.Widget getContent()
- Get content for the pop-up
- Returns:
selectSomething
protected void selectSomething()
- Executed when a selection has been made. Refreshes the underlying
RuleModeller widget
getChoicesWidth
protected int getChoicesWidth()
- Width of pop-up, 1/4 of the client width or MIN_WIDTH
- Returns:
getChoicesHeight
protected int getChoicesHeight()
- Height of pop-up, 1/2 of the client height or MIN_HEIGHT
- Returns:
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.