Class MainController

  • All Implemented Interfaces:
    org.pentaho.ui.xul.impl.XulEventHandler, org.pentaho.ui.xul.util.DialogController<Object>, org.pentaho.ui.xul.XulEventSource

    public class MainController
    extends org.pentaho.ui.xul.impl.AbstractXulEventHandler
    implements org.pentaho.ui.xul.util.DialogController<Object>
    This is the main XulEventHandler for the dialog. It sets up the main bindings for the user interface and responds to some of the main UI events such as closing and accepting the dialog.
    • Constructor Detail

      • MainController

        public MainController()
    • Method Detail

      • getOkClicked

        public boolean getOkClicked()
      • init

        public void init()
      • showDialog

        public void showDialog()
        Specified by:
        showDialog in interface org.pentaho.ui.xul.util.DialogController<Object>
      • setRepository

        public void setRepository​(org.pentaho.di.repository.Repository rep)
      • 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
      • closeDialog

        public void closeDialog()
      • addDialogListener

        public void addDialogListener​(org.pentaho.ui.xul.util.DialogController.DialogListener<Object> listener)
        Specified by:
        addDialogListener in interface org.pentaho.ui.xul.util.DialogController<Object>
      • removeDialogListener

        public void removeDialogListener​(org.pentaho.ui.xul.util.DialogController.DialogListener<Object> listener)
        Specified by:
        removeDialogListener in interface org.pentaho.ui.xul.util.DialogController<Object>
      • hideDialog

        public void hideDialog()
        Specified by:
        hideDialog in interface org.pentaho.ui.xul.util.DialogController<Object>
      • handleLostRepository

        public boolean handleLostRepository​(Throwable e)
      • setSharedObjectSyncUtil

        public void setSharedObjectSyncUtil​(SharedObjectSyncUtil sharedObjectSyncUtil)