C# 클래스 Reko.Gui.Forms.MainFormInteractor

Provices a component Container implementation, and specifically handles interactions with the MainForm. This decouples platform-specific code from the user interaction code. This will make it easier to port to other GUI platforms.
상속: ICommandTarget, DecompilerHost, IStatusBarService
파일 보기 프로젝트 열기: uxmal/reko 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CloseAllDocumentWindows void
CreatePhaseInteractors void
CreateServices void
ExecuteMruFile bool
GetScannedFilter Func
GetSubCommandTarget ICommandTarget
InitialPage_IsDirtyChanged void
MainForm_Closed void
MainForm_Loaded void
MainForm_ProcessCommandKey void
QueryMruItem bool
UpdateToolbarState void
miFileExit_Click void
toolBar_ItemClicked void

공개 메소드들

메소드 설명
AddMetadataFile ( ) : void

Prompts the user for a metadata file and adds to the project.

AssembleFile ( ) : bool
CloseProject ( ) : void
CreateDecompiledCodeWriter ( string fileName ) : TextWriter
CreateDecompiler ( ILoader ldr ) : IDecompiler
CreateTextWriter ( string filename ) : TextWriter
CreateXmlWriter ( string filename ) : XmlWriter
EditFind ( ) : void
Execute ( CommandID cmdId ) : bool

Dispatches menu commands.

FindProcedures ( ISearchResultService svc ) : void
FindStrings ( ISearchResultService srSvc ) : void
FinishDecompilation ( ) : void
LayoutMdi ( DocumentWindowLayout layout ) : void
LoadForm ( ) : IMainForm
MainFormInteractor ( IServiceProvider services ) : Reko.Core
NextPhase ( ) : void
OpenBinary ( string file ) : void
OpenBinary ( string file, bool>.Func openAction ) : void

Master function for opening a new project.

OpenBinaryAs ( ) : bool
OpenBinaryWithPrompt ( ) : void
QueryStatus ( CommandID cmdId, CommandStatus cmdStatus, CommandText cmdText ) : bool
RestartRecompilation ( ) : void
Run ( ) : void
Save ( ) : bool

Saves the project.

SetText ( string text ) : void
ShowAboutBox ( ) : void
SwitchInteractor ( IPhasePageInteractor interactor ) : void
ToolsOptions ( ) : void
UpdateWindowTitle ( ) : void
ViewCallGraph ( ) : void
ViewDisassemblyWindow ( ) : void
ViewMemoryWindow ( ) : void
WriteDecompiledCode ( Program program, Action writer ) : void
WriteDisassembly ( Program program, Action writer ) : void
WriteGlobals ( Program program, Action writer ) : void
WriteIntermediateCode ( Program program, Action writer ) : void
WriteTypes ( Program program, Action writer ) : void

보호된 메소드들

메소드 설명
PromptForFilename ( string suggestedName ) : string

비공개 메소드들

메소드 설명
CloseAllDocumentWindows ( ) : void
CreatePhaseInteractors ( IServiceFactory svcFactory ) : void
CreateServices ( IServiceFactory svcFactory, IServiceContainer sc, Reko.Gui.Windows.Forms.DecompilerMenus dm ) : void
ExecuteMruFile ( int cmdId ) : bool
GetScannedFilter ( ISearchDialog dlg ) : Func
GetSubCommandTarget ( ) : ICommandTarget

Determines a command target that should be handling commands. This is in essence the "router" that routes commands.

InitialPage_IsDirtyChanged ( object sender, EventArgs e ) : void
MainForm_Closed ( object sender, System e ) : void
MainForm_Loaded ( object sender, System e ) : void
MainForm_ProcessCommandKey ( object sender, KeyEventArgs e ) : void
QueryMruItem ( int cmdId, CommandStatus cmdStatus, CommandText cmdText ) : bool
UpdateToolbarState ( ) : void
miFileExit_Click ( object sender, System e ) : void
toolBar_ItemClicked ( object sender, System e ) : void

메소드 상세

AddMetadataFile() 공개 메소드

Prompts the user for a metadata file and adds to the project.
public AddMetadataFile ( ) : void
리턴 void

AssembleFile() 공개 메소드

public AssembleFile ( ) : bool
리턴 bool

CloseProject() 공개 메소드

public CloseProject ( ) : void
리턴 void

CreateDecompiledCodeWriter() 공개 메소드

public CreateDecompiledCodeWriter ( string fileName ) : TextWriter
fileName string
리턴 System.IO.TextWriter

CreateDecompiler() 공개 메소드

public CreateDecompiler ( ILoader ldr ) : IDecompiler
ldr ILoader
리턴 IDecompiler

CreateTextWriter() 공개 메소드

public CreateTextWriter ( string filename ) : TextWriter
filename string
리턴 System.IO.TextWriter

CreateXmlWriter() 공개 메소드

public CreateXmlWriter ( string filename ) : XmlWriter
filename string
리턴 System.Xml.XmlWriter

EditFind() 공개 메소드

public EditFind ( ) : void
리턴 void

Execute() 공개 메소드

Dispatches menu commands.
public Execute ( CommandID cmdId ) : bool
cmdId System.ComponentModel.Design.CommandID
리턴 bool

FindProcedures() 공개 메소드

public FindProcedures ( ISearchResultService svc ) : void
svc ISearchResultService
리턴 void

FindStrings() 공개 메소드

public FindStrings ( ISearchResultService srSvc ) : void
srSvc ISearchResultService
리턴 void

FinishDecompilation() 공개 메소드

public FinishDecompilation ( ) : void
리턴 void

LayoutMdi() 공개 메소드

public LayoutMdi ( DocumentWindowLayout layout ) : void
layout DocumentWindowLayout
리턴 void

LoadForm() 공개 메소드

public LoadForm ( ) : IMainForm
리턴 IMainForm

MainFormInteractor() 공개 메소드

public MainFormInteractor ( IServiceProvider services ) : Reko.Core
services IServiceProvider
리턴 Reko.Core

NextPhase() 공개 메소드

public NextPhase ( ) : void
리턴 void

OpenBinary() 공개 메소드

public OpenBinary ( string file ) : void
file string
리턴 void

OpenBinary() 공개 메소드

Master function for opening a new project.
public OpenBinary ( string file, bool>.Func openAction ) : void
file string
openAction bool>.Func
리턴 void

OpenBinaryAs() 공개 메소드

public OpenBinaryAs ( ) : bool
리턴 bool

OpenBinaryWithPrompt() 공개 메소드

public OpenBinaryWithPrompt ( ) : void
리턴 void

PromptForFilename() 보호된 메소드

protected PromptForFilename ( string suggestedName ) : string
suggestedName string
리턴 string

QueryStatus() 공개 메소드

public QueryStatus ( CommandID cmdId, CommandStatus cmdStatus, CommandText cmdText ) : bool
cmdId System.ComponentModel.Design.CommandID
cmdStatus CommandStatus
cmdText CommandText
리턴 bool

RestartRecompilation() 공개 메소드

public RestartRecompilation ( ) : void
리턴 void

Run() 공개 메소드

public Run ( ) : void
리턴 void

Save() 공개 메소드

Saves the project.
public Save ( ) : bool
리턴 bool

SetText() 공개 메소드

public SetText ( string text ) : void
text string
리턴 void

ShowAboutBox() 공개 메소드

public ShowAboutBox ( ) : void
리턴 void

SwitchInteractor() 공개 메소드

public SwitchInteractor ( IPhasePageInteractor interactor ) : void
interactor IPhasePageInteractor
리턴 void

ToolsOptions() 공개 메소드

public ToolsOptions ( ) : void
리턴 void

UpdateWindowTitle() 공개 메소드

public UpdateWindowTitle ( ) : void
리턴 void

ViewCallGraph() 공개 메소드

public ViewCallGraph ( ) : void
리턴 void

ViewDisassemblyWindow() 공개 메소드

public ViewDisassemblyWindow ( ) : void
리턴 void

ViewMemoryWindow() 공개 메소드

public ViewMemoryWindow ( ) : void
리턴 void

WriteDecompiledCode() 공개 메소드

public WriteDecompiledCode ( Program program, Action writer ) : void
program Program
writer Action
리턴 void

WriteDisassembly() 공개 메소드

public WriteDisassembly ( Program program, Action writer ) : void
program Program
writer Action
리턴 void

WriteGlobals() 공개 메소드

public WriteGlobals ( Program program, Action writer ) : void
program Program
writer Action
리턴 void

WriteIntermediateCode() 공개 메소드

public WriteIntermediateCode ( Program program, Action writer ) : void
program Program
writer Action
리턴 void

WriteTypes() 공개 메소드

public WriteTypes ( Program program, Action writer ) : void
program Program
writer Action
리턴 void