|
Revision 1348, 0.6 kB
(checked in by arj..@yirdis.nl, 2 years ago)
|
Added XMI export plugin.
|
| Line | |
|---|
| 1 |
""" |
|---|
| 2 |
Plugins |
|---|
| 3 |
======= |
|---|
| 4 |
|
|---|
| 5 |
This module contains a bunch of standard plugins. |
|---|
| 6 |
Plugins can be registered in Gaphor by declaring them as service entry point:: |
|---|
| 7 |
|
|---|
| 8 |
entry_points = { |
|---|
| 9 |
'gaphor.services': [ |
|---|
| 10 |
'xmi_export = gaphor.plugins.xmiexport:XMIExport', |
|---|
| 11 |
], |
|---|
| 12 |
}, |
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
There is a thin line between a service and a plugin. A service typically performs some basic need for the applications (such as the element factory or the undo mechanism). A plugin is more of an add-on. For example a plugin can depend on external libraries or provide a cross-over function between two applications. |
|---|
| 16 |
|
|---|
| 17 |
""" |
|---|
| 18 |
|
|---|