org.pentaho.di.ui.repository.controllers
Class RepositoriesController

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.controllers.RepositoriesController
All Implemented Interfaces:
org.pentaho.ui.xul.impl.XulEventHandler, org.pentaho.ui.xul.XulEventSource

public class RepositoriesController
extends org.pentaho.ui.xul.impl.AbstractXulEventHandler


Constructor Summary
RepositoriesController()
           
 
Method Summary
 void closeRepositoryLoginDialog()
          Executed when user clicks cancel button on the Repository Login Dialog
 void deleteRepository()
          Executed when the user clicks the delete repository image from the Repository Login Dialog It prompts the user with a warning about the action to be performed and upon the approval of this action from the user, the selected repository is deleted
 void editRepository()
          Executed when the user clicks the edit repository image from the Repository Login Dialog It presents an edit dialog where the user can edit information about the currently selected repository
 org.pentaho.ui.xul.binding.BindingFactory getBindingFactory()
           
 ILoginCallback getCallback()
           
 org.pentaho.ui.xul.components.XulMessageBox getMessageBox()
           
 ResourceBundle getMessages()
           
 String getName()
           
 String getPreferredRepositoryName()
           
 Shell getShell()
           
 void init()
           
 void login()
           
 void newRepository()
          Executed when the user clicks the new repository image from the Repository Login Dialog It present a new dialog where the user can selected what type of repository to create
 void setBindingFactory(org.pentaho.ui.xul.binding.BindingFactory bf)
           
 void setCallback(ILoginCallback callback)
           
 void setMessageBox(org.pentaho.ui.xul.components.XulMessageBox messageBox)
           
 void setMessages(ResourceBundle messages)
           
 void setPreferredRepositoryName(String preferredRepositoryName)
           
 void setShell(Shell shell)
           
 void show()
           
 void updateShowDialogAtStartup()
          Executed when the user checks or uncheck the "show this dialog at startup checkbox" It saves the current selection.
 
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

RepositoriesController

public RepositoriesController()
Method Detail

init

public void init()
          throws ControllerInitializationException
Throws:
ControllerInitializationException

setBindingFactory

public void setBindingFactory(org.pentaho.ui.xul.binding.BindingFactory bf)

getBindingFactory

public org.pentaho.ui.xul.binding.BindingFactory getBindingFactory()

getName

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

show

public void show()

login

public void login()

newRepository

public void newRepository()
Executed when the user clicks the new repository image from the Repository Login Dialog It present a new dialog where the user can selected what type of repository to create


editRepository

public void editRepository()
Executed when the user clicks the edit repository image from the Repository Login Dialog It presents an edit dialog where the user can edit information about the currently selected repository


deleteRepository

public void deleteRepository()
Executed when the user clicks the delete repository image from the Repository Login Dialog It prompts the user with a warning about the action to be performed and upon the approval of this action from the user, the selected repository is deleted


closeRepositoryLoginDialog

public void closeRepositoryLoginDialog()
Executed when user clicks cancel button on the Repository Login Dialog


updateShowDialogAtStartup

public void updateShowDialogAtStartup()
Executed when the user checks or uncheck the "show this dialog at startup checkbox" It saves the current selection.


getMessageBox

public org.pentaho.ui.xul.components.XulMessageBox getMessageBox()

setMessageBox

public void setMessageBox(org.pentaho.ui.xul.components.XulMessageBox messageBox)

setMessages

public void setMessages(ResourceBundle messages)

getMessages

public ResourceBundle getMessages()

getPreferredRepositoryName

public String getPreferredRepositoryName()

setPreferredRepositoryName

public void setPreferredRepositoryName(String preferredRepositoryName)

setCallback

public void setCallback(ILoginCallback callback)

getCallback

public ILoginCallback getCallback()

setShell

public void setShell(Shell shell)

getShell

public Shell getShell()