Spaces
This commit is contained in:
1 parent
7ff2bb62d5
commit
0652aebf47
12 files changed
+108
-16
No files matched your search
@@ -0,0 +1,93 @@
|
||||
[
|
||||
{
|
||||
"name": "Superalgos",
|
||||
"propertyName": "superalgos",
|
||||
"spaces": [
|
||||
{
|
||||
"name": "Floating Space",
|
||||
"folderName": "Floating-Space",
|
||||
"propertyName": "floatingSpace",
|
||||
"functionName": "newSuperalgosFloatingSpace",
|
||||
"initializationIndex": 0,
|
||||
"animationIndex": 1
|
||||
},
|
||||
{
|
||||
"name": "Top Space",
|
||||
"folderName": "Top-Space",
|
||||
"propertyName": "topSpace",
|
||||
"functionName": "newSuperalgosTopSpace",
|
||||
"initializationIndex": 1,
|
||||
"animationIndex": 1
|
||||
},
|
||||
{
|
||||
"name": "Cockpit Space",
|
||||
"folderName": "Cocksit-Space",
|
||||
"propertyName": "cockpitSpace",
|
||||
"functionName": "newSuperalgosCockpitSpace",
|
||||
"initializationIndex": 2,
|
||||
"animationIndex": 0
|
||||
},
|
||||
{
|
||||
"name": "Design Space",
|
||||
"folderName": "Design-Space",
|
||||
"propertyName": "designSpace",
|
||||
"functionName": "newSuperalgosDesignSpace",
|
||||
"initializationIndex": 3,
|
||||
"animationIndex": 3
|
||||
},
|
||||
{
|
||||
"name": "Panel Space",
|
||||
"folderName": "Panel-Space",
|
||||
"propertyName": "panelSpace",
|
||||
"functionName": "newSuperalgosPanelSpace",
|
||||
"initializationIndex": 4,
|
||||
"animationIndex": 4
|
||||
},
|
||||
{
|
||||
"name": "Charting Space",
|
||||
"folderName": "Charting-Space",
|
||||
"propertyName": "chartingSpace",
|
||||
"functionName": "newSuperalgosChartingSpace",
|
||||
"initializationIndex": 5,
|
||||
"animationIndex": 2
|
||||
},
|
||||
{
|
||||
"name": "Side Space",
|
||||
"folderName": "Floating-Space",
|
||||
"propertyName": "sideSpace",
|
||||
"functionName": "newSuperalgosFloatingSpace",
|
||||
"initializationIndex": 6,
|
||||
"animationIndex": 5
|
||||
},
|
||||
{
|
||||
"name": "Doc Space",
|
||||
"folderName": "Doc-Space",
|
||||
"propertyName": "docSpace",
|
||||
"functionName": "newSuperalgosDocSpace",
|
||||
"initializationIndex": 7,
|
||||
"animationIndex": 6
|
||||
},
|
||||
{
|
||||
"name": "Chat Space",
|
||||
"folderName": "Chat-Space",
|
||||
"propertyName": "chatSpace",
|
||||
"functionName": "newSuperalgosChatSpace",
|
||||
"initializationIndex": 8,
|
||||
"animationIndex": 7
|
||||
},
|
||||
{
|
||||
"name": "Tutorial Space",
|
||||
"folderName": "Tutorial-Space",
|
||||
"propertyName": "tutorialSpace",
|
||||
"functionName": "newSuperalgosTutorialSpace",
|
||||
"initializationIndex": 9,
|
||||
"animationIndex": 8
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Ethereum",
|
||||
"propertyName": "ethereum",
|
||||
"spaces": []
|
||||
}
|
||||
]
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user