C# Class ATMLProject.managers.ProjectManager

Mostra file Open project: UtrsSoftware/ATMLWorkBench

Public Methods

Method Description
Close ( ) : void
CloseProject ( ) : void
CreateProject ( ) : void
CreateProject ( ProjectInfo projectInfo ) : void
CreateTestSetArchive ( ) : void
DeleteProject ( ) : void
ExportTestProgramSet ( ) : void
GetReaderDocument ( string documentName ) : byte[]
HasOpenProject ( ) : bool
HasProject ( string projectName ) : bool
HasReaderDocument ( string documentName ) : System.Boolean
ImportTestProgramSet ( ) : void
OpenProject ( string &testSetName ) : bool
OpenProject ( string projectName ) : string
ProcessUutChanges ( UUTDescription uut ) : void
RemoveATMLDocument ( string documentName, AtmlFileType atmlType ) : void
RenameProject ( string oldProjectName, string newProjectName ) : bool
SaveATMLDocument ( string documentName, AtmlFileType atmlType, byte contentBytes, bool forceOverWrite = false ) : void
SaveReaderDocument ( string documentName, byte contentBytes ) : void

Protected Methods

Method Description
OnAtmlFileSaved ( object sender, string fileName, byte content, AtmlFileType atmlFileType ) : void
OnProjectClosed ( ) : void
OnProjectClosing ( ) : void
OnProjectOpened ( string testProgramSetName ) : void

Private Methods

Method Description
CreateProjectInfoFile ( ) : ProjectInfo
CurrentTestProgramSetOnAtmlFileSaved ( object sender, string fileName, byte content, AtmlFileType atmlFileType ) : void
InstanceOnAtmlObjectNameChanged ( object sender, AtmlNameChangedEventArgs atmlNameChangedEventArgs ) : void
Navigator_CreateAbfFileClicked ( object sender, DirectoryInfo e, string name, EventArgs args ) : void
ProjectManager ( ) : System
SaveProjectInfo ( ProjectInfo projectInfo, TestProgramSet currentTestProgramSet ) : void

Method Details

Close() public method

public Close ( ) : void
return void

CloseProject() public static method

public static CloseProject ( ) : void
return void

CreateProject() public static method

public static CreateProject ( ) : void
return void

CreateProject() public static method

public static CreateProject ( ProjectInfo projectInfo ) : void
projectInfo ATMLModelLibrary.model.ProjectInfo
return void

CreateTestSetArchive() public static method

public static CreateTestSetArchive ( ) : void
return void

DeleteProject() public static method

public static DeleteProject ( ) : void
return void

ExportTestProgramSet() public static method

public static ExportTestProgramSet ( ) : void
return void

GetReaderDocument() public static method

public static GetReaderDocument ( string documentName ) : byte[]
documentName string
return byte[]

HasOpenProject() public static method

public static HasOpenProject ( ) : bool
return bool

HasProject() public static method

public static HasProject ( string projectName ) : bool
projectName string
return bool

HasReaderDocument() public static method

public static HasReaderDocument ( string documentName ) : System.Boolean
documentName string
return System.Boolean

ImportTestProgramSet() public static method

public static ImportTestProgramSet ( ) : void
return void

OnAtmlFileSaved() protected method

protected OnAtmlFileSaved ( object sender, string fileName, byte content, AtmlFileType atmlFileType ) : void
sender object
fileName string
content byte
atmlFileType AtmlFileType
return void

OnProjectClosed() protected method

protected OnProjectClosed ( ) : void
return void

OnProjectClosing() protected method

protected OnProjectClosing ( ) : void
return void

OnProjectOpened() protected method

protected OnProjectOpened ( string testProgramSetName ) : void
testProgramSetName string
return void

OpenProject() public static method

public static OpenProject ( string &testSetName ) : bool
testSetName string
return bool

OpenProject() public static method

public static OpenProject ( string projectName ) : string
projectName string
return string

ProcessUutChanges() public static method

public static ProcessUutChanges ( UUTDescription uut ) : void
uut ATMLModelLibrary.model.uut.UUTDescription
return void

RemoveATMLDocument() public static method

public static RemoveATMLDocument ( string documentName, AtmlFileType atmlType ) : void
documentName string
atmlType AtmlFileType
return void

RenameProject() public static method

public static RenameProject ( string oldProjectName, string newProjectName ) : bool
oldProjectName string
newProjectName string
return bool

SaveATMLDocument() public static method

public static SaveATMLDocument ( string documentName, AtmlFileType atmlType, byte contentBytes, bool forceOverWrite = false ) : void
documentName string
atmlType AtmlFileType
contentBytes byte
forceOverWrite bool
return void

SaveReaderDocument() public static method

public static SaveReaderDocument ( string documentName, byte contentBytes ) : void
documentName string
contentBytes byte
return void