|
@@ -11,7 +11,6 @@ import { wallService } from "../Service/WallService.js";
|
|
|
import { tagService } from "../Service/TagService.js";
|
|
|
import { tableService } from "../Service/TableService.js";
|
|
|
import Constant from "../Constant";
|
|
|
-import { addWall } from "../Controls/AddWall";
|
|
|
import { floorplanData } from "../FloorplanData.js";
|
|
|
import { signService } from "../Service/SignService.js";
|
|
|
import { customImageService } from "../Service/CustomImageService.js";
|
|
@@ -20,6 +19,13 @@ import { history } from "../History/History.js";
|
|
|
import { iconService } from "../Service/IconService.js";
|
|
|
import { bgImageService } from "../Service/BgImageService.js";
|
|
|
|
|
|
+import { addArrow } from "./AddArrow";
|
|
|
+import { addCircle } from "./AddCircle";
|
|
|
+import { addIcon } from "./AddIcon";
|
|
|
+import { addRectangle } from "./AddRectangle";
|
|
|
+import { addWall } from "./AddWall";
|
|
|
+import { moveWall } from "./MoveWall";
|
|
|
+
|
|
|
export default class UIControl {
|
|
|
constructor(layer) {
|
|
|
this.layer = layer;
|
|
@@ -560,5 +566,21 @@ export default class UIControl {
|
|
|
table.setValue(value);
|
|
|
this.layer.renderer.autoRedraw();
|
|
|
}
|
|
|
+
|
|
|
+ reSet(){
|
|
|
+ addArrow.clear();
|
|
|
+ addCircle.clear();
|
|
|
+ addIcon.clear();
|
|
|
+ addRectangle.clear();
|
|
|
+ addWall.clear();
|
|
|
+ moveWall.clear();
|
|
|
+ elementService.clear();
|
|
|
+ floorplanService.clear2();
|
|
|
+ historyService.clear();
|
|
|
+ iconService.clear();
|
|
|
+ signService.clear();
|
|
|
+ stateService.clear();
|
|
|
+ coordinate.clear2();
|
|
|
+ }
|
|
|
/******************************************************************************************************************************************************************/
|
|
|
}
|