public class ConnectionsController extends LazilyInitializedController implements IUISupportController
Modifier and Type | Field and Description |
---|---|
protected org.pentaho.ui.xul.binding.BindingFactory |
bf |
protected ContextChangeVetoerCollection |
contextChangeVetoers |
protected List<UIDatabaseConnection> |
repositoryConnections |
protected List<UIDatabaseConnection> |
selectedConnections |
initialized, repository
Constructor and Description |
---|
ConnectionsController() |
Modifier and Type | Method and Description |
---|---|
void |
addContextChangeVetoer(ContextChangeVetoer listener) |
void |
createConnection() |
protected boolean |
doLazyInit() |
void |
editConnection() |
void |
enableButtons(boolean enableNew,
boolean enableEdit,
boolean enableRemove) |
String |
getName() |
Repository |
getRepository() |
List<UIDatabaseConnection> |
getRepositoryConnections() |
void |
init(Repository repository) |
boolean |
isRepReadOnly() |
void |
removeConnection() |
void |
removeContextChangeVetoer(ContextChangeVetoer listener) |
void |
setRepositoryConnections(List<UIDatabaseConnection> connections) |
void |
setRepReadOnly(boolean isRepReadOnly) |
void |
setSelectedConnections(List<UIDatabaseConnection> connections) |
void |
tabClicked() |
doInEventThread, doWithBusyIndicator, lazyInit
bind, bind, getData, getXulDomContainer, setData, setName, setXulDomContainer
protected org.pentaho.ui.xul.binding.BindingFactory bf
protected ContextChangeVetoerCollection contextChangeVetoers
protected List<UIDatabaseConnection> selectedConnections
protected List<UIDatabaseConnection> repositoryConnections
public String getName()
getName
in interface IUISupportController
getName
in interface org.pentaho.ui.xul.impl.XulEventHandler
getName
in class org.pentaho.ui.xul.impl.AbstractXulEventHandler
public void init(Repository repository) throws ControllerInitializationException
init
in interface IUISupportController
init
in class LazilyInitializedController
ControllerInitializationException
protected boolean doLazyInit()
doLazyInit
in class LazilyInitializedController
public Repository getRepository()
public void setRepReadOnly(boolean isRepReadOnly)
public boolean isRepReadOnly()
public void createConnection()
public void addContextChangeVetoer(ContextChangeVetoer listener)
public void removeContextChangeVetoer(ContextChangeVetoer listener)
public void editConnection()
public void removeConnection()
public void setSelectedConnections(List<UIDatabaseConnection> connections)
public List<UIDatabaseConnection> getRepositoryConnections()
public void setRepositoryConnections(List<UIDatabaseConnection> connections)
public void enableButtons(boolean enableNew, boolean enableEdit, boolean enableRemove)
public void tabClicked()
Copyright © 2019 Hitachi Vantara. All rights reserved.