#include <ImportPlugin.h>
Definition at line 24 of file ImportPlugin.h.
◆ ~ImportPlugin()
virtual ImportPlugin::~ImportPlugin |
( |
| ) |
|
|
virtualdefault |
◆ getCompatibilityWarnings()
virtual QString ImportPlugin::getCompatibilityWarnings |
( |
| ) |
const |
|
pure virtual |
Returns a compatibility warning concerning the import plugin usage. Can be empty.
- Returns
- The warning text.
◆ getComponentName()
virtual QString ImportPlugin::getComponentName |
( |
QString const & | componentDeclaration | ) |
const |
|
pure virtual |
Get the name of the selected component declaration.
- Parameters
-
[in] | componentDeclaration | The selected component declaration. |
- Returns
- Name of the selected component declaration.
◆ getFileComponents()
virtual QStringList ImportPlugin::getFileComponents |
( |
QString const & | input | ) |
const |
|
pure virtual |
Get component declarations from the selected input file.
- Parameters
-
[in] | input | The selected input file. |
- Returns
- List of component declarations found in the selected input.
◆ getSupportedFileTypes()
virtual QStringList ImportPlugin::getSupportedFileTypes |
( |
| ) |
const |
|
pure virtual |
Returns the file types supported by the plugin.
- Returns
- The file types the import plugin supports.
◆ import()
virtual void ImportPlugin::import |
( |
QString const & | input, |
|
|
QString const & | componentDeclaration, |
|
|
QSharedPointer< Component > | targetComponent ) |
|
pure virtual |
Runs the import by parsing the given input and applying the parsed elements to the given component.
- Parameters
-
[in] | input | The input text to parse. |
[in] | componentDeclaration | Declaration of the selected component. |
[in] | targetComponent | The component to apply all imported changes to. |
The documentation for this class was generated from the following file: