//Specific widget containers
const static char* WDG_POINT_SELECTOR = "point_selector";
+ const static char* WDG_POINT2D_DISTANCE = "point2ddistance";
+
const static char* WDG_FEATURE_SELECTOR = "feature_selector";
+const static char* WDG_DOUBLEVALUE_EDITOR = "doublevalue_editor";
const static char* _ID = "id";
//const static char* WORKBENCH_ID = "id";
} else if (theType == WDG_FEATURE_SELECTOR) {
result = featureSelectorControl(theParent);
+ } else if (theType == WDG_DOUBLEVALUE_EDITOR) {
+ result = doubleValueEditor(theParent);
++
+ } else if (theType == WDG_POINT2D_DISTANCE) {
+ result = point2dDistanceControl(theParent);
}
else if (myWidgetApi->isContainerWidget() || myWidgetApi->isPagedWidget()) {
bool PartSet_OperationFeatureCreate::canProcessKind(const std::string& theId)
{
- return theId == SKETCH_LINE_KIND || theId == SKETCH_POINT_KIND /*||
- theId == SKETCH_CONSTRAINT_DISTANCE_KIND*/ || theId == SKETCH_CIRCLE_KIND /*||
+ return theId == SKETCH_LINE_KIND || theId == SKETCH_POINT_KIND ||
- theId == SKETCH_CONSTRAINT_DISTANCE_KIND/*|| theId == SKETCH_CIRCLE_KIND ||
++ theId == SKETCH_CONSTRAINT_DISTANCE_KIND || theId == SKETCH_CIRCLE_KIND /*||
theId == SKETCH_ARC_KIND*/;
}