C# Class CyPhyComponentImporter.CyPhyComponentImporterInterpreter

Inheritance: IMgaComponentEx, IGMEVersionInfo
Afficher le fichier Open project: metamorph-inc/meta-core

Méthodes publiques

Свойство Type Description
Errors List
ExpectedSchemaVersion double
ImportedComponentsFolderName string

Protected Properties

Свойство Type Description
interactiveMode bool

Private Properties

Свойство Type Description
CheckAndWarnOnSchemaVersion void
Convert ComponentStartMode
GMERegister void
GMEUnRegister void
GetImportFolder ISIS.GME.Dsml.CyPhyML.Interfaces.Components
Main void
WriteLine void
getCyPhyMLComponentDictionary_ByName CyPhy.Component>.Dictionary

Méthodes publiques

Méthode Description
DeserializeAvmComponentXml ( TextReader reader ) : avm.Component
Enable ( bool newval ) : void
ImportFile ( MgaProject project, string projroot, string FileName ) : IMgaFCO
ImportFiles ( MgaProject project, string projRootPath, string FileNames, bool alwaysReplace = false ) : IMgaFCOs
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
getCyPhyMLComponentDictionary_ByAVMID ( ISIS.GME.Dsml.CyPhyML.Interfaces cyPhyMLRootFolder ) : CyPhy.Component>.Dictionary
get_ComponentParameter ( string Name ) : object
set_ComponentParameter ( string Name, object pVal ) : void

Private Methods

Méthode Description
CheckAndWarnOnSchemaVersion ( avm ac_import ) : void
Convert ( int param ) : ComponentStartMode
GMERegister ( Type t ) : void
GMEUnRegister ( Type t ) : void
GetImportFolder ( ISIS.GME.Dsml.CyPhyML.Interfaces rf ) : ISIS.GME.Dsml.CyPhyML.Interfaces.Components
Main ( MgaProject project, MgaFCO currentobj, MgaFCOs selectedobjs, ComponentStartMode startMode ) : void
WriteLine ( Func f, IMgaFCO a, IMgaFCO b ) : void
getCyPhyMLComponentDictionary_ByName ( ISIS.GME.Dsml.CyPhyML.Interfaces cyPhyMLRootFolder ) : CyPhy.Component>.Dictionary

Method Details

DeserializeAvmComponentXml() public static méthode

public static DeserializeAvmComponentXml ( TextReader reader ) : avm.Component
reader System.IO.TextReader
Résultat avm.Component

Enable() public méthode

public Enable ( bool newval ) : void
newval bool
Résultat void

ImportFile() public méthode

public ImportFile ( MgaProject project, string projroot, string FileName ) : IMgaFCO
project MgaProject
projroot string
FileName string
Résultat IMgaFCO

ImportFiles() public méthode

public ImportFiles ( MgaProject project, string projRootPath, string FileNames, bool alwaysReplace = false ) : IMgaFCOs
project MgaProject
projRootPath string
FileNames string
alwaysReplace bool
Résultat IMgaFCOs

Initialize() public méthode

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.
Résultat void

Invoke() public méthode

public Invoke ( MgaProject Project, MgaFCOs selectedobjs, int param ) : void
Project MgaProject
selectedobjs MgaFCOs
param int
Résultat void

InvokeEx() public méthode

public InvokeEx ( MgaProject project, MgaFCO currentobj, MgaFCOs selectedobjs, int param ) : void
project MgaProject
currentobj MgaFCO
selectedobjs MgaFCOs
param int
Résultat void

ObjectsInvokeEx() public méthode

public ObjectsInvokeEx ( MgaProject Project, MgaObject currentobj, MgaObjects selectedobjs, int param ) : void
Project MgaProject
currentobj MgaObject
selectedobjs MgaObjects
param int
Résultat void

getCyPhyMLComponentDictionary_ByAVMID() public static méthode

public static getCyPhyMLComponentDictionary_ByAVMID ( ISIS.GME.Dsml.CyPhyML.Interfaces cyPhyMLRootFolder ) : CyPhy.Component>.Dictionary
cyPhyMLRootFolder ISIS.GME.Dsml.CyPhyML.Interfaces
Résultat CyPhy.Component>.Dictionary

get_ComponentParameter() public méthode

public get_ComponentParameter ( string Name ) : object
Name string
Résultat object

set_ComponentParameter() public méthode

public set_ComponentParameter ( string Name, object pVal ) : void
Name string
pVal object
Résultat void

Property Details

Errors public_oe property

public List Errors
Résultat List

ExpectedSchemaVersion public_oe static_oe property

The version of the ACM schema expected by the importer. If an input file has a different version, the importer will warn the user, but try to import the component anyway.
public static double ExpectedSchemaVersion
Résultat double

ImportedComponentsFolderName public_oe static_oe property

The default name of the folder in which imported components are placed.
public static string ImportedComponentsFolderName
Résultat string

interactiveMode protected_oe property

protected bool interactiveMode
Résultat bool