public static interface RightPanelView.Presenter
| Modifier and Type | Method and Description |
|---|---|
void |
addDataObjectListGroupItemView(String factName,
FactModelTree factModelTree) |
void |
addInstanceListGroupItemView(String factName,
FactModelTree factModelTree) |
void |
addSimpleJavaInstanceListGroupItemView(String factName,
FactModelTree factModelTree) |
void |
addSimpleJavaTypeListGroupItemView(String factName,
FactModelTree factModelTree) |
void |
clearDataObjectList() |
void |
clearInstanceList() |
void |
clearSimpleJavaInstanceFieldList() |
void |
clearSimpleJavaTypeList() |
Optional<FactModelTree> |
getFactModelTreeFromFactTypeMap(String factName) |
FactModelTree |
getFactModelTreeFromHiddenMap(String factName) |
Optional<FactModelTree> |
getFactModelTreeFromInstanceMap(String factName) |
Optional<FactModelTree> |
getFactModelTreeFromSimpleJavaInstanceMap(String factName) |
Optional<FactModelTree> |
getFactModelTreeFromSimpleJavaTypeMap(String factName) |
void |
hideProperties(Map<String,List<String>> propertiesToHide) |
void |
initCheatSheet(ScenarioSimulationModel.Type type)
Method to initialize cheat sheet content based on
ScenarioSimulationModel.Type |
void |
onClearNameField() |
void |
onClearSearch() |
void |
onClearStatus() |
void |
onDisableEditorTab()
By default the Editor Tab must be disabled (no user interaction allowed).
|
void |
onEnableEditorTab()
By default the Editor Tab is disabled (no user interaction allowed).
|
void |
onEnableEditorTab(String factName,
String propertyName,
boolean notEqualsSearch)
By default the Editor Tab is disabled (no user interaction allowed).
|
void |
onModifyColumn()
Method to fire a
SetPropertyHeaderScenarioSImulationCommand or SetPropertyHeaderScenarioSImulationCommand,
depending on the element currently selected |
void |
onPerfectMatchSearchedEvent(String search,
boolean notEqualsSearch)
Filter the data in the right panel if they are exactly the same as the given search string, case-sensitive.
|
void |
onSearchedEvent(String search)
Filter the data in the right panel if they contains the given search string, case-unsensitive.
|
void |
onShowClearButton() |
void |
setDataObjectFieldsMap(SortedMap<String,FactModelTree> dataObjectFieldsMap) |
void |
setEventBus(com.google.gwt.event.shared.EventBus eventBus) |
void |
setHiddenFieldsMap(SortedMap<String,FactModelTree> hiddenFieldsMap) |
void |
setInstanceFieldsMap(SortedMap<String,FactModelTree> factTypeFieldsMap) |
void |
setSelectedElement(FieldItemView selected)
Method to set the "selected" information - use this to set the property level header
|
void |
setSelectedElement(ListGroupItemView selected)
Method to set the "selected" information - use this to set the instance level header
|
void |
setSimpleJavaInstanceFieldsMap(SortedMap<String,FactModelTree> factTypeFieldsMap) |
void |
setSimpleJavaTypeFieldsMap(SortedMap<String,FactModelTree> simpleJavaTypeFieldsMap) |
void onClearSearch()
void onClearNameField()
void onClearStatus()
void onShowClearButton()
void onSearchedEvent(String search)
search - void onPerfectMatchSearchedEvent(String search, boolean notEqualsSearch)
search - notEqualsSearch - set to true to perform a not filter, i.e. to show only results different than filterTermvoid clearDataObjectList()
void clearSimpleJavaTypeList()
void clearInstanceList()
void clearSimpleJavaInstanceFieldList()
void addDataObjectListGroupItemView(String factName, FactModelTree factModelTree)
void addSimpleJavaTypeListGroupItemView(String factName, FactModelTree factModelTree)
void addInstanceListGroupItemView(String factName, FactModelTree factModelTree)
void addSimpleJavaInstanceListGroupItemView(String factName, FactModelTree factModelTree)
void setDataObjectFieldsMap(SortedMap<String,FactModelTree> dataObjectFieldsMap)
void setSimpleJavaTypeFieldsMap(SortedMap<String,FactModelTree> simpleJavaTypeFieldsMap)
void setHiddenFieldsMap(SortedMap<String,FactModelTree> hiddenFieldsMap)
void setInstanceFieldsMap(SortedMap<String,FactModelTree> factTypeFieldsMap)
void setSimpleJavaInstanceFieldsMap(SortedMap<String,FactModelTree> factTypeFieldsMap)
void setEventBus(com.google.gwt.event.shared.EventBus eventBus)
Optional<FactModelTree> getFactModelTreeFromFactTypeMap(String factName)
Optional<FactModelTree> getFactModelTreeFromSimpleJavaTypeMap(String factName)
Optional<FactModelTree> getFactModelTreeFromInstanceMap(String factName)
Optional<FactModelTree> getFactModelTreeFromSimpleJavaInstanceMap(String factName)
FactModelTree getFactModelTreeFromHiddenMap(String factName)
void onEnableEditorTab()
void onEnableEditorTab(String factName, String propertyName, boolean notEqualsSearch)
factName - propertyName - the string to eventually use to select the property in the right panelnotEqualsSearch - set to true to perform a not filter, i.e. to show only results different than filterTermvoid onDisableEditorTab()
void onModifyColumn()
SetPropertyHeaderScenarioSImulationCommand or SetPropertyHeaderScenarioSImulationCommand,
depending on the element currently selectedvoid setSelectedElement(ListGroupItemView selected)
selected - void setSelectedElement(FieldItemView selected)
selected - void initCheatSheet(ScenarioSimulationModel.Type type)
ScenarioSimulationModel.Typetype - Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.