Salome HOME
Issue #2998: Add help description for automatic creation of constraints
[modules/shaper.git] / src / FiltersPlugin / FiltersPlugin_OnLine.cpp
index d2e4384320237f5a635ad7d221fe6b2bfb27b53d..29dc5b4611386ad41ec49b0a679bc26e20b4b2e8 100644 (file)
@@ -79,20 +79,9 @@ bool FiltersPlugin_OnLine::isOk(const GeomShapePtr& theShape, const ResultPtr&,
   return false;
 }
 
-static std::string XMLRepresentation =
-"<filter id = \"OnLine\">"
-" <multi_selector id=\"OnLine__OnLine\""
-"   label=\"Lines:\""
-"   tooltip=\"Select vertices or segments.\""
-"   type_choice=\"edges\">"
-"   <validator id=\"GeomValidators_ShapeType\" parameters=\"line\"/>"
-" </multi_selector>"
-"</filter>";
-
-
 std::string FiltersPlugin_OnLine::xmlRepresentation() const
 {
-  return XMLRepresentation;
+  return xmlFromFile("filter-OnLine.xml");
 }
 
 void FiltersPlugin_OnLine::initAttributes(ModelAPI_FiltersArgs& theArguments)