org.pentaho.di.ui.repository.repositoryexplorer.controllers
Class ConnectionsController

java.lang.Object
  extended by org.pentaho.ui.xul.XulEventSourceAdapter
      extended by org.pentaho.ui.xul.impl.AbstractXulEventHandler
          extended by org.pentaho.di.ui.repository.repositoryexplorer.controllers.LazilyInitializedController
              extended by 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


Constructor Summary
ConnectionsController()
           
 
Method Summary
 void createConnection()
           
 void editConnection()
           
 void enableButtons(boolean enableNew, boolean enableEdit, boolean enableRemove)
           
 String getName()
           
 Repository getRepository()
           
 void init(Repository repository)
           
 boolean isRepReadOnly()
           
 void removeConnection()
           
 void setEnableButtons(List<UIDatabaseConnection> connections)
           
 void setRepReadOnly(boolean isRepReadOnly)
           
 void tabClicked()
           
 
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, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionsController

public ConnectionsController()
Method Detail

getName

public String getName()
Specified by:
getName in interface IUISupportController
Specified by:
getName in interface org.pentaho.ui.xul.impl.XulEventHandler
Overrides:
getName in class org.pentaho.ui.xul.impl.AbstractXulEventHandler

init

public void init(Repository repository)
          throws ControllerInitializationException
Specified by:
init in interface IUISupportController
Overrides:
init in class LazilyInitializedController
Throws:
ControllerInitializationException

getRepository

public Repository getRepository()

setRepReadOnly

public void setRepReadOnly(boolean isRepReadOnly)

isRepReadOnly

public boolean isRepReadOnly()

createConnection

public void createConnection()

editConnection

public void editConnection()

removeConnection

public void removeConnection()

setEnableButtons

public void setEnableButtons(List<UIDatabaseConnection> connections)

enableButtons

public void enableButtons(boolean enableNew,
                          boolean enableEdit,
                          boolean enableRemove)

tabClicked

public void tabClicked()