You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -126,7 +128,7 @@ public synchronized void onPreviewOrderChanged(StepMovedEvent event) {
126
128
newLocation = this.previewedSockets.size();//Make it so it will be added to the end of the list of previews
127
129
}
128
130
this.previewedSockets.add(newLocation, current);//...add it to the correct location in the list of previews open
129
-
this.previewBox.getChildren().add(newLocation, SocketPreviewViewFactory.createPreviewView(current));//...and display it in the correct location in the list of previews open
131
+
this.previewBox.getChildren().add(newLocation, previewViewFactory.create(current));//...and display it in the correct location in the list of previews open
130
132
}
131
133
});
132
134
}
@@ -150,15 +152,15 @@ public synchronized void onSocketPreviewChanged(SocketPreviewChangedEvent event)
this.previewedSockets.add(indexInPreviews, socket);//...use this index to add it to the correct location in the list of previews open
153
-
this.previewBox.getChildren().add(indexInPreviews, SocketPreviewViewFactory.createPreviewView(socket));//...and display it in the correct location in the list of previews open in the gui
155
+
this.previewBox.getChildren().add(indexInPreviews, previewViewFactory.create(socket));//...and display it in the correct location in the list of previews open in the gui
154
156
155
157
} else {//This is a socket associated with a source and not a pipeline step...
156
158
157
159
//Find the appropriate index to add this preview with.
this.previewedSockets.add(indexInSourcePreviews, socket);//Add the preview to the appropriate place in the list of previewed sockets
161
-
this.previewBox.getChildren().add(indexInSourcePreviews, SocketPreviewViewFactory.createPreviewView(socket));//Display the preview in the appropriate place
163
+
this.previewBox.getChildren().add(indexInSourcePreviews, previewViewFactory.create(socket));//Display the preview in the appropriate place
162
164
}
163
165
}
164
166
} else {//The socket was already previewed, so the user must be requesting to not show this preview (remove both it and the corresponding control)
0 commit comments