Class ConnectionsController
- java.lang.Object
-
- org.pentaho.ui.xul.XulEventSourceAdapter
-
- org.pentaho.ui.xul.impl.AbstractXulEventHandler
-
- org.pentaho.di.ui.repository.repositoryexplorer.controllers.LazilyInitializedController
-
- org.pentaho.di.ui.repository.repositoryexplorer.controllers.ConnectionsController
-
- All Implemented Interfaces:
IUISupportController
,org.pentaho.ui.xul.impl.XulEventHandler
,org.pentaho.ui.xul.XulEventSource
public class ConnectionsController extends LazilyInitializedController implements IUISupportController
-
-
Field Summary
Fields Modifier and Type Field Description protected org.pentaho.ui.xul.binding.BindingFactory
bf
protected ContextChangeVetoerCollection
contextChangeVetoers
protected List<UIDatabaseConnection>
repositoryConnections
protected List<UIDatabaseConnection>
selectedConnections
-
Fields inherited from class org.pentaho.di.ui.repository.repositoryexplorer.controllers.LazilyInitializedController
initialized, repository
-
-
Constructor Summary
Constructors Constructor Description ConnectionsController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addContextChangeVetoer(ContextChangeVetoer listener)
void
createConnection()
protected boolean
doLazyInit()
void
editConnection()
void
enableButtons(boolean enableNew, boolean enableEdit, boolean enableRemove)
String
getName()
org.pentaho.di.repository.Repository
getRepository()
List<UIDatabaseConnection>
getRepositoryConnections()
void
init(org.pentaho.di.repository.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()
-
Methods inherited from class org.pentaho.di.ui.repository.repositoryexplorer.controllers.LazilyInitializedController
doInEventThread, doWithBusyIndicator, lazyInit
-
Methods inherited from class org.pentaho.ui.xul.impl.AbstractXulEventHandler
bind, bind, getData, getXulDomContainer, setData, setName, setXulDomContainer
-
-
-
-
Field Detail
-
bf
protected org.pentaho.ui.xul.binding.BindingFactory bf
-
contextChangeVetoers
protected ContextChangeVetoerCollection contextChangeVetoers
-
selectedConnections
protected List<UIDatabaseConnection> selectedConnections
-
repositoryConnections
protected List<UIDatabaseConnection> repositoryConnections
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceIUISupportController
- Specified by:
getName
in interfaceorg.pentaho.ui.xul.impl.XulEventHandler
- Overrides:
getName
in classorg.pentaho.ui.xul.impl.AbstractXulEventHandler
-
init
public void init(org.pentaho.di.repository.Repository repository) throws ControllerInitializationException
- Specified by:
init
in interfaceIUISupportController
- Overrides:
init
in classLazilyInitializedController
- Throws:
ControllerInitializationException
-
doLazyInit
protected boolean doLazyInit()
- Specified by:
doLazyInit
in classLazilyInitializedController
-
getRepository
public org.pentaho.di.repository.Repository getRepository()
-
setRepReadOnly
public void setRepReadOnly(boolean isRepReadOnly)
-
isRepReadOnly
public boolean isRepReadOnly()
-
createConnection
public void createConnection()
-
addContextChangeVetoer
public void addContextChangeVetoer(ContextChangeVetoer listener)
-
removeContextChangeVetoer
public void removeContextChangeVetoer(ContextChangeVetoer listener)
-
editConnection
public void editConnection()
-
removeConnection
public void removeConnection()
-
setSelectedConnections
public void setSelectedConnections(List<UIDatabaseConnection> connections)
-
getRepositoryConnections
public List<UIDatabaseConnection> getRepositoryConnections()
-
setRepositoryConnections
public void setRepositoryConnections(List<UIDatabaseConnection> connections)
-
enableButtons
public void enableButtons(boolean enableNew, boolean enableEdit, boolean enableRemove)
-
tabClicked
public void tabClicked()
-
-