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
Modifier and TypeFieldDescriptionprotected org.pentaho.ui.xul.components.XulConfirmBox
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
Executed when user clicks cancel button on the Repository Login Dialogvoid
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 deletedvoid
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 repositoryorg.pentaho.ui.xul.binding.BindingFactory
org.pentaho.ui.xul.components.XulMessageBox
getName()
org.eclipse.swt.widgets.Shell
getShell()
void
init()
void
login()
void
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 createvoid
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
(org.eclipse.swt.widgets.Shell shell) void
show()
void
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, 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:
getName
in interfaceorg.pentaho.ui.xul.impl.XulEventHandler
- Overrides:
getName
in 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()
-