Skip to content

Commit

Permalink
Move methods to interactive editor base class. Closes #1967 (#1968)
Browse files Browse the repository at this point in the history
  • Loading branch information
brollb committed Nov 3, 2020
1 parent ffc4b10 commit 6ed7f2d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,11 @@ define([
}

/* * * * * * * * Visualizer life cycle callbacks * * * * * * * */
onResize(width, height) {
this.logger.debug('onResize --> width: ' + width + ', height: ' + height);
this._widget.onWidgetContainerResize(width, height);
}

destroy () {
this._detachClientEventListeners();
this._widget.destroy();
Expand Down
5 changes: 0 additions & 5 deletions src/visualizers/panels/TrainKeras/TrainKerasPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ define([

}

onResize(width, height) {
this.logger.debug('onResize --> width: ' + width + ', height: ' + height);
this.widget.onWidgetContainerResize(width, height);
}

/* * * * * * * * Visualizer life cycle callbacks * * * * * * * */
destroy() {
this.control.destroy();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,15 @@ define([
}
}

addNode(/*desc*/) {
}

updateNode(/*desc*/) {
}

removeNode(/*gmeId*/) {
}

onActivate() {
}

Expand Down

0 comments on commit 6ed7f2d

Please sign in to comment.