From Optflux
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 6: | Line 6: | ||
= Global Structure of the plugin.xml file = | = Global Structure of the plugin.xml file = | ||
− | + | * The plugin.xml file begins with the declaration of the '''<plugin start=[value]''' tag. Here, '''[value]''' equals a boolean value (either '''true''' or '''false'''). '''We will use false as default'''. This value is only true for some core plug-ins since they will be loaded first by the plug-in engine. | |
− | |||
− | |||
− | |||
− | * The plugin.xml file begins with the declaration of the '''<plugin start= | ||
** All the information pertaining the plugin will be contained from this level on. | ** All the information pertaining the plugin will be contained from this level on. | ||
* The plug-in is terminated with the closing tag '''</plugin>''' | * The plug-in is terminated with the closing tag '''</plugin>''' | ||
Line 42: | Line 38: | ||
== Lifecycle == | == Lifecycle == | ||
− | The lifecycle section | + | The lifecycle section only rarely used when we need to change the default behavior of our plug-in. |
* It is declared as '''<lifecycleclass> ''[path.to.our.lifecycle.class]''</lifecycleclass>''' | * It is declared as '''<lifecycleclass> ''[path.to.our.lifecycle.class]''</lifecycleclass>''' | ||
Line 167: | Line 163: | ||
** '''/>''' - close the operation description | ** '''/>''' - close the operation description | ||
* '''</extension>''' - close the declaration of the new extension | * '''</extension>''' - close the declaration of the new extension | ||
− | |||
− | |||
− | |||
=== WORKBENCH: aibench.workbench.view (To declare new views or other graphical components) === | === WORKBENCH: aibench.workbench.view (To declare new views or other graphical components) === | ||
Several additions can be made to the workbench through this extension point. | Several additions can be made to the workbench through this extension point. | ||
− | |||
− | |||
==== Adding a new view for a datatype ==== | ==== Adding a new view for a datatype ==== | ||
Line 190: | Line 181: | ||
/> | /> | ||
</extension> | </extension> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==== Adding a new operation icon ==== | ==== Adding a new operation icon ==== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==== Adding a new datatype icon ==== | ==== Adding a new datatype icon ==== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==== Adding a custom-made GUI for an operation (override default dynamic generation of input dialog) ==== | ==== Adding a custom-made GUI for an operation (override default dynamic generation of input dialog) ==== | ||
− | |||
− |