de.miethxml.toolkit.repository.ui
Class RepositoryViewBuilder

java.lang.Object
  extended byde.miethxml.toolkit.repository.ui.RepositoryViewBuilder

public class RepositoryViewBuilder
extends java.lang.Object

Author:
simon

Constructor Summary
RepositoryViewBuilder(RepositoryModelImpl model, javax.swing.JPopupMenu menu)
          Build a view (tree,table or tree and table) for the given RepositoryModelImpl.
 
Method Summary
 javax.swing.JTable getRepositoryTable()
           
 javax.swing.JTree getRepositoryTree(boolean mixed)
           
 javax.swing.JComponent getTreeAndTableView()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryViewBuilder

public RepositoryViewBuilder(RepositoryModelImpl model,
                             javax.swing.JPopupMenu menu)
Build a view (tree,table or tree and table) for the given RepositoryModelImpl. This builder adds a MouseController and 'Drag and Drop'-Handler.

Parameters:
model - The RepositoryModelImpl
menu - The popupmenu or null
Method Detail

getTreeAndTableView

public javax.swing.JComponent getTreeAndTableView()

getRepositoryTree

public javax.swing.JTree getRepositoryTree(boolean mixed)
Parameters:
mixed - show files and direcotries
Returns:

getRepositoryTable

public javax.swing.JTable getRepositoryTable()