Panels with no coding
This commit is contained in:
1 parent
de56425e84
commit
d3a5e40948
12 files changed
+3
-196
No files matched your search
@@ -345,10 +345,6 @@ function newUiObject () {
|
||||
compatibleTypes = '->' + 'Plotter' + '->'
|
||||
compatibleSubTypes = undefined
|
||||
break
|
||||
case 'Plotter Panel':
|
||||
compatibleTypes = '->' + 'Plotter Module' + '->'
|
||||
compatibleSubTypes = undefined
|
||||
break
|
||||
case 'Trading System':
|
||||
compatibleTypes = '->' + 'Definition' + '->'
|
||||
compatibleSubTypes = undefined
|
||||
|
||||
@@ -1657,7 +1657,7 @@ function newUiObjectConstructor () {
|
||||
)
|
||||
menuItemsInitialValues.push(
|
||||
{
|
||||
action: 'Add Plotter Panel',
|
||||
action: 'Add UI Object',
|
||||
actionFunction: payload.onMenuItemClick,
|
||||
label: 'Add Plotter Panel',
|
||||
visible: true,
|
||||
@@ -1700,55 +1700,6 @@ function newUiObjectConstructor () {
|
||||
)
|
||||
break
|
||||
}
|
||||
case 'Plotter Panel': {
|
||||
addLeftIcons(menuItemsInitialValues, floatingObject)
|
||||
menuItemsInitialValues.push(
|
||||
{
|
||||
action: 'Add Code',
|
||||
disableIfPropertyIsDefined: true,
|
||||
propertyToCheckFor: 'code',
|
||||
actionFunction: payload.onMenuItemClick,
|
||||
label: 'Add Code',
|
||||
visible: true,
|
||||
relatedUiObject: 'Javascript Code',
|
||||
rawRadius: 8,
|
||||
targetRadius: 0,
|
||||
currentRadius: 0,
|
||||
angle: -30
|
||||
}
|
||||
)
|
||||
menuItemsInitialValues.push(
|
||||
{
|
||||
action: 'Delete Plotter Panel',
|
||||
askConfirmation: true,
|
||||
confirmationLabel: 'Confirm to Delete',
|
||||
actionFunction: payload.onMenuItemClick,
|
||||
label: 'Delete Plotter Panel',
|
||||
visible: true,
|
||||
iconPathOn: 'delete',
|
||||
iconPathOff: 'delete',
|
||||
rawRadius: 8,
|
||||
targetRadius: 0,
|
||||
currentRadius: 0,
|
||||
angle: 0
|
||||
}
|
||||
)
|
||||
menuItemsInitialValues.push(
|
||||
{
|
||||
action: 'Share',
|
||||
actionFunction: payload.onMenuItemClick,
|
||||
label: 'Share',
|
||||
visible: true,
|
||||
iconPathOn: 'menu-share',
|
||||
iconPathOff: 'menu-share',
|
||||
rawRadius: 8,
|
||||
targetRadius: 0,
|
||||
currentRadius: 0,
|
||||
angle: 30
|
||||
}
|
||||
)
|
||||
break
|
||||
}
|
||||
case 'Network': {
|
||||
addLeftIcons(menuItemsInitialValues, floatingObject)
|
||||
menuItemsInitialValues.push(
|
||||
@@ -4864,10 +4815,6 @@ function newUiObjectConstructor () {
|
||||
level_2()
|
||||
break
|
||||
}
|
||||
case 'Plotter Panel': {
|
||||
level_3()
|
||||
break
|
||||
}
|
||||
case 'Network': {
|
||||
level_1()
|
||||
break
|
||||
|
||||
@@ -93,10 +93,6 @@ function newUiObjectTitle () {
|
||||
thisObject.allwaysVisible = true
|
||||
break
|
||||
}
|
||||
case 'Plotter Panel': {
|
||||
thisObject.allwaysVisible = true
|
||||
break
|
||||
}
|
||||
case 'Network': {
|
||||
thisObject.allwaysVisible = true
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user