Salome HOME
Merge Dev_2.1.0 with PythonAPI branch
[modules/shaper.git] / src / ConnectorPlugin / ConnectorPlugin.py
index b532bbd7c3179449fef0c4d576c8d002717411dd..345e4f8c0d03a3dc915ef605f8974692b9990f8a 100644 (file)
@@ -1,25 +1,29 @@
-"""
-Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-"""
+## @package Plugins
+#  Python plugin for exporting entities into Salome's GEOM module
+#  Copyright (C) 2014-20xx CEA/DEN, EDF R&D
 
 import ModelAPI
 
 from ConnectorPlugin_ExportFeature import ExportFeature
 
-
+## @ingroup Plugins
+#  The main class for management the construction features as plugin.
 class ConnectorPlugin(ModelAPI.ModelAPI_Plugin):
 
+    ## The constructor.
     def __init__(self):
         ModelAPI.ModelAPI_Plugin.__init__(self)
         pass
 
+    ## Creates the feature objects of this plugin by the feature string ID.
     def createFeature(self, theFeatureID):
         if theFeatureID == ExportFeature.ID():
             return ExportFeature().__disown__()
         else:
             print "ConnectorPlugin: No such feature %s" % theFeatureID
 
+## The plugin created on module importing (from c++)
 plugin = ConnectorPlugin()
+## Main session of the application
 aSession = ModelAPI.ModelAPI_Session.get()
-print "Module loaded. Session", aSession
 aSession.registerPlugin(plugin)