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
Fields Modifier and Type Field Description protected org.pentaho.ui.xul.components.XulConfirmBox
confirmBox
-
Constructor Summary
Constructors Constructor Description RepositoriesController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
closeRepositoryLoginDialog()
Executed when user clicks cancel button on the Repository Login Dialogvoid
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 deletedvoid
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 repositoryorg.pentaho.ui.xul.binding.BindingFactory
getBindingFactory()
ILoginCallback
getCallback()
org.pentaho.ui.xul.components.XulMessageBox
getMessageBox()
ResourceBundle
getMessages()
String
getName()
String
getPreferredRepositoryName()
org.eclipse.swt.widgets.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 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
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
-
-
-
-
Method Detail
-
init
public void init() 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 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
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(org.eclipse.swt.widgets.Shell shell)
-
getShell
public org.eclipse.swt.widgets.Shell getShell()
-
-