@Dependent @Templated public class PatternPageView extends Object implements org.jboss.errai.ui.client.local.api.IsElement, PatternPage.View
Constructor and Description |
---|
PatternPageView(org.jboss.errai.common.client.dom.Span patternPageDescription,
org.jboss.errai.common.client.dom.Div patternWarning,
com.google.gwt.user.client.ui.ListBox patternList,
com.google.gwt.user.client.ui.TextBox entryPointName,
com.google.gwt.user.client.ui.Button createANewFactPattern,
org.jboss.errai.common.client.dom.Div entryPointContainer,
org.jboss.errai.ui.client.local.spi.TranslationService translationService,
DecisionTablePopoverUtils popoverUtils) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(String itemName,
String itemKey) |
void |
clearPatternList() |
void |
disableEntryPoint() |
void |
disablePatternCreation() |
String |
getEntryPointName() |
String |
getSelectedValue() |
void |
hidePatternListWhenItIsEmpty() |
void |
hidePatternWarning() |
void |
init(PatternPage page) |
void |
initPopovers() |
void |
onCreateANewFactPattern(com.google.gwt.event.dom.client.ClickEvent event) |
void |
onEditingPatternSelected(com.google.gwt.event.dom.client.ChangeEvent event) |
void |
onEntryPointChange(com.google.gwt.event.dom.client.KeyUpEvent event) |
void |
selectPattern(String currentPatternValue) |
void |
setPatternPageDescription(String description) |
void |
setupEntryPointName(String entryPointName) |
void |
showPatternWarning() |
@Inject public PatternPageView(org.jboss.errai.common.client.dom.Span patternPageDescription, org.jboss.errai.common.client.dom.Div patternWarning, com.google.gwt.user.client.ui.ListBox patternList, com.google.gwt.user.client.ui.TextBox entryPointName, com.google.gwt.user.client.ui.Button createANewFactPattern, org.jboss.errai.common.client.dom.Div entryPointContainer, org.jboss.errai.ui.client.local.spi.TranslationService translationService, DecisionTablePopoverUtils popoverUtils)
@PostConstruct public void initPopovers()
public void init(PatternPage page)
init
in interface org.uberfire.client.mvp.HasPresenter<PatternPage>
public void setupEntryPointName(String entryPointName)
setupEntryPointName
in interface PatternPage.View
@EventHandler(value="createANewFactPattern") public void onCreateANewFactPattern(com.google.gwt.event.dom.client.ClickEvent event)
@EventHandler(value="patternList") public void onEditingPatternSelected(com.google.gwt.event.dom.client.ChangeEvent event)
@EventHandler(value="entryPointName") public void onEntryPointChange(com.google.gwt.event.dom.client.KeyUpEvent event)
public String getSelectedValue()
getSelectedValue
in interface PatternPage.View
public String getEntryPointName()
getEntryPointName
in interface PatternPage.View
public void disableEntryPoint()
disableEntryPoint
in interface PatternPage.View
public void clearPatternList()
clearPatternList
in interface PatternPage.View
public void hidePatternListWhenItIsEmpty()
hidePatternListWhenItIsEmpty
in interface PatternPage.View
public void selectPattern(String currentPatternValue)
selectPattern
in interface PatternPage.View
public void setPatternPageDescription(String description)
setPatternPageDescription
in interface PatternPage.View
public void showPatternWarning()
showPatternWarning
in interface PatternPage.View
public void hidePatternWarning()
hidePatternWarning
in interface PatternPage.View
public void disablePatternCreation()
disablePatternCreation
in interface PatternPage.View
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.