public class RepositoriesController
extends org.pentaho.ui.xul.impl.AbstractXulEventHandler
Constructor and Description |
---|
RepositoriesController() |
Modifier and Type | Method and Description |
---|---|
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() |
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 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(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.
|
bind, bind, getData, getXulDomContainer, setData, setName, setXulDomContainer
public void init() throws ControllerInitializationException
public void setBindingFactory(org.pentaho.ui.xul.binding.BindingFactory bf)
public org.pentaho.ui.xul.binding.BindingFactory getBindingFactory()
public String getName()
getName
in interface org.pentaho.ui.xul.impl.XulEventHandler
getName
in class org.pentaho.ui.xul.impl.AbstractXulEventHandler
public void show()
public void login()
public void newRepository()
public void editRepository()
public void deleteRepository()
public void closeRepositoryLoginDialog()
public void updateShowDialogAtStartup()
public org.pentaho.ui.xul.components.XulMessageBox getMessageBox()
public void setMessageBox(org.pentaho.ui.xul.components.XulMessageBox messageBox)
public void setMessages(ResourceBundle messages)
public ResourceBundle getMessages()
public String getPreferredRepositoryName()
public void setPreferredRepositoryName(String preferredRepositoryName)
public void setCallback(ILoginCallback callback)
public ILoginCallback getCallback()
public void setShell(org.eclipse.swt.widgets.Shell shell)
public org.eclipse.swt.widgets.Shell getShell()