insensa
Class CUser
java.lang.Object
insensa.CUser
public class CUser
- extends java.lang.Object
Constructor Summary |
CUser()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
projects
private java.util.List<CProject> projects
name
private java.lang.String name
workspacePath
private java.lang.String workspacePath
activeProject
private CProject activeProject
userListener
private java.util.List<UserListener> userListener
PROP_WORKSPACE
public static final java.lang.String PROP_WORKSPACE
- See Also:
- Constant Field Values
PROP_USER
public static final java.lang.String PROP_USER
- See Also:
- Constant Field Values
CUser
public CUser()
addNewProject
public CProject addNewProject(java.lang.String projectName,
java.util.List<IProjectListener> listener)
throws java.io.IOException
- Parameters:
projectName
- listener
-
- Returns:
-
- Throws:
java.io.IOException
addProject
public void addProject(CProject project)
- Parameters:
project
-
addUserListener
public void addUserListener(UserListener listener)
- Parameters:
listener
-
closeProject
public void closeProject()
countFiles
private int countFiles(CRasterFileSet fileSet)
- Parameters:
fileSet
-
- Returns:
createProject
public boolean createProject(CProject project)
throws java.io.IOException
- Parameters:
project
-
- Returns:
-
- Throws:
java.io.IOException
getActiveProject
public CProject getActiveProject()
- Returns:
getName
public java.lang.String getName()
- Returns:
getProject
public CProject getProject(java.lang.String selProjectName)
- Parameters:
selProjectName
-
- Returns:
getProjects
public java.util.List<CProject> getProjects()
- Returns:
- a list of all projects or an empty List
getWorkspacePath
public java.lang.String getWorkspacePath()
- Returns:
openProject
public void openProject(CProject project,
WorkerStatus wStatus)
throws java.io.IOException,
org.jdom.JDOMException,
CRasterFileException
- Parameters:
project
- wStatus
-
- Throws:
java.io.IOException
org.jdom.JDOMException
CRasterFileException
removeProject
public void removeProject(CProject project)
- Parameters:
project
-
removeProject
public void removeProject(java.lang.String projectName)
throws java.io.IOException
- Parameters:
projectName
-
- Throws:
java.io.IOException
setName
public void setName(java.lang.String name)
- Parameters:
name
-
setWorkspacePath
public void setWorkspacePath(java.lang.String workspacePath)
- Parameters:
workspacePath
-