delete polyline;
}
+/*virtual*/ RS2::ActionType ActionDrawPolyline::rtti()
+{
+ return RS2::ActionDrawPolyline;
+}
+
void ActionDrawPolyline::trigger()
{
if (polyline)
DIALOGFACTORY->requestToolBar(RS2::ToolBarPolylines);
}
+void ActionDrawPolyline::showOptions()
+{
+ DEBUG->print("ActionDrawPolyline::showOptions");
+ ActionInterface::showOptions();
+ DIALOGFACTORY->requestOptions(this, true);
+ DEBUG->print("ActionDrawPolyline::showOptions: OK");
+}
+
+void ActionDrawPolyline::hideOptions()
+{
+ ActionInterface::hideOptions();
+ DIALOGFACTORY->requestOptions(this, false);
+}
+
void ActionDrawPolyline::close()
{
#if 0