Changes between Version 2 and Version 3 of PlugIns


Ignore:
Timestamp:
2018-05-30 00:44:19 (2 years ago)
Author:
jeroens
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PlugIns

    v2 v3  
    66 
    77Writing a plug-in is a fairly straight-forward process with some .NET programming experience and access to the EwE source code. You basically need to: 
    8  * Start a new Class Library project with the same .NET framework dependencies and compiler model as the EwE software. For more information, see the [wiki:TechnicalFAQ Technical FAQ] 
    9  * Add references to the EwE assemblies EwECore, EwEUtils and EwEPlugIn 
    10  * Create one or more plug-in classes that implement one or more EwE plug-in interfaces. Available plug-in interfaces are provided in Assemby EwEPlugin, folder "Plugin Templates". The code that is placed in the implementation of these interfaces will be invoked when the EwE6 software encounters a plug-in point during its execution. 
     8 * Start a new Class Library project with the same .NET framework dependencies and compiler model as the EwE software. For obtaining and running the code, see the [wiki:TechnicalFAQ Technical FAQ] 
     9 * Make sure your plug-in targets the same .NET framework version that the project !ScientificInterface uses 
     10 * Make sure your plug-in compiles for x86 and x64 solution platforms. Because of Microsoft Office reliance and its fixed bitness, the !EwE code does not use !AnyCPU 
     11 * Add references to the !EwE assemblies !EwECore, !EwEUtils and !EwEPlugIn 
     12 * Create one or more plug-in classes that implement one or more !EwE plug-in interfaces. Available plug-in interfaces are provided in Assemby !EwEPlugin, folder "Plugin Templates". The code that is placed in the implementation of these interfaces will be invoked when the EwE6 software encounters a plug-in point during its execution. 
    1113 * Compile the plug-in, and place the compiled DLL beside the EwE6 executable. 
    12  * Run EwE. 
     14 * Run !EwE. 
    1315 
    1416During development time it is advisable to reference your plug-in assembly from the EwE Scientific Interface project. This means that whenever EwE6 is compiled, your plug-in will be compiled and deployed with it.