org.acm.seguin.ide.common.action
Class SelectedFileSet

java.lang.Object
  extended by org.acm.seguin.ide.common.action.SelectedFileSet
Direct Known Subclasses:
EmptySelectedFileSet, JBuilderSelectedFileSet

public abstract class SelectedFileSet
extends java.lang.Object

For IDEs where the user can select a number of files in the project pane, this class handles the translation of those selected files into TypeSummaries and a determination of whether the selected files are .java files.

Version:
$Id: SelectedFileSet.java,v 1.3 2003/07/29 20:51:52 mikeatkinson Exp $
Author:
Chris Seguin, Mike Atkinson

Constructor Summary
SelectedFileSet()
           
 
Method Summary
protected  TypeSummary getTypeSummary(FileSummary summary)
          Returns the type summary that has the same name as the file summary
abstract  TypeSummary[] getTypeSummaryArray()
          Gets the TypeSummaryArray attribute of the SelectedFileSet object
abstract  boolean isAllJava()
          Gets the AllJava attribute of the SelectedFileSet object
abstract  boolean isSingleJavaFile()
          Gets the SingleJavaFile attribute of the SelectedFileSet object
protected  FileSummary reloadFile(java.io.File file, java.io.StringReader input)
          Reloads the file summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectedFileSet

public SelectedFileSet()
Method Detail

getTypeSummary

protected TypeSummary getTypeSummary(FileSummary summary)
Returns the type summary that has the same name as the file summary

Parameters:
summary - the file summary
Returns:
the type summary

getTypeSummaryArray

public abstract TypeSummary[] getTypeSummaryArray()
Gets the TypeSummaryArray attribute of the SelectedFileSet object

Returns:
The TypeSummaryArray value

isAllJava

public abstract boolean isAllJava()
Gets the AllJava attribute of the SelectedFileSet object

Returns:
The AllJava value

isSingleJavaFile

public abstract boolean isSingleJavaFile()
Gets the SingleJavaFile attribute of the SelectedFileSet object

Returns:
The SingleJavaFile value

reloadFile

protected FileSummary reloadFile(java.io.File file,
                                 java.io.StringReader input)
Reloads the file summary

Parameters:
file - Description of Parameter
input - Description of Parameter
Returns:
Description of the Returned Value