Interface ListGroupItemView.Presenter
-
- All Known Implementing Classes:
ListGroupItemPresenter
- Enclosing interface:
- ListGroupItemView
public static interface ListGroupItemView.Presenter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddisable()voidenable()Use this when click on grid' instance header.voidenable(String factName)Use this when click on grid' instance header.com.google.gwt.dom.client.DivElementgetDivElement(String factName, org.drools.workbench.screens.scenariosimulation.model.typedescriptor.FactModelTree factModelTree)This method returns a top-levelDivElementrepresenting a complex (i.e. expandable) property, i.e. a class containing other propertiescom.google.gwt.dom.client.DivElementgetDivElement(List<String> parentPath, String factName, String factModelTreeClass)This method returns a nestedDivElementrepresenting a complex (i.e. expandable) property, i.e. a class containing other propertiesStringgetFilterTerm()voidhideProperty(String factName, List<String> propertyParts)Hide the node of the given propertyvoidinit(TestToolsView.Presenter testToolsPresenter)booleanisInstanceAssigned(String factName)voidonSelectedElement(FieldItemView selected)Method to set the "selected" information - use this to set the property level headervoidonSelectedElement(ListGroupItemView selected)Method to set the "selected" information - use this to set the instance level headervoidonToggleRowExpansion(ListGroupItemView listGroupItemView, boolean currentlyShown)voidreset()voidselectProperty(String factName, List<String> propertyParts)Expand the node and select the given propertyvoidsetInstanceAssigned(String factName, boolean assigned)voidshowAll()voidunselectAll()
-
-
-
Method Detail
-
enable
void enable()
Use this when click on grid' instance header. Call this method to show all the first-level data models enabled (i.e. double-clickable to map to an instance header/column) and their properties disabled (i.e. not double-clickable)
-
enable
void enable(String factName)
Use this when click on grid' instance header. Call this method to show all the first-level data models enabled (i.e. double-clickable to map to an instance header/column) and their properties disabled (i.e. not double-clickable)- Parameters:
factName-
-
disable
void disable()
-
getDivElement
com.google.gwt.dom.client.DivElement getDivElement(String factName, org.drools.workbench.screens.scenariosimulation.model.typedescriptor.FactModelTree factModelTree)
This method returns a top-levelDivElementrepresenting a complex (i.e. expandable) property, i.e. a class containing other properties- Parameters:
factName-factModelTree-
-
getDivElement
com.google.gwt.dom.client.DivElement getDivElement(List<String> parentPath, String factName, String factModelTreeClass)
This method returns a nestedDivElementrepresenting a complex (i.e. expandable) property, i.e. a class containing other properties- Parameters:
parentPath- the parent pathfactName- the property' namefactModelTreeClass- the property' type
-
onToggleRowExpansion
void onToggleRowExpansion(ListGroupItemView listGroupItemView, boolean currentlyShown)
-
init
void init(TestToolsView.Presenter testToolsPresenter)
-
onSelectedElement
void onSelectedElement(ListGroupItemView selected)
Method to set the "selected" information - use this to set the instance level header- Parameters:
selected-
-
onSelectedElement
void onSelectedElement(FieldItemView selected)
Method to set the "selected" information - use this to set the property level header- Parameters:
selected-
-
unselectAll
void unselectAll()
-
showAll
void showAll()
-
selectProperty
void selectProperty(String factName, List<String> propertyParts)
Expand the node and select the given property- Parameters:
factName-propertyParts-
-
hideProperty
void hideProperty(String factName, List<String> propertyParts)
Hide the node of the given property- Parameters:
factName-propertyParts-
-
isInstanceAssigned
boolean isInstanceAssigned(String factName)
-
setInstanceAssigned
void setInstanceAssigned(String factName, boolean assigned)
-
reset
void reset()
-
getFilterTerm
String getFilterTerm()
-
-