Click or drag to resize

CTExtensions.Interfaces Namespace

 
Classes
 ClassDescription
Public classCode exampleDrawingCreatorExtension Base implementation of interface type ctExtensionInterfaceDrawingCreator. Must implement at least GetParent. Override GetInterface2(ctExtensionInterface) in your extension and return your implementation of this interface when requested type is ctExtensionInterfaceDrawingCreator. This enables your extension to be attached to drawing creation rules.
Public classCode exampleExportTypeExtension Base implementation of interface type ctExtensionInterfaceIExportType. Must implement at least GetParent. Override GetInterface2(ctExtensionInterface) in your extension and return your implementation of this interface when requested type is ctExtensionInterfaceIExportType. This enables your extension as new export profile type.
Public classFileHandlerExtension Base implementation of interface type ctExtensionInterfaceFileHandler. Must implement at least GetParent. Override GetInterface2(ctExtensionInterface) in your extension and return your implementation of this interface when requested type is ctExtensionInterfaceFileHandler.
Public classCode exampleMatrixDataProviderExtension Base implementation of interface type ctExtensionInterfaceMatrixDataProvider. Must implement at least GetParent. Override GetInterface2(ctExtensionInterface) in your extension and return your implementation of this interface when requested type is ctExtensionInterfaceMatrixDataProvider. This extension allows overriding Revision and CustomScope data; i.e. to return data for them from a scripted source.
Protected classMatrixDataProviderExtensionMatrixData Helper class to be used with OverrideMatrixData(String, String, ctPropertyScope, String, String).
Public classObjectEditGuard Base implementation of interface type ctExtensionInterfaceObjectEditGuard. Must implement at least GetParent. Override GetInterface2(ctExtensionInterface) in your extension and return your implementation of this interface when requested type is ctExtensionInterfaceObjectEditGuard.
Public classCode exampleProfileOptionsExtension Base implementation of interface type ctExtensionInterfaceProfileSettings. Inheritant must implement at least GetParent, CreateControl, LoadData(Byte), GetSaveData(Boolean), Validate and Refresh. Override GetInterface2(ctExtensionInterface) in your extension and return your implementation of this class when requested type is ctExtensionInterfaceProfileSettings. This wiil add your extension to CUSTOMTOOLS' profile options page.
Public classCode exampleSequenceExtension Provides way to implement an extension to CUSTOMTOOLS sequence making it possible to implement custom sequence number generator. This can be used for instance to implement logic to generate a number from number series generator of an external system such as from ERP.
Public classUserOptionsExtension Base implementation of interface type ctExtensionInterfaceUserSettings. Inheritant must implement at least GetParent, CreateControl, LoadData(Byte), GetSaveData(Boolean), Validate and Refresh. Override GetInterface2(ctExtensionInterface) in your extension and return your implementation of this class when requested type is ctExtensionInterfaceUserSettings. This will add your extension to CUSTOMTOOLS' User options page.
Interfaces
 InterfaceDescription
Public interfaceIClassFactory Class Factory interface
Public interfaceIExtensionInterface This interface is just a type specifier and has no functions. Other interfaces at CTExtensions.Interfaces actully are abstracts classes that defalt-implement corresponding core interfaces.
Public interfaceMatrixDataProviderExtensionMatrixDataIRowData A row of matrix data.