Class MainController
java.lang.Object
org.pentaho.ui.xul.XulEventSourceAdapter
org.pentaho.ui.xul.impl.AbstractXulEventHandler
org.pentaho.di.ui.repository.repositoryexplorer.controllers.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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.pentaho.ui.xul.util.DialogController
org.pentaho.ui.xul.util.DialogController.DialogListener<T extends Object>
-
Field Summary
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
addDialogListener
(org.pentaho.ui.xul.util.DialogController.DialogListener<Object> listener) void
getName()
boolean
boolean
void
void
init()
void
removeDialogListener
(org.pentaho.ui.xul.util.DialogController.DialogListener<Object> listener) void
setCallback
(RepositoryExplorerCallback callback) void
setRepository
(org.pentaho.di.repository.Repository rep) void
setSharedObjectSyncUtil
(SharedObjectSyncUtil sharedObjectSyncUtil) void
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
-
CANCELLED
public static final int CANCELLED- See Also:
-
OK
public static final int OK- See Also:
-
-
Constructor Details
-
MainController
public MainController()
-
-
Method Details
-
getOkClicked
public boolean getOkClicked() -
init
public void init() -
showDialog
public void showDialog()- Specified by:
showDialog
in interfaceorg.pentaho.ui.xul.util.DialogController<Object>
-
getCallback
-
setCallback
-
setRepository
public void setRepository(org.pentaho.di.repository.Repository rep) -
getName
- Specified by:
getName
in interfaceorg.pentaho.ui.xul.impl.XulEventHandler
- Overrides:
getName
in classorg.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 interfaceorg.pentaho.ui.xul.util.DialogController<Object>
-
removeDialogListener
public void removeDialogListener(org.pentaho.ui.xul.util.DialogController.DialogListener<Object> listener) - Specified by:
removeDialogListener
in interfaceorg.pentaho.ui.xul.util.DialogController<Object>
-
hideDialog
public void hideDialog()- Specified by:
hideDialog
in interfaceorg.pentaho.ui.xul.util.DialogController<Object>
-
handleLostRepository
-