IPluginOpenFileControlInit Method

Init the File Open Plugin

Definition

Namespace: PCBI.Plugin.Interfaces
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
Task Init(
	string loadedDesignPathOrServer,
	FileLocation fileLocation,
	string subDirToShow,
	List<FileFormatFilter> fileFilters
)

Parameters

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
fileFilters  ListFileFormatFilter
Sorted List of file filters to show/filter

Return Value

Task

See Also