This commit is contained in:
Luis Fernando Molina committed 2020-10-18 20:42:41 +02:00
1 parent 7ff2bb62d5
commit 0652aebf47
12 files changed
+108 -16

No files matched your search

@@ -6,7 +6,7 @@ changes, then all charts in it are replotted with the corresponging data.
*/
function newChartingSpace() {
function newSuperalgosChartingSpace() {
const MODULE_NAME = 'Charting Space'
const ERROR_LOG = true
const logger = newWebDebugLog()
@@ -1,4 +1,4 @@
function newChatSpace() {
function newSuperalgosChatSpace() {
const MODULE_NAME = 'Chat Space'
let thisObject = {
sidePanelTab: undefined,
@@ -1,5 +1,5 @@
function newCockpitSpace() {
function newSuperalgosCockpitSpace() {
const MODULE_NAME = 'CockpitSpace'
const STATUS_TYPES = {
ALL_GOOD: 1,
@@ -1,5 +1,5 @@
function newDesignSpace() {
function newSuperalgosDesignSpace() {
const MODULE_NAME = 'Designe Space'
let thisObject = {
container: undefined,
@@ -38,8 +38,8 @@ function newDesignSpace() {
function buildIconByProjectAndTypeMap() {
/* Take types-icons relationships defined at the schema */
for (let i = 0; i < PROJECTS.length; i++) {
let project = PROJECTS[i]
for (let i = 0; i < PROJECTS_ARRAY.length; i++) {
let project = PROJECTS_ARRAY[i]
let appSchema = SCHEMAS_BY_PROJECT.get(project).array.appSchema
for (let j = 0; j < appSchema.length; j++) {
let nodeDefinition = appSchema[j]
@@ -65,8 +65,8 @@ function newWorkspace() {
function initialize() {
try {
/* Set up the action switches map */
for (let i = 0; i < PROJECTS.length; i++) {
let project = PROJECTS[i]
for (let i = 0; i < PROJECTS_ARRAY.length; i++) {
let project = PROJECTS_ARRAY[i]
let actionSwitch = eval('new' + project + 'ActionSwitch()')
actionSwitchesByProject.set(project, actionSwitch)
}
@@ -1,4 +1,4 @@
function newDocSpace() {
function newSuperalgosDocSpace() {
const MODULE_NAME = 'Doc Space'
let thisObject = {
sidePanelTab: undefined,
@@ -1,5 +1,5 @@
function newFloatingSpace() {
function newSuperalgosFloatingSpace() {
const MODULE_NAME = 'Floating Space'
const ERROR_LOG = true
/*
@@ -127,7 +127,7 @@ function newFloatingSpace() {
thisObject.uiObjectConstructor.initialize(thisObject.floatingLayer)
onDragStartedEventSubscriptionId = thisObject.container.eventHandler.listenToEvent('onDragStarted', onDragStarted)
spaceFocusAquiredEventSubscriptionId = canvas.floatingSpace.container.eventHandler.listenToEvent('onFocusAquired', someoneAquiredFocus)
spaceFocusAquiredEventSubscriptionId = thisObject.container.eventHandler.listenToEvent('onFocusAquired', someoneAquiredFocus)
}
function someoneAquiredFocus(floatingObject) {
@@ -3,8 +3,7 @@
The Panel Space y the place wehre all panels live, no matter who create them.
*/
function newPanelSpace() {
function newSuperalgosPanelSpace() {
let thisObject = {
visible: true,
container: undefined,
@@ -1,4 +1,4 @@
function newSideSpace() {
function newSuperalgosSideSpace() {
const MODULE_NAME = 'Side Space'
let thisObject = {
sidePanelTab: undefined,
@@ -1,5 +1,5 @@
function newTopSpace() {
function newSuperalgosTopSpace() {
let thisObject = {
container: undefined,
draw: draw,
@@ -1,4 +1,4 @@
function newTutorialSpace() {
function newSuperalgosTutorialSpace() {
const MODULE_NAME = 'Tutorial Space'
let thisObject = {
stop: stop,