]> SALOME platform Git repositories - modules/shaper.git/blob - src/SketchShapePlugin/SketchShapePlugin_Feature.cpp
Salome HOME
71f918cd2b61523cee8152eda1720e93e59b0f8b
[modules/shaper.git] / src / SketchShapePlugin / SketchShapePlugin_Feature.cpp
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
2
3 // File:        SketchShapePlugin_Feature.cpp
4 // Created:     25 Nov 2015
5 // Author:      Natalia ERMOLAEVA
6
7 #include "SketchShapePlugin_Feature.h"
8
9 #include <ModelAPI_AttributeSelection.h>
10 #include <ModelAPI_AttributeSelectionList.h>
11 #include <ModelAPI_AttributeBoolean.h>
12
13 SketchShapePlugin_Feature::SketchShapePlugin_Feature()
14 : ModelAPI_Feature()
15 {
16 }
17
18 void SketchShapePlugin_Feature::initAttributes()
19 {
20   data()->addAttribute(SKETCH_ID(), ModelAPI_AttributeSelection::typeId());
21   data()->addAttribute(VERTEX_LIST_ID(), ModelAPI_AttributeSelectionList::typeId());
22   data()->addAttribute(VERTEX_CHOICE_ID(), ModelAPI_AttributeBoolean::typeId());
23 }
24
25 void SketchShapePlugin_Feature::execute()
26 {
27 }
28
29 void SketchShapePlugin_Feature::attributeChanged(const std::string& theID)
30 {
31 }
32