Public Member Functions | |
| long | process (in tmozIDomain domain, in AString contextName, in tmozIViewObject inputFile, in tmozIInputPluginResult result, in tmozIException tmozException) |
| Process one file. | |
Public Attributes | |
| const long | IPR_ERROR = 0 |
| Error in plugin. | |
| const long | IPR_OK = 1 |
| File is ok. | |
| const long | IPR_FORBIDDEN = 2 |
| File is forbidden. | |
| const long | IPR_CANCEL = 3 |
| Operation was canceled. | |
| const long | IPR_TRANSFORMED = 4 |
| File was transformed. | |
| readonly attribute AString | name |
| User visible name of plugin. | |
| readonly attribute AString | description |
| Descirption of the plugin main function. | |
| readonly attribute AString | configDialogUrl |
| URL of dialog for plugin configuration. | |
Input plugins are used by Input plugin manager (tmozIInputPluginManager) to check if file can be add or if need some transformation.
| long process | ( | in tmozIDomain | domain, | |
| in AString | contextName, | |||
| in tmozIViewObject | inputFile, | |||
| in tmozIInputPluginResult | result, | |||
| in tmozIException | tmozException | |||
| ) |
Process one file.
Function process one item in the plugin.
| domain | Domain where to import files | |
| contextName | Context | |
| inputFile | Input object | |
| result | Object to receive results | |
| tmozException | Exception object |
IPR_ERROR error in plugin IPR_OK item confirmed IPR_FORBIDDEN item is forbidden - cannot be add IPR_CANCEL adding was canceled IPR_TRANSFORMED item was transformed.
| readonly attribute AString configDialogUrl |
URL of dialog for plugin configuration.
Plugin can return empty URL if there is no configuration.
| const long IPR_CANCEL = 3 |
Operation was canceled.
User pressed cancel button.
| const long IPR_FORBIDDEN = 2 |
File is forbidden.
Forbidden items should not be add
| const long IPR_OK = 1 |
File is ok.
File is ok and can be add.