C# 클래스 BaconBuilder.Controller.MainViewController

파일 보기 프로젝트 열기: Revelations/BaconApp 1 사용 예제들

공개 메소드들

메소드 설명
ContentsHaveChanged ( ) : bool
CreateNewFile ( ) : void

Creates a new blank file.

InitialiseListView ( ) : void

Initialises and populates a listview with the html files in a directory.

MainViewController ( BaconModel model, IMainView view ) : System
RefreshDirectory ( ) : void

Reloads the directory in the view.

RemoveCurrentFile ( ) : void

Removes the currently loaded file from the file system.

RenameFile ( string oldName, string newName ) : void

Rename the old file name to the new file name.

SelectFile ( string value ) : void
ValidateTitle ( ) : void

비공개 메소드들

메소드 설명
FindItem ( string text ) : int

Returns the index of the listview item

메소드 상세

ContentsHaveChanged() 공개 메소드

public ContentsHaveChanged ( ) : bool
리턴 bool

CreateNewFile() 공개 메소드

Creates a new blank file.
public CreateNewFile ( ) : void
리턴 void

InitialiseListView() 공개 메소드

Initialises and populates a listview with the html files in a directory.
public InitialiseListView ( ) : void
리턴 void

MainViewController() 공개 메소드

public MainViewController ( BaconModel model, IMainView view ) : System
model BaconBuilder.Model.BaconModel
view IMainView
리턴 System

RefreshDirectory() 공개 메소드

Reloads the directory in the view.
public RefreshDirectory ( ) : void
리턴 void

RemoveCurrentFile() 공개 메소드

Removes the currently loaded file from the file system.
public RemoveCurrentFile ( ) : void
리턴 void

RenameFile() 공개 메소드

Rename the old file name to the new file name.
public RenameFile ( string oldName, string newName ) : void
oldName string
newName string
리턴 void

SelectFile() 공개 메소드

public SelectFile ( string value ) : void
value string
리턴 void

ValidateTitle() 공개 메소드

public ValidateTitle ( ) : void
리턴 void