public interface DataSourceSelector
| Modifier and Type | Method and Description |
|---|---|
void |
setGlobalSelection()
Use this method to select global data sources.
|
void |
setModuleSelection(org.guvnor.common.services.project.model.Module module)
Use this method to restrict the data sources selection to a given project.
|
void |
show(org.uberfire.mvp.ParameterizedCommand<DataSourceInfo> onSelectCommand,
org.uberfire.mvp.Command onCloseCommand)
Opens the data source selector in popup mode.
|
void setModuleSelection(org.guvnor.common.services.project.model.Module module)
module - Module where to select the data sources from.void setGlobalSelection()
void show(org.uberfire.mvp.ParameterizedCommand<DataSourceInfo> onSelectCommand, org.uberfire.mvp.Command onCloseCommand)
onSelectCommand - when a data source is selected the popup is automatically closed and the onSelectCommand
is executed to let clients now about the selection.onCloseCommand - executed when the popup is closed with no selection.Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.