@ApplicationScoped public class DataSourceSelector extends Object implements DataSourceSelectorView.Presenter, DataSourceSelector
| Constructor and Description |
|---|
DataSourceSelector() |
DataSourceSelector(DataSourceSelectorView view,
PopupsUtil popupsUtil,
org.jboss.errai.ui.client.local.spi.TranslationService translationService,
org.jboss.errai.common.client.api.Caller<DataSourceDefQueryService> queryService) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isGlobalSelection() |
void |
onClose() |
void |
onSelect() |
void |
setGlobalSelection() |
void |
setProjectSelection(org.guvnor.common.services.project.model.Project project) |
void |
show(org.uberfire.mvp.ParameterizedCommand<DataSourceInfo> onSelectCommand,
org.uberfire.mvp.Command onCloseCommand) |
public DataSourceSelector()
@Inject public DataSourceSelector(DataSourceSelectorView view, PopupsUtil popupsUtil, org.jboss.errai.ui.client.local.spi.TranslationService translationService, org.jboss.errai.common.client.api.Caller<DataSourceDefQueryService> queryService)
public void setProjectSelection(org.guvnor.common.services.project.model.Project project)
setProjectSelection in interface DataSourceSelectorpublic void setGlobalSelection()
setGlobalSelection in interface DataSourceSelectorpublic boolean isGlobalSelection()
public void show(org.uberfire.mvp.ParameterizedCommand<DataSourceInfo> onSelectCommand, org.uberfire.mvp.Command onCloseCommand)
show in interface DataSourceSelectorpublic void onClose()
onClose in interface DataSourceSelectorView.Presenterpublic void onSelect()
onSelect in interface DataSourceSelectorView.PresenterCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.