Class OperatorPageView
- java.lang.Object
-
- org.drools.workbench.screens.guided.dtable.client.wizard.column.pages.OperatorPageView
-
- All Implemented Interfaces:
OperatorPage.View,org.jboss.errai.common.client.api.IsElement,org.jboss.errai.ui.client.local.api.IsElement,org.uberfire.client.mvp.HasPresenter<OperatorPage>,org.uberfire.client.mvp.UberElement<OperatorPage>
@Dependent @Templated public class OperatorPageView extends Object implements org.jboss.errai.ui.client.local.api.IsElement, OperatorPage.View
-
-
Constructor Summary
Constructors Constructor Description OperatorPageView(elemental2.dom.HTMLDivElement warning, elemental2.dom.HTMLDivElement info, elemental2.dom.HTMLDivElement operatorsContainer, elemental2.dom.HTMLDivElement currentField, elemental2.dom.HTMLDivElement currentFieldContainer, org.jboss.errai.common.client.dom.elemental2.Elemental2DomUtil elemental2DomUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcurrentFieldToggle(boolean isVisible)voidhideOperatorWarning()voidinit(OperatorPage page)voidsetCurrentField(String currentField)voidsetupOperator(com.google.gwt.user.client.ui.IsWidget dropdown)voidshowFactFieldWarningWhenItIsNotDefined(boolean hasOperator)voidshowOperatorWarning()voidshowPredicateWarning()
-
-
-
Constructor Detail
-
OperatorPageView
@Inject public OperatorPageView(elemental2.dom.HTMLDivElement warning, elemental2.dom.HTMLDivElement info, elemental2.dom.HTMLDivElement operatorsContainer, elemental2.dom.HTMLDivElement currentField, elemental2.dom.HTMLDivElement currentFieldContainer, org.jboss.errai.common.client.dom.elemental2.Elemental2DomUtil elemental2DomUtil)
-
-
Method Detail
-
init
public void init(OperatorPage page)
- Specified by:
initin interfaceorg.uberfire.client.mvp.HasPresenter<OperatorPage>
-
showFactFieldWarningWhenItIsNotDefined
public void showFactFieldWarningWhenItIsNotDefined(boolean hasOperator)
- Specified by:
showFactFieldWarningWhenItIsNotDefinedin interfaceOperatorPage.View
-
showPredicateWarning
public void showPredicateWarning()
- Specified by:
showPredicateWarningin interfaceOperatorPage.View
-
setupOperator
public void setupOperator(com.google.gwt.user.client.ui.IsWidget dropdown)
- Specified by:
setupOperatorin interfaceOperatorPage.View
-
showOperatorWarning
public void showOperatorWarning()
- Specified by:
showOperatorWarningin interfaceOperatorPage.View
-
hideOperatorWarning
public void hideOperatorWarning()
- Specified by:
hideOperatorWarningin interfaceOperatorPage.View
-
setCurrentField
public void setCurrentField(String currentField)
- Specified by:
setCurrentFieldin interfaceOperatorPage.View
-
currentFieldToggle
public void currentFieldToggle(boolean isVisible)
- Specified by:
currentFieldTogglein interfaceOperatorPage.View
-
-