edu.harvard.mgh.purcell.gCLINE.pane
Class FolderView

java.lang.Object
  extended by edu.harvard.mgh.purcell.gCLINE.pane.FolderView
Direct Known Subclasses:
TestFrame.myFolderView

public abstract class FolderView
extends java.lang.Object

Create a folder viewer that can generate a JScrollPane.

Author:
Kathe Todd-Brown

Nested Class Summary
 class FolderView.UpdateJList
          Update the folder view to reflect changes in the file/file discriptions.
 
Field Summary
private  Record data
          A Record to access the files in the home directory and global discriptions
private  StartFrame frame
           
private  java.awt.event.MouseListener launchPopup
          Listen for a tree selection that will activate the popup menu to manipulate the project annotation and open in/out files.
private  javax.swing.JList list
          A DefaultList Model that we can modify dynamically if there is something to change
private static org.apache.log4j.Logger logger
           
 
Constructor Summary
FolderView(StartFrame f, Record d)
          Create a folder viewer.
 
Method Summary
protected abstract  PopUpMenu createPopUp(StartFrame mf, Record d, java.lang.String[] givenFiles, java.lang.String[] givenOp)
           
private  java.lang.String getFilename(java.lang.String fileDisc)
           
 javax.swing.JScrollPane toJScrollPane()
          Create a JScrollPane that holds the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static org.apache.log4j.Logger logger

data

private Record data
A Record to access the files in the home directory and global discriptions


frame

private StartFrame frame

list

private javax.swing.JList list
A DefaultList Model that we can modify dynamically if there is something to change


launchPopup

private java.awt.event.MouseListener launchPopup
Listen for a tree selection that will activate the popup menu to manipulate the project annotation and open in/out files.

Constructor Detail

FolderView

public FolderView(StartFrame f,
                  Record d)
Create a folder viewer.

Parameters:
d - The Record that this viewer reflects.
Method Detail

getFilename

private java.lang.String getFilename(java.lang.String fileDisc)

toJScrollPane

public javax.swing.JScrollPane toJScrollPane()
Create a JScrollPane that holds the list.

Returns:
JScrollPane that views the list

createPopUp

protected abstract PopUpMenu createPopUp(StartFrame mf,
                                         Record d,
                                         java.lang.String[] givenFiles,
                                         java.lang.String[] givenOp)