|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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.SimplePanel
com.google.gwt.user.client.ui.PopupPanel
org.drools.guvnor.client.common.Popup
org.drools.guvnor.client.asseteditor.drools.modeldriven.ui.AbstractRuleModellerSelectorPopup
public abstract class AbstractRuleModellerSelectorPopup
Base class for Pop-ups used by RuleModeller
| 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 com.google.gwt.user.client.ui.HasWidgets |
|---|
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
| Field Summary | |
|---|---|
protected boolean |
bOnlyShowDSLConditions
|
protected com.google.gwt.user.client.ui.ListBox |
choices
|
protected com.google.gwt.user.client.ui.SimplePanel |
choicesPanel
|
protected Map<String,com.google.gwt.user.client.Command> |
cmds
|
protected org.drools.ide.common.client.modeldriven.SuggestionCompletionEngine |
completions
|
protected static Constants |
constants
|
protected FormStyleLayout |
layoutPanel
|
protected int |
MIN_HEIGHT
|
protected int |
MIN_WIDTH
|
protected org.drools.ide.common.client.modeldriven.brl.RuleModel |
model
|
protected Integer |
position
|
protected com.google.gwt.user.client.ui.ListBox |
positionCbo
|
protected RuleModeller |
ruleModeller
|
protected static String |
SECTION_SEPARATOR
|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
AbstractRuleModellerSelectorPopup(org.drools.ide.common.client.modeldriven.brl.RuleModel model,
RuleModeller ruleModeller,
String packageName,
Integer position)
|
|
| 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 String |
getPopupTitle()
Get a title for the pop-up |
protected void |
selectSomething()
Executed when a selection has been made. |
| Methods inherited from class org.drools.guvnor.client.common.Popup |
|---|
getContent, setAfterShow, setPopupPosition, show |
| 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, 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.event.shared.HasHandlers |
|---|
fireEvent |
| Field Detail |
|---|
protected static final Constants constants
protected static final String SECTION_SEPARATOR
protected int MIN_WIDTH
protected int MIN_HEIGHT
protected boolean bOnlyShowDSLConditions
protected org.drools.ide.common.client.modeldriven.brl.RuleModel model
protected RuleModeller ruleModeller
protected org.drools.ide.common.client.modeldriven.SuggestionCompletionEngine completions
protected Map<String,com.google.gwt.user.client.Command> cmds
protected Integer position
protected com.google.gwt.user.client.ui.SimplePanel choicesPanel
protected FormStyleLayout layoutPanel
protected com.google.gwt.user.client.ui.ListBox positionCbo
protected com.google.gwt.user.client.ui.ListBox choices
| Constructor Detail |
|---|
public AbstractRuleModellerSelectorPopup(org.drools.ide.common.client.modeldriven.brl.RuleModel model,
RuleModeller ruleModeller,
String packageName,
Integer position)
| Method Detail |
|---|
protected abstract String getPopupTitle()
protected void selectSomething()
protected int getChoicesWidth()
protected int getChoicesHeight()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||