C# 클래스 ScriptEditor.Model.Documents

파일 보기 프로젝트 열기: Clancey/MonoMac.Windows.Form

공개 메소드들

메소드 설명
ClearDocumentList ( ) : void
CloseDocument ( System.Guid scriptId ) : void

This function does NOT save the script if it has been modified.

DocumentFromId ( System.Guid id ) : ScriptDocument
FindScript ( string fullpath ) : System.Guid
Initialize ( string initialSaveDirectory ) : void
NewDocument ( EventHandler userInterfaceCallback ) : System.Guid
NewDocument ( string initialText, bool setAsActive ) : System.Guid

Create a new script file

OpenDocument ( System parentForm ) : System.Guid
OpenDocument ( string path, bool setActive ) : System.Guid
SaveAll ( bool onlyIfModified ) : int
SaveDocument ( System.Guid scriptId, bool showSaveDialog ) : void
ScriptCloseEventHelper ( System.Guid scriptId ) : void
SetActiveDoc ( System.Guid id ) : void
SetActiveFileToNext ( ) : void
SetDocumentModified ( System.Guid document_id, bool modified ) : void

비공개 메소드들

메소드 설명
IndexFromId ( System.Guid id ) : int

메소드 상세

ClearDocumentList() 공개 정적인 메소드

public static ClearDocumentList ( ) : void
리턴 void

CloseDocument() 공개 정적인 메소드

This function does NOT save the script if it has been modified.
public static CloseDocument ( System.Guid scriptId ) : void
scriptId System.Guid
리턴 void

DocumentFromId() 공개 정적인 메소드

public static DocumentFromId ( System.Guid id ) : ScriptDocument
id System.Guid
리턴 ScriptDocument

FindScript() 공개 정적인 메소드

public static FindScript ( string fullpath ) : System.Guid
fullpath string
리턴 System.Guid

Initialize() 공개 정적인 메소드

public static Initialize ( string initialSaveDirectory ) : void
initialSaveDirectory string
리턴 void

NewDocument() 공개 정적인 메소드

public static NewDocument ( EventHandler userInterfaceCallback ) : System.Guid
userInterfaceCallback EventHandler
리턴 System.Guid

NewDocument() 공개 정적인 메소드

Create a new script file
public static NewDocument ( string initialText, bool setAsActive ) : System.Guid
initialText string
setAsActive bool make the new script the "active" document
리턴 System.Guid

OpenDocument() 공개 정적인 메소드

public static OpenDocument ( System parentForm ) : System.Guid
parentForm System
리턴 System.Guid

OpenDocument() 공개 정적인 메소드

public static OpenDocument ( string path, bool setActive ) : System.Guid
path string
setActive bool
리턴 System.Guid

SaveAll() 공개 정적인 메소드

public static SaveAll ( bool onlyIfModified ) : int
onlyIfModified bool
리턴 int

SaveDocument() 공개 정적인 메소드

public static SaveDocument ( System.Guid scriptId, bool showSaveDialog ) : void
scriptId System.Guid
showSaveDialog bool
리턴 void

ScriptCloseEventHelper() 공개 정적인 메소드

public static ScriptCloseEventHelper ( System.Guid scriptId ) : void
scriptId System.Guid
리턴 void

SetActiveDoc() 공개 정적인 메소드

public static SetActiveDoc ( System.Guid id ) : void
id System.Guid
리턴 void

SetActiveFileToNext() 공개 정적인 메소드

public static SetActiveFileToNext ( ) : void
리턴 void

SetDocumentModified() 공개 정적인 메소드

public static SetDocumentModified ( System.Guid document_id, bool modified ) : void
document_id System.Guid
modified bool
리턴 void