C# Class CyPhyDesignImporter.CyPhyDesignImporterInterpreter

Inheritance: IMgaComponentEx, IGMEVersionInfo
ファイルを表示 Open project: metamorph-inc/meta-core Class Usage Examples

Protected Properties

Property Type Description
interactiveMode bool

Private Properties

Property Type Description
Convert ComponentStartMode
GMERegister void
GMEUnRegister void
Main void

Public Methods

Method Description
DeserializeAvmDesignXml ( TextReader reader ) : avm.Design
Enable ( bool newval ) : void
ImportDesign ( IMgaProject project, string filename ) : IMgaFCO
ImportDesignToComponentAssembly ( IMgaProject project, string filename ) : IMgaFCO
ImportDesignToDesignSpace ( IMgaProject project, string filename ) : IMgaFCO
ImportDesignToDesignSpaceIfApplicable ( IMgaProject project, string filename ) : IMgaFCO
Initialize ( MgaProject project ) : void

This function is called for each interpreter invocation before Main. Don't perform MGA operations here unless you open a transaction.

Invoke ( MgaProject Project, MgaFCOs selectedobjs, int param ) : void
InvokeEx ( MgaProject project, MgaFCO currentobj, MgaFCOs selectedobjs, int param ) : void
ObjectsInvokeEx ( MgaProject Project, MgaObject currentobj, MgaObjects selectedobjs, int param ) : void
get_ComponentParameter ( string Name ) : object
set_ComponentParameter ( string Name, object pVal ) : void

Private Methods

Method Description
Convert ( int param ) : ComponentStartMode
GMERegister ( Type t ) : void
GMEUnRegister ( Type t ) : void
Main ( MgaProject project, MgaFCO currentobj, MgaFCOs selectedobjs, ComponentStartMode startMode ) : void

Method Details

DeserializeAvmDesignXml() public static method

public static DeserializeAvmDesignXml ( TextReader reader ) : avm.Design
reader TextReader
return avm.Design

Enable() public method

public Enable ( bool newval ) : void
newval bool
return void

ImportDesign() public method

public ImportDesign ( IMgaProject project, string filename ) : IMgaFCO
project IMgaProject
filename string
return IMgaFCO

ImportDesignToComponentAssembly() public method

public ImportDesignToComponentAssembly ( IMgaProject project, string filename ) : IMgaFCO
project IMgaProject
filename string
return IMgaFCO

ImportDesignToDesignSpace() public method

public ImportDesignToDesignSpace ( IMgaProject project, string filename ) : IMgaFCO
project IMgaProject
filename string
return IMgaFCO

ImportDesignToDesignSpaceIfApplicable() public method

public ImportDesignToDesignSpaceIfApplicable ( IMgaProject project, string filename ) : IMgaFCO
project IMgaProject
filename string
return IMgaFCO

Initialize() public method

This function is called for each interpreter invocation before Main. Don't perform MGA operations here unless you open a transaction.
public Initialize ( MgaProject project ) : void
project MgaProject The handle of the project opened in GME, for which the interpreter was called.
return void

Invoke() public method

public Invoke ( MgaProject Project, MgaFCOs selectedobjs, int param ) : void
Project MgaProject
selectedobjs MgaFCOs
param int
return void

InvokeEx() public method

public InvokeEx ( MgaProject project, MgaFCO currentobj, MgaFCOs selectedobjs, int param ) : void
project MgaProject
currentobj MgaFCO
selectedobjs MgaFCOs
param int
return void

ObjectsInvokeEx() public method

public ObjectsInvokeEx ( MgaProject Project, MgaObject currentobj, MgaObjects selectedobjs, int param ) : void
Project MgaProject
currentobj MgaObject
selectedobjs MgaObjects
param int
return void

get_ComponentParameter() public method

public get_ComponentParameter ( string Name ) : object
Name string
return object

set_ComponentParameter() public method

public set_ComponentParameter ( string Name, object pVal ) : void
Name string
pVal object
return void

Property Details

interactiveMode protected_oe property

protected bool interactiveMode
return bool