Package com.iizigo.term.project
Class EESession
- java.lang.Object
- com.iizigo.term.project.EESession
public class EESession extends java.lang.ObjectClass for a capture session.
Field Summary
Fields Modifier and Type Field Description booleanisRecordingFlag for recording.static org.eclipse.core.runtime.QualifiedNameQUALIFIED_NAMEFile properties name for the EESession.
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()Disposes of the session.static EESessiongetEESession(org.eclipse.core.resources.IFile file)Gets the EESession of the file.org.eclipse.core.resources.IFilegetFile()Gets the file.java.lang.StringgetFileName()Gets the file name.java.lang.StringgetLongName()Gets the full file name relative terminal project.java.lang.StringgetShortName()Gets the short name of the session, i.e.EditorTerminalPropsgetTerminalProperties()Gets the terminal properties.voidupdateTimestamp()Updates the timestamp.
Method Detail
getEESession
public static EESession getEESession(org.eclipse.core.resources.IFile file)
Gets the EESession of the file.- Parameters:
file- The file for the session.- Returns:
- The EE session found, or null for not loaded.
dispose
public void dispose()
Disposes of the session.
getFileName
public java.lang.String getFileName()
Gets the file name.- Returns:
- The file name, never null.
getTerminalProperties
public EditorTerminalProps getTerminalProperties()
Gets the terminal properties.- Returns:
- The terminal properties.
getFile
public org.eclipse.core.resources.IFile getFile()
Gets the file.- Returns:
- The file.
getShortName
public java.lang.String getShortName()
Gets the short name of the session, i.e. the file name without extension.- Returns:
- The session short name.
getLongName
public java.lang.String getLongName()
Gets the full file name relative terminal project.- Returns:
- The session full name.
updateTimestamp
public void updateTimestamp() throws org.eclipse.core.runtime.CoreExceptionUpdates the timestamp.- Throws:
org.eclipse.core.runtime.CoreException- For file system errors.