IPluginSaveFileControlInit Method
Init the File Open Plugin
Namespace: PCBI.Plugin.InterfacesAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
Task Init(
string loadedDesignPathOrServer,
FileLocation fileLocation,
string subDirToShow,
string fileName,
List<FileFormatFilter> fileFilters
)
Function Init (
loadedDesignPathOrServer As String,
fileLocation As FileLocation,
subDirToShow As String,
fileName As String,
fileFilters As List(Of FileFormatFilter)
) As Task
Task^ Init(
String^ loadedDesignPathOrServer,
FileLocation fileLocation,
String^ subDirToShow,
String^ fileName,
List<FileFormatFilter^>^ fileFilters
)
abstract Init :
loadedDesignPathOrServer : string *
fileLocation : FileLocation *
subDirToShow : string *
fileName : string *
fileFilters : List<FileFormatFilter> -> Task
- loadedDesignPathOrServer String
-
fileLocation="Design": Full Link including Server to the loaded design, e.g. https://elsp/websites/pcbi_design_lib/DesignData/15/15/cad_data.zip
fileLocation="Global": Optional: Path of the Server to load at startup (e.g. https://elsp/websites/pcbi_design_lib )
- fileLocation FileLocation
- Activate the "Design" or "Global" Tabpage at startup
- subDirToShow String
-
Subdirectory to open, e.g.:
fileLocation="Design": "NetGroups" to open https://elsp/websites/pcbi_design_lib/DesignData/15/15/Files/NetGroups
fileLocation="Global": "Scripts" to open https://elsp/websites/pcbi_design_lib/GlobalData/Scripts (Standard-Server or loadedDesignPath as basis)
Mid part of the link ("GlobalData" or "Files") depends on the Plugin itself
- fileName String
- Name of the file
- fileFilters ListFileFormatFilter
- Sorted List of file filters to show/filter
Task