Interface ValueAndDataTypePopoverView
-
- All Superinterfaces:
CanBeClosedByKeyboard,org.uberfire.client.mvp.HasPresenter<ValueAndDataTypePopoverView.Presenter>,org.jboss.errai.common.client.api.IsElement,org.jboss.errai.ui.client.local.api.IsElement,PopoverView,org.uberfire.client.mvp.UberElement<ValueAndDataTypePopoverView.Presenter>
- All Known Implementing Classes:
ValueAndDataTypePopoverViewImpl
public interface ValueAndDataTypePopoverView extends PopoverView, org.uberfire.client.mvp.UberElement<ValueAndDataTypePopoverView.Presenter>
Definition of the _view_ to edit a domain object implementingHasValueAndTypeRef
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceValueAndDataTypePopoverView.PresenterDefinition of the _presenter_ to edit a domain object implementingHasValueAndTypeRef
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinitSelectedTypeRef(org.kie.workbench.common.dmn.api.property.dmn.QName typeRef)Initialises the UI _typeRef_ editor content.voidinitValue(String value)Initialises the UI _value_ editor content.voidsetDMNModel(org.kie.workbench.common.dmn.api.definition.model.DMNModelInstrumentedBase dmnModel)Initialises the UI for the domain object.-
Methods inherited from interface org.kie.workbench.common.dmn.client.editors.types.CanBeClosedByKeyboard
setOnClosedByKeyboardCallback
-
Methods inherited from interface org.kie.workbench.common.dmn.client.widgets.grid.controls.popover.PopoverView
hide, reset, show
-
-
-
-
Method Detail
-
setDMNModel
void setDMNModel(org.kie.workbench.common.dmn.api.definition.model.DMNModelInstrumentedBase dmnModel)
Initialises the UI for the domain object.- Parameters:
dmnModel- The DMN domain object.
-
initValue
void initValue(String value)
Initialises the UI _value_ editor content. The value should be converted toStringfrom the domain object. {@see HasValueAndTypeRef#toWidgetValue}.- Parameters:
value- The value to set in the UI.
-
initSelectedTypeRef
void initSelectedTypeRef(org.kie.workbench.common.dmn.api.property.dmn.QName typeRef)
Initialises the UI _typeRef_ editor content.- Parameters:
typeRef- The typeRef to set in the UI.
-
-