Class RepositoriesController
java.lang.Object
org.pentaho.ui.xul.XulEventSourceAdapter
org.pentaho.ui.xul.impl.AbstractXulEventHandler
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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.pentaho.ui.xul.components.XulConfirmBoxFields inherited from class org.pentaho.ui.xul.impl.AbstractXulEventHandler
document, name, xulDomContainerFields inherited from class org.pentaho.ui.xul.XulEventSourceAdapter
changeSupport -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidExecuted when user clicks cancel button on the Repository Login DialogvoidExecuted 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 deletedvoidExecuted 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 repositoryorg.pentaho.ui.xul.binding.BindingFactoryorg.pentaho.ui.xul.components.XulMessageBoxgetName()org.eclipse.swt.widgets.ShellgetShell()voidinit()voidlogin()voidExecuted 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 createvoidsetBindingFactory(org.pentaho.ui.xul.binding.BindingFactory bf) voidsetCallback(ILoginCallback callback) voidsetMessageBox(org.pentaho.ui.xul.components.XulMessageBox messageBox) voidsetMessages(ResourceBundle messages) voidsetPreferredRepositoryName(String preferredRepositoryName) voidsetShell(org.eclipse.swt.widgets.Shell shell) voidshow()voidExecuted 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, setXulDomContainerMethods inherited from class org.pentaho.ui.xul.XulEventSourceAdapter
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
-
Field Details
-
confirmBox
protected org.pentaho.ui.xul.components.XulConfirmBox confirmBox
-
-
Constructor Details
-
RepositoriesController
public RepositoriesController()
-
-
Method Details
-
init
-
setBindingFactory
public void setBindingFactory(org.pentaho.ui.xul.binding.BindingFactory bf) -
getBindingFactory
public org.pentaho.ui.xul.binding.BindingFactory getBindingFactory() -
getName
- Specified by:
getNamein interfaceorg.pentaho.ui.xul.impl.XulEventHandler- Overrides:
getNamein classorg.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
-
getMessages
-
getPreferredRepositoryName
-
setPreferredRepositoryName
-
setCallback
-
getCallback
-
setShell
public void setShell(org.eclipse.swt.widgets.Shell shell) -
getShell
public org.eclipse.swt.widgets.Shell getShell()
-