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
Modifier and TypeFieldDescriptionprotected org.pentaho.ui.xul.binding.BindingFactory
protected ContextChangeVetoerCollection
protected List<UIDatabaseConnection>
protected List<UIDatabaseConnection>
Fields inherited from class org.pentaho.di.ui.repository.repositoryexplorer.controllers.LazilyInitializedController
initialized, repository
Fields inherited from class org.pentaho.ui.xul.impl.AbstractXulEventHandler
document, name, xulDomContainer
Fields inherited from class org.pentaho.ui.xul.XulEventSourceAdapter
changeSupport
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addContextChangeVetoer
(ContextChangeVetoer listener) void
protected boolean
void
void
enableButtons
(boolean enableNew, boolean enableEdit, boolean enableRemove) getName()
org.pentaho.di.repository.Repository
void
init
(org.pentaho.di.repository.Repository repository) boolean
void
void
removeContextChangeVetoer
(ContextChangeVetoer listener) void
setRepositoryConnections
(List<UIDatabaseConnection> connections) void
setRepReadOnly
(boolean isRepReadOnly) void
setSelectedConnections
(List<UIDatabaseConnection> connections) void
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
Methods inherited from class org.pentaho.ui.xul.XulEventSourceAdapter
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
-
Field Details
-
bf
protected org.pentaho.ui.xul.binding.BindingFactory bf -
contextChangeVetoers
-
selectedConnections
-
repositoryConnections
-
-
Constructor Details
-
ConnectionsController
public ConnectionsController()
-
-
Method Details
-
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
-
removeContextChangeVetoer
-
editConnection
public void editConnection() -
removeConnection
public void removeConnection() -
setSelectedConnections
-
getRepositoryConnections
-
setRepositoryConnections
-
enableButtons
public void enableButtons(boolean enableNew, boolean enableEdit, boolean enableRemove) -
tabClicked
public void tabClicked()
-