jInfer

cz.cuni.mff.ksi.jinfer.projecttype
Class JInferProject

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.projecttype.JInferProject
All Implemented Interfaces:
Project, Lookup.Provider

public class JInferProject
extends Object
implements Project

Represents jInfer project in Projects window.


Field Summary
static String JINFER_PROJECT_NAME_PROPERTY
          Name of jInfer project property file.
static String OUTPUT_DIR
          Name of output folder in jInfer project file hierarchy saved on disk.
 
Constructor Summary
JInferProject(FileObject projectDir, ProjectState state)
          Default jInfer Project contructor.
 
Method Summary
 Lookup getLookup()
           
 FileObject getOutputFolder(boolean create)
          Get FileObject of output folder.
 FileObject getProjectDirectory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OUTPUT_DIR

public static final String OUTPUT_DIR
Name of output folder in jInfer project file hierarchy saved on disk.

See Also:
Constant Field Values

JINFER_PROJECT_NAME_PROPERTY

public static final String JINFER_PROJECT_NAME_PROPERTY
Name of jInfer project property file.

See Also:
Constant Field Values
Constructor Detail

JInferProject

public JInferProject(FileObject projectDir,
                     ProjectState state)
Default jInfer Project contructor. Creates new jInfer project located in path definted by projectDir parameter.

Parameters:
projectDir - Path to the project directory on disk.
state - State of the project.
See Also:
ProjectState
Method Detail

getProjectDirectory

public FileObject getProjectDirectory()
Specified by:
getProjectDirectory in interface Project

getLookup

public Lookup getLookup()
Specified by:
getLookup in interface Project
Specified by:
getLookup in interface Lookup.Provider

getOutputFolder

public FileObject getOutputFolder(boolean create)
Get FileObject of output folder. If not exist and create is true, then it's created.

Parameters:
create - If folder is created when it not exist.
Returns:
FileObject of output folder.

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011