edu.uchsc.ccp.knowtator
Class ProjectSettings

java.lang.Object
  extended by edu.uchsc.ccp.knowtator.ProjectSettings

public class ProjectSettings
extends Object


Field Summary
static String ACTIVE_CONFIGURATION
           
static String DEFAULT_TOKEN_REGEX
           
static String PROJECT_RECENT_TSC
          Records the most recent type of TextSourceCollection (tsc) used by this project.
static String PROJECT_RECENT_TSC_INDEX
           
static String SHOW_INSTANCES
           
 
Constructor Summary
ProjectSettings()
           
 
Method Summary
static SimpleInstance getActiveConfiguration(Project project)
           
static TextSourceCollection getRecentTextSourceCollection(Project project)
           
static int getRecentTextSourceCollectionIndex(Project project)
           
static boolean getShowInstances(Project project)
           
static void setActiveConfiguration(Project project, SimpleInstance configurationInstance)
           
static void setRecentTextSourceCollection(Project project, TextSourceCollection tsc)
           
static void setRecentTextSourceCollectionIndex(Project project, int recentIndex)
           
static void setShowInstances(Project project, boolean showInstances)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROJECT_RECENT_TSC

public static final String PROJECT_RECENT_TSC
Records the most recent type of TextSourceCollection (tsc) used by this project.


PROJECT_RECENT_TSC_INDEX

public static final String PROJECT_RECENT_TSC_INDEX

SHOW_INSTANCES

public static final String SHOW_INSTANCES

DEFAULT_TOKEN_REGEX

public static final String DEFAULT_TOKEN_REGEX

ACTIVE_CONFIGURATION

public static final String ACTIVE_CONFIGURATION
Constructor Detail

ProjectSettings

public ProjectSettings()
Method Detail

getShowInstances

public static boolean getShowInstances(Project project)

setShowInstances

public static void setShowInstances(Project project,
                                    boolean showInstances)

getRecentTextSourceCollection

public static TextSourceCollection getRecentTextSourceCollection(Project project)

setRecentTextSourceCollection

public static void setRecentTextSourceCollection(Project project,
                                                 TextSourceCollection tsc)

getRecentTextSourceCollectionIndex

public static int getRecentTextSourceCollectionIndex(Project project)

setRecentTextSourceCollectionIndex

public static void setRecentTextSourceCollectionIndex(Project project,
                                                      int recentIndex)

getActiveConfiguration

public static SimpleInstance getActiveConfiguration(Project project)

setActiveConfiguration

public static void setActiveConfiguration(Project project,
                                          SimpleInstance configurationInstance)