@Dependent public class RightPanelPresenter extends Object implements RightPanelView.Presenter
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PREFERRED_WIDHT |
static String |
IDENTIFIER |
| Constructor and Description |
|---|
RightPanelPresenter() |
RightPanelPresenter(RightPanelView view,
ListGroupItemPresenter listGroupItemPresenter) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListGroupItemView(String factName,
FactModelTree factModelTree) |
com.google.gwt.user.client.ui.Widget |
asWidget() |
void |
clearList() |
org.uberfire.workbench.model.Position |
getDefaultPosition() |
FactModelTree |
getFactModelTree(String factName) |
String |
getTitle() |
void |
onClearNameField() |
void |
onClearSearch() |
void |
onClearStatus() |
void |
onDisableEditorTab()
By default the Editor Tab must be disabled (no user interaction allowed).
|
void |
onEnableEditorTab(int columnIndex)
By default the Editor Tab is disabled (no user interaction allowed).
|
void |
onModifyColumn(String factName,
String fieldName,
String valueClassName)
Method to fire a
SetColumnValueCommand |
void |
onSearchedEvent(String search) |
void |
onShowClearButton() |
void |
setEventBus(com.google.gwt.event.shared.EventBus eventBus) |
void |
setFactTypeFieldsMap(SortedMap<String,FactModelTree> factTypeFieldsMap) |
void |
setup() |
public static final int DEFAULT_PREFERRED_WIDHT
public static final String IDENTIFIER
public RightPanelPresenter()
@Inject public RightPanelPresenter(RightPanelView view, ListGroupItemPresenter listGroupItemPresenter)
@PostConstruct public void setup()
public org.uberfire.workbench.model.Position getDefaultPosition()
public String getTitle()
public com.google.gwt.user.client.ui.Widget asWidget()
public void onClearSearch()
onClearSearch in interface RightPanelView.Presenterpublic void onClearNameField()
onClearNameField in interface RightPanelView.Presenterpublic void onClearStatus()
onClearStatus in interface RightPanelView.Presenterpublic void clearList()
clearList in interface RightPanelView.Presenterpublic FactModelTree getFactModelTree(String factName)
getFactModelTree in interface RightPanelView.Presenterpublic void setFactTypeFieldsMap(SortedMap<String,FactModelTree> factTypeFieldsMap)
setFactTypeFieldsMap in interface RightPanelView.Presenterpublic void onShowClearButton()
onShowClearButton in interface RightPanelView.Presenterpublic void setEventBus(com.google.gwt.event.shared.EventBus eventBus)
setEventBus in interface RightPanelView.Presenterpublic void onSearchedEvent(String search)
onSearchedEvent in interface RightPanelView.Presenterpublic void addListGroupItemView(String factName, FactModelTree factModelTree)
addListGroupItemView in interface RightPanelView.Presenterpublic void onEnableEditorTab(int columnIndex)
RightPanelView.PresenteronEnableEditorTab in interface RightPanelView.PresentercolumnIndex - the column being editedpublic void onDisableEditorTab()
RightPanelView.PresenteronDisableEditorTab in interface RightPanelView.Presenterpublic void onModifyColumn(String factName, String fieldName, String valueClassName)
RightPanelView.PresenterSetColumnValueCommandonModifyColumn in interface RightPanelView.PresenterCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.