X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Line.h;h=05d94cc65e59bd582bd6290920a1d7820d995e4a;hb=a24b7e6f4d112d5e7889fd76f030298fc428cd01;hp=850d17e4a23e15b13ab3f7fd82cd1b9f69bf37c6;hpb=d4a163b94d27eddb09d6bbe1cec96c9c25042282;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Line.h b/src/SketchPlugin/SketchPlugin_Line.h index 850d17e4a..05d94cc65 100644 --- a/src/SketchPlugin/SketchPlugin_Line.h +++ b/src/SketchPlugin/SketchPlugin_Line.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D --> + // File: SketchPlugin_Line.h // Created: 24 Apr 2014 // Author: Mikhail PONIKAROV @@ -6,15 +8,15 @@ #define SketchPlugin_Line_H_ #include "SketchPlugin.h" -#include +#include #include #include /**\class SketchPlugin_Line - * \ingroup DataModel + * \ingroup Plugins * \brief Feature for creation of the new part in PartSet. */ -class SketchPlugin_Line : public SketchPlugin_Feature +class SketchPlugin_Line : public SketchPlugin_SketchEntity { public: /// Arc feature kind @@ -52,12 +54,6 @@ class SketchPlugin_Line : public SketchPlugin_Feature /// Request for initialization of data model of the feature: adding all attributes SKETCHPLUGIN_EXPORT virtual void initAttributes(); - /// Returns the AIS preview - SKETCHPLUGIN_EXPORT virtual AISObjectPtr getAISObject(AISObjectPtr thePrevious) - { - return simpleAISObject(firstResult(), thePrevious); - } - /// Moves the feature /// \param theDeltaX the delta for X coordinate is moved /// \param theDeltaY the delta for Y coordinate is moved