fcs-core-viewer 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -108,10 +108,16 @@ export declare class BackendEvents implements IBackendEvents {
108
108
  guidCallbackDictionary: {
109
109
  [key: string]: Function;
110
110
  };
111
+ /**
112
+ * Singleton methods
113
+ */
114
+ private static _instance;
115
+ static getBackendEvents(): BackendEvents;
116
+ static constructBackendEvents(licenseToken: string, sceneWrapper: SceneWrapper, meshWrapper: MeshWrapper, loader: Loader, appearance: Appearance, treeView: TreeView, treeOperations: TreeOperations, taskUtilities: TaskUtils, options: Options, translate: Translate, measurement: Measurement, addTreeItem: AddTreeItem): BackendEvents;
111
117
  /**
112
118
  * Constructor.
113
119
  */
114
- constructor(licenseToken: string, sceneWrapper: SceneWrapper, meshWrapper: MeshWrapper, loader: Loader, appearance: Appearance, treeView: TreeView, treeOperations: TreeOperations, taskUtilities: TaskUtils, options: Options, translate: Translate, measurement: Measurement, addTreeItem: AddTreeItem);
120
+ private constructor();
115
121
  /**
116
122
  * Saves the backend service and will be able to invoke the
117
123
  * 'OnFinished' method on call back from backend service.
@@ -131,7 +137,7 @@ export declare class BackendEvents implements IBackendEvents {
131
137
  /**
132
138
  * Registers all available event listeners.
133
139
  */
134
- private _registerEventListeners;
140
+ RegisterEventListeners(): void;
135
141
  /**
136
142
  * Miutan egyszer elinditottuk a scheduler funkciot, while ciklussal menjunk vegig a array-en,
137
143
  * melyet a backend-bol jovo request-ek folyamatosan toltenek fel feladatokkal.
@@ -183,7 +189,7 @@ export declare class BackendEvents implements IBackendEvents {
183
189
  * @param data
184
190
  * @returns
185
191
  */
186
- private add_empty_item;
192
+ private add_folder;
187
193
  add_to_document(data: BackendInstructions): Promise<TaskExecutionResponse>;
188
194
  set_object_color(data: BackendInstructions): Promise<TaskExecutionResponse>;
189
195
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fcs-core-viewer",
3
- "version": "0.3.1",
3
+ "version": "0.4.0",
4
4
  "description": "3D Viewer in the Cloud",
5
5
  "author": {
6
6
  "name": "Femsolve Kft."