org.pentaho.di.ui.repository.repositoryexplorer.controllers
Class BrowseController
java.lang.Object
org.pentaho.ui.xul.XulEventSourceAdapter
org.pentaho.ui.xul.impl.AbstractXulEventHandler
org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController
- All Implemented Interfaces:
- IBrowseController, IUISupportController, org.pentaho.ui.xul.impl.XulEventHandler, org.pentaho.ui.xul.XulEventSource
public class BrowseController
- extends org.pentaho.ui.xul.impl.AbstractXulEventHandler
- implements IUISupportController, IBrowseController
This is the XulEventHandler for the browse panel of the repository explorer. It sets up the bindings for
browse functionality.
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 |
BrowseController
public BrowseController()
init
public void init(Repository repository)
throws ControllerInitializationException
- Specified by:
init
in interface IUISupportController
- Throws:
ControllerInitializationException
getName
public String getName()
- Specified by:
getName
in interface IUISupportController
- Specified by:
getName
in interface org.pentaho.ui.xul.impl.XulEventHandler
- Overrides:
getName
in class org.pentaho.ui.xul.impl.AbstractXulEventHandler
getRepositoryDirectory
public UIRepositoryDirectory getRepositoryDirectory()
expandAllFolders
public void expandAllFolders()
collapseAllFolders
public void collapseAllFolders()
openContent
public void openContent()
openContent
public void openContent(Object[] items)
renameContent
public void renameContent()
throws Exception
- Throws:
Exception
deleteContent
public void deleteContent()
throws Exception
- Throws:
Exception
createFolder
public void createFolder()
throws Exception
- Throws:
Exception
exportFolder
public void exportFolder()
throws Exception
- Throws:
Exception
deleteFolder
public void deleteFolder()
throws Exception
- Throws:
Exception
renameFolder
public void renameFolder()
throws Exception
- Throws:
Exception
onDragFromGlobalTree
public void onDragFromGlobalTree(org.pentaho.ui.xul.dnd.DropEvent event)
onDragFromLocalTable
public void onDragFromLocalTable(org.pentaho.ui.xul.dnd.DropEvent event)
onDrop
public void onDrop(org.pentaho.ui.xul.dnd.DropEvent event)
onDoubleClick
public void onDoubleClick(Object[] selectedItems)
getSelectedFolderItems
public List<UIRepositoryDirectory> getSelectedFolderItems()
setSelectedFolderItems
public void setSelectedFolderItems(List<UIRepositoryDirectory> selectedFolderItems)
getSelectedFileItems
public List<UIRepositoryObject> getSelectedFileItems()
setSelectedFileItems
public void setSelectedFileItems(List<UIRepositoryObject> selectedFileItems)
getSelectedItemsBinding
public org.pentaho.ui.xul.binding.Binding getSelectedItemsBinding()
setSelectedItemsBinding
public void setSelectedItemsBinding(org.pentaho.ui.xul.binding.Binding selectedItemsBinding)
setRepositoryObjects
public void setRepositoryObjects(List<UIRepositoryObject> selectedFileItems)
getRepositoryObjects
public List<UIRepositoryObject> getRepositoryObjects()
setRepositoryItems
public void setRepositoryItems(List<UIRepositoryObject> selectedItems)
getRepositoryItems
public List<UIRepositoryObject> getRepositoryItems()
getRepositoryDirectories
public List<UIRepositoryDirectory> getRepositoryDirectories()
setRepositoryDirectories
public void setRepositoryDirectories(List<UIRepositoryDirectory> selectedFolderItems)
getSelectedRepoDirChildren
public UIRepositoryObjects getSelectedRepoDirChildren()
addContextChangeVetoer
public void addContextChangeVetoer(ContextChangeVetoer listener)
- Specified by:
addContextChangeVetoer
in interface IBrowseController
removeContextChangeVetoer
public void removeContextChangeVetoer(ContextChangeVetoer listener)
- Specified by:
removeContextChangeVetoer
in interface IBrowseController