Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid working with empty attributes in constraints of sketch solver
[modules/shaper.git]
/
src
/
ExchangePlugin
/
ExchangePlugin_Plugin.cpp
diff --git
a/src/ExchangePlugin/ExchangePlugin_Plugin.cpp
b/src/ExchangePlugin/ExchangePlugin_Plugin.cpp
index b37a0690623525edb7e7be443c9c5fa0c98c4ce6..58b214b47c96522dcfcf5df123e5f27b7e1251fe 100644
(file)
--- a/
src/ExchangePlugin/ExchangePlugin_Plugin.cpp
+++ b/
src/ExchangePlugin/ExchangePlugin_Plugin.cpp
@@
-1,3
+1,5
@@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
/*
*
*/
/*
*
*/
@@
-6,10
+8,12
@@
#include <ExchangePlugin_ImportFeature.h>
#include <ExchangePlugin_Validators.h>
#include <ExchangePlugin_ImportFeature.h>
#include <ExchangePlugin_Validators.h>
+#include <Config_PropManager.h>
+
#include <ModelAPI_Session.h>
#include <ModelAPI_Validator.h>
#include <ModelAPI_Session.h>
#include <ModelAPI_Validator.h>
-#include <
boost/smart_ptr/shared_ptr.hpp
>
+#include <
memory
>
using namespace std;
using namespace std;
@@
-24,6
+28,10
@@
ExchangePlugin_Plugin::ExchangePlugin_Plugin()
ModelAPI_ValidatorsFactory* aFactory = aSession->validators();
aFactory->registerValidator("ExchangePlugin_ImportFormat",
new ExchangePlugin_ImportFormatValidator);
ModelAPI_ValidatorsFactory* aFactory = aSession->validators();
aFactory->registerValidator("ExchangePlugin_ImportFormat",
new ExchangePlugin_ImportFormatValidator);
+
+ // register construction properties
+ //Config_PropManager::registerProp("Visualization", "import_feature_color", "Imported feature color",
+ // Config_Prop::Color, ExchangePlugin_ImportFeature::DEFAULT_COLOR());
}
FeaturePtr ExchangePlugin_Plugin::createFeature(string theFeatureID)
}
FeaturePtr ExchangePlugin_Plugin::createFeature(string theFeatureID)