org.pentaho.di.ui.repository.repositoryexplorer.controllers
Class FileOverwriteDialogController

java.lang.Object
  extended by org.pentaho.ui.xul.XulEventSourceAdapter
      extended by org.pentaho.ui.xul.impl.AbstractXulEventHandler
          extended by org.pentaho.di.ui.repository.repositoryexplorer.controllers.FileOverwriteDialogController
All Implemented Interfaces:
org.pentaho.ui.xul.impl.XulEventHandler, org.pentaho.ui.xul.XulEventSource

public class FileOverwriteDialogController
extends org.pentaho.ui.xul.impl.AbstractXulEventHandler

Displays all files to overwrite in a list and prompts the user to continue or cancel.

Author:
cboyden

Method Summary
 void closeCancel()
           
 void closeOverwrite()
           
static FileOverwriteDialogController getInstance(Shell shell, List<UIRepositoryObject> objects)
           
 String getName()
           
 void init()
           
 boolean isOverwriteFiles()
           
 void show()
           
 
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, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static FileOverwriteDialogController getInstance(Shell shell,
                                                        List<UIRepositoryObject> objects)

init

public void init()

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()

closeOverwrite

public void closeOverwrite()

closeCancel

public void closeCancel()

isOverwriteFiles

public boolean isOverwriteFiles()