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
     

    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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executed when user clicks cancel button on the Repository Login Dialog
    void
    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
    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
     
     
    org.pentaho.ui.xul.components.XulMessageBox
     
     
     
     
    org.eclipse.swt.widgets.Shell
     
    void
     
    void
     
    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 create
    void
    setBindingFactory(org.pentaho.ui.xul.binding.BindingFactory bf)
     
    void
     
    void
    setMessageBox(org.pentaho.ui.xul.components.XulMessageBox messageBox)
     
    void
     
    void
    setPreferredRepositoryName(String preferredRepositoryName)
     
    void
    setShell(org.eclipse.swt.widgets.Shell shell)
     
    void
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • confirmBox

      protected org.pentaho.ui.xul.components.XulConfirmBox confirmBox
  • Constructor Details

    • RepositoriesController

      public RepositoriesController()
  • Method Details

    • 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(org.eclipse.swt.widgets.Shell shell)
    • getShell

      public org.eclipse.swt.widgets.Shell getShell()