@ApplicationScoped @Templated(stylesheet="/org/drools/workbench/screens/scenariosimulation/client/resources/css/ScenarioSimulationEditorStyles.css") public class TestToolsViewImpl extends com.google.gwt.user.client.ui.Composite implements TestToolsView
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
TestToolsView.Presenter
Modifier and Type | Field and Description |
---|---|
protected com.google.gwt.dom.client.ButtonElement |
addButton |
protected com.google.gwt.dom.client.DivElement |
addButtonLabel |
protected com.google.gwt.dom.client.ButtonElement |
clearSearchButton |
protected com.google.gwt.dom.client.AnchorElement |
clearSelectionElement |
protected com.google.gwt.dom.client.DivElement |
dataObjectListContainer |
protected com.google.gwt.dom.client.SpanElement |
infoSelectDataObjectElement |
protected com.google.gwt.dom.client.InputElement |
inputSearch |
protected com.google.gwt.dom.client.DivElement |
instanceListContainer |
protected com.google.gwt.dom.client.SpanElement |
instanceListContainerSeparator |
protected com.google.gwt.dom.client.DivElement |
kieTestToolsContent |
protected List<com.google.gwt.dom.client.DivElement> |
managedDivElements |
protected TestToolsView.Presenter |
presenter |
protected com.google.gwt.dom.client.ButtonElement |
searchButton |
protected com.google.gwt.dom.client.DivElement |
simpleJavaInstanceListContainer |
protected com.google.gwt.dom.client.DivElement |
simpleJavaTypeListContainer |
protected com.google.gwt.dom.client.LabelElement |
testToolObjectSelectionTitleElement |
protected com.google.gwt.dom.client.ParagraphElement |
testToolsDescriptionElement |
Constructor and Description |
---|
TestToolsViewImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addDataObjectListGroupItem(com.google.gwt.dom.client.DivElement item) |
void |
addInstanceListGroupItem(com.google.gwt.dom.client.DivElement item) |
void |
addSimpleJavaInstanceListGroupItem(com.google.gwt.dom.client.DivElement item) |
void |
addSimpleJavaTypeListGroupItem(com.google.gwt.dom.client.DivElement item) |
void |
clearDataObjectList() |
void |
clearInputSearch() |
void |
clearInstanceList() |
void |
clearSimpleJavaInstanceFieldList() |
void |
clearSimpleJavaTypeList() |
void |
disableAddButton() |
void |
disableEditorTab()
By default the Editor Tab must be disabled (no user interaction allowed).
|
void |
disableSearch()
It disables all widgets related to the search box
|
void |
enableAddButton()
By default the Add button is disabled (no user interaction allowed).
|
void |
enableEditorTab()
By default the Editor Tab is disabled (no user interaction allowed).
|
void |
enableSearch()
It enables all widgets related to the search box
|
TestToolsView.Presenter |
getPresenter() |
void |
hideClearButton() |
void |
init(TestToolsView.Presenter presenter) |
void |
onAddButtonClicked(com.google.gwt.event.dom.client.ClickEvent event) |
void |
onClearSearchButtonClick(com.google.gwt.event.dom.client.ClickEvent event) |
void |
onClearSelectionElementClicked(com.google.gwt.event.dom.client.ClickEvent event) |
void |
onInputSearchKeyDownEvent(com.google.gwt.event.dom.client.KeyDownEvent event) |
void |
onInputSearchKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event) |
void |
onSearchButtonClicked(com.google.gwt.event.dom.client.ClickEvent event) |
void |
reset() |
protected void |
setClearSelectionAnchorDisabledStatus(boolean disabled) |
protected void |
setContainersDisabledStatus(boolean disabled) |
protected void |
setDisabledStatus(boolean disabled) |
protected void |
setInfoSelectDataObjectElementDisabledStatus(boolean disabled) |
void |
showClearButton() |
void |
showInstanceListContainerSeparator(boolean show) |
void |
updateInstanceListSeparator(boolean show) |
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
protected TestToolsView.Presenter presenter
@DataField(value="testToolsDescriptionElement") protected com.google.gwt.dom.client.ParagraphElement testToolsDescriptionElement
@DataField(value="testToolObjectSelectionTitleElement") protected com.google.gwt.dom.client.LabelElement testToolObjectSelectionTitleElement
@DataField(value="clearSelectionElement") protected com.google.gwt.dom.client.AnchorElement clearSelectionElement
@DataField(value="infoSelectDataObjectElement") protected com.google.gwt.dom.client.SpanElement infoSelectDataObjectElement
@DataField(value="clearSearchButton") protected com.google.gwt.dom.client.ButtonElement clearSearchButton
@DataField(value="searchButton") protected com.google.gwt.dom.client.ButtonElement searchButton
@DataField(value="inputSearch") protected com.google.gwt.dom.client.InputElement inputSearch
@DataField(value="dataObjectListContainer") protected com.google.gwt.dom.client.DivElement dataObjectListContainer
@DataField(value="simpleJavaTypeListContainer") protected com.google.gwt.dom.client.DivElement simpleJavaTypeListContainer
@DataField(value="instanceListContainer-separator") protected com.google.gwt.dom.client.SpanElement instanceListContainerSeparator
@DataField(value="instanceListContainer") protected com.google.gwt.dom.client.DivElement instanceListContainer
@DataField(value="simpleJavaInstanceListContainer") protected com.google.gwt.dom.client.DivElement simpleJavaInstanceListContainer
@DataField(value="addButtonLabel") protected com.google.gwt.dom.client.DivElement addButtonLabel
@DataField(value="addButton") protected com.google.gwt.dom.client.ButtonElement addButton
@DataField(value="kieTestToolsContent") protected com.google.gwt.dom.client.DivElement kieTestToolsContent
protected List<com.google.gwt.dom.client.DivElement> managedDivElements
public void init(TestToolsView.Presenter presenter)
init
in interface org.uberfire.client.mvp.HasPresenter<TestToolsView.Presenter>
public TestToolsView.Presenter getPresenter()
getPresenter
in interface SubDockView<TestToolsView.Presenter>
getPresenter
in interface TestToolsView
public void reset()
reset
in interface SubDockView<TestToolsView.Presenter>
@EventHandler(value="clearSearchButton") public void onClearSearchButtonClick(com.google.gwt.event.dom.client.ClickEvent event)
@EventHandler(value="inputSearch") public void onInputSearchKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
@EventHandler(value="inputSearch") public void onInputSearchKeyDownEvent(com.google.gwt.event.dom.client.KeyDownEvent event)
@EventHandler(value="clearSelectionElement") public void onClearSelectionElementClicked(com.google.gwt.event.dom.client.ClickEvent event)
@EventHandler(value="searchButton") public void onSearchButtonClicked(com.google.gwt.event.dom.client.ClickEvent event)
@EventHandler(value="addButton") public void onAddButtonClicked(com.google.gwt.event.dom.client.ClickEvent event)
public void clearInputSearch()
clearInputSearch
in interface TestToolsView
public void hideClearButton()
hideClearButton
in interface TestToolsView
public void showClearButton()
showClearButton
in interface TestToolsView
public void clearDataObjectList()
clearDataObjectList
in interface TestToolsView
public void clearSimpleJavaTypeList()
clearSimpleJavaTypeList
in interface TestToolsView
public void clearInstanceList()
clearInstanceList
in interface TestToolsView
public void clearSimpleJavaInstanceFieldList()
clearSimpleJavaInstanceFieldList
in interface TestToolsView
public void addDataObjectListGroupItem(com.google.gwt.dom.client.DivElement item)
addDataObjectListGroupItem
in interface TestToolsView
public void addSimpleJavaTypeListGroupItem(com.google.gwt.dom.client.DivElement item)
addSimpleJavaTypeListGroupItem
in interface TestToolsView
public void addInstanceListGroupItem(com.google.gwt.dom.client.DivElement item)
addInstanceListGroupItem
in interface TestToolsView
public void addSimpleJavaInstanceListGroupItem(com.google.gwt.dom.client.DivElement item)
addSimpleJavaInstanceListGroupItem
in interface TestToolsView
public void updateInstanceListSeparator(boolean show)
updateInstanceListSeparator
in interface TestToolsView
public void showInstanceListContainerSeparator(boolean show)
showInstanceListContainerSeparator
in interface TestToolsView
public void enableEditorTab()
TestToolsView
enableEditorTab
in interface TestToolsView
public void disableEditorTab()
TestToolsView
disableEditorTab
in interface TestToolsView
public void enableSearch()
TestToolsView
enableSearch
in interface TestToolsView
public void disableSearch()
TestToolsView
disableSearch
in interface TestToolsView
public void enableAddButton()
TestToolsView
enableAddButton
in interface TestToolsView
public void disableAddButton()
disableAddButton
in interface TestToolsView
protected void setDisabledStatus(boolean disabled)
protected void setContainersDisabledStatus(boolean disabled)
protected void setClearSelectionAnchorDisabledStatus(boolean disabled)
protected void setInfoSelectDataObjectElementDisabledStatus(boolean disabled)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.