public class MainController extends org.pentaho.ui.xul.impl.AbstractXulEventHandler implements org.pentaho.ui.xul.util.DialogController<Object>
Constructor and Description |
---|
MainController() |
Modifier and Type | Method and Description |
---|---|
void |
addDialogListener(org.pentaho.ui.xul.util.DialogController.DialogListener<Object> listener) |
void |
closeDialog() |
RepositoryExplorerCallback |
getCallback() |
String |
getName() |
boolean |
getOkClicked() |
boolean |
handleLostRepository(Throwable e) |
void |
hideDialog() |
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 |
showDialog() |
bind, bind, getData, getXulDomContainer, setData, setName, setXulDomContainer
public static final int CANCELLED
public static final int OK
public boolean getOkClicked()
public void init()
public void showDialog()
showDialog
in interface org.pentaho.ui.xul.util.DialogController<Object>
public RepositoryExplorerCallback getCallback()
public void setCallback(RepositoryExplorerCallback callback)
public void setRepository(org.pentaho.di.repository.Repository rep)
public String getName()
getName
in interface org.pentaho.ui.xul.impl.XulEventHandler
getName
in class org.pentaho.ui.xul.impl.AbstractXulEventHandler
public void closeDialog()
public void addDialogListener(org.pentaho.ui.xul.util.DialogController.DialogListener<Object> listener)
addDialogListener
in interface org.pentaho.ui.xul.util.DialogController<Object>
public void removeDialogListener(org.pentaho.ui.xul.util.DialogController.DialogListener<Object> listener)
removeDialogListener
in interface org.pentaho.ui.xul.util.DialogController<Object>
public void hideDialog()
hideDialog
in interface org.pentaho.ui.xul.util.DialogController<Object>
public boolean handleLostRepository(Throwable e)