@@ -5,7 +5,7 @@ const BUTTON_SIZE = 50;
5
5
const BUTTON_SPACING = 10 ;
6
6
const NODE_INPUTS_WIDTH = 200 ;
7
7
8
- qx . Class . define ( "qxapp.components .workbench.WorkbenchView" , {
8
+ qx . Class . define ( "qxapp.component .workbench.WorkbenchView" , {
9
9
extend : qx . ui . container . Composite ,
10
10
11
11
construct : function ( workbenchModel ) {
@@ -44,7 +44,7 @@ qx.Class.define("qxapp.components.workbench.WorkbenchView", {
44
44
} ) ;
45
45
46
46
this . setWorkbenchModel ( workbenchModel ) ;
47
- this . __svgWidget = new qxapp . components . workbench . SvgWidget ( "SvgWidgetLayer" ) ;
47
+ this . __svgWidget = new qxapp . component . workbench . SvgWidget ( "SvgWidgetLayer" ) ;
48
48
// this gets fired once the widget has appeared and the library has been loaded
49
49
// due to the qx rendering, this will always happen after setup, so we are
50
50
// sure to catch this event
@@ -96,7 +96,7 @@ qx.Class.define("qxapp.components.workbench.WorkbenchView", {
96
96
let x = pointerEvent . getViewportLeft ( ) - this . getBounds ( ) . left ;
97
97
let y = pointerEvent . getViewportTop ( ) - navBarHeight ;
98
98
99
- let srvCat = new qxapp . components . workbench . servicesCatalogue . ServicesCatalogue ( ) ;
99
+ let srvCat = new qxapp . component . workbench . servicesCatalogue . ServicesCatalogue ( ) ;
100
100
srvCat . moveTo ( x , y ) ;
101
101
srvCat . open ( ) ;
102
102
let pos = {
@@ -143,7 +143,7 @@ qx.Class.define("qxapp.components.workbench.WorkbenchView", {
143
143
height : BUTTON_SIZE
144
144
} ) ;
145
145
plusButton . addListener ( "execute" , function ( ) {
146
- let srvCat = new qxapp . components . workbench . servicesCatalogue . ServicesCatalogue ( ) ;
146
+ let srvCat = new qxapp . component . workbench . servicesCatalogue . ServicesCatalogue ( ) ;
147
147
srvCat . center ( ) ;
148
148
srvCat . open ( ) ;
149
149
srvCat . addListener ( "AddService" , function ( e ) {
@@ -241,7 +241,7 @@ qx.Class.define("qxapp.components.workbench.WorkbenchView", {
241
241
__createNodeUI : function ( nodeId ) {
242
242
let nodeModel = this . getWorkbenchModel ( ) . getNodeModel ( nodeId ) ;
243
243
244
- let nodeBase = new qxapp . components . workbench . NodeBase ( nodeModel ) ;
244
+ let nodeBase = new qxapp . component . workbench . NodeBase ( nodeModel ) ;
245
245
nodeBase . createNodeLayout ( ) ;
246
246
nodeBase . populateNodeLayout ( ) ;
247
247
this . __createDragDropMechanism ( nodeBase ) ;
@@ -334,7 +334,7 @@ qx.Class.define("qxapp.components.workbench.WorkbenchView", {
334
334
let posX = this . __pointerPosX ;
335
335
let posY = this . __pointerPosY ;
336
336
if ( this . __tempLinkNodeId === dragNodeId ) {
337
- let srvCat = new qxapp . components . workbench . servicesCatalogue . ServicesCatalogue ( ) ;
337
+ let srvCat = new qxapp . component . workbench . servicesCatalogue . ServicesCatalogue ( ) ;
338
338
if ( this . __tempLinkIsInput === true ) {
339
339
srvCat . setContext ( dragNodeId , this . getNodeUI ( dragNodeId ) . getInputPort ( ) ) ;
340
340
} else {
@@ -363,7 +363,7 @@ qx.Class.define("qxapp.components.workbench.WorkbenchView", {
363
363
} ,
364
364
365
365
__createInputNodeUI : function ( inputNodeModel ) {
366
- let nodeInput = new qxapp . components . widgets . NodeInput ( inputNodeModel ) ;
366
+ let nodeInput = new qxapp . component . widget . NodeInput ( inputNodeModel ) ;
367
367
nodeInput . populateNodeLayout ( ) ;
368
368
this . __createDragDropMechanism ( nodeInput ) ;
369
369
this . __inputNodesLayout . add ( nodeInput , {
@@ -430,7 +430,7 @@ qx.Class.define("qxapp.components.workbench.WorkbenchView", {
430
430
const y2 = pointList [ 1 ] ? pointList [ 1 ] [ 1 ] : 0 ;
431
431
let linkRepresentation = this . __svgWidget . drawCurve ( x1 , y1 , x2 , y2 ) ;
432
432
433
- let link = new qxapp . components . workbench . LinkBase ( linkRepresentation ) ;
433
+ let link = new qxapp . component . workbench . LinkBase ( linkRepresentation ) ;
434
434
link . setInputNodeId ( node1 . getNodeId ( ) ) ;
435
435
link . setOutputNodeId ( node2 . getNodeId ( ) ) ;
436
436
link . setLinkId ( linkId ) ;
0 commit comments