X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConnectorPlugin%2FConnectorPlugin.py;h=2f628ab66dc85e37b9ba8934e294db73ace5f4f7;hb=88ee9b2b81cf93a6324336b57e30cc8a3a487499;hp=f16adee55871b3ad29316e9a96c67ca254acbae3;hpb=6e421e939851e0de46554ae45a3ca0e1f67cd91d;p=modules%2Fshaper.git diff --git a/src/ConnectorPlugin/ConnectorPlugin.py b/src/ConnectorPlugin/ConnectorPlugin.py index f16adee55..2f628ab66 100644 --- a/src/ConnectorPlugin/ConnectorPlugin.py +++ b/src/ConnectorPlugin/ConnectorPlugin.py @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2019 CEA/DEN, EDF R&D +# Copyright (C) 2014-2022 CEA/DEN, EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -23,6 +23,7 @@ import ModelAPI from ConnectorPlugin_ExportFeature import ExportFeature +from ConnectorPlugin_PublishToStudyFeature import PublishToStudyFeature ## @ingroup Plugins # The main class for management the construction features as plugin. @@ -37,6 +38,8 @@ class ConnectorPlugin(ModelAPI.ModelAPI_Plugin): def createFeature(self, theFeatureID): if theFeatureID == ExportFeature.ID(): return ExportFeature().__disown__() + elif theFeatureID == PublishToStudyFeature.ID(): + return PublishToStudyFeature().__disown__() else: print("ConnectorPlugin: No such feature %s" % theFeatureID)